Arc Wang
7b1aded2a6
[Wi-Fi] Apply WifiTrackerLib objects in Wi-Fi Slice
...
This change uses WifiTrackerLib's WifiPickerTracker & WifiEntry
to replace SettingLib's WifiTracker & AccessPoint.
This change includes
1. WifiScanWorker has the callbacks similar to a lifecycle component
but it's not a lifecycle component. Let WifiScanWorker implements
LifecycleOwner and provides #getLifecycle() for WifiPickerTracker.
2. Remove captive portal related code because WifiEntry#connect will
handle captive portal login if it's necessary.
3. Create WifiSliceItem to wrap WifiEntry because WifiEntry is an
abstract object and it does not provide copy constructor.
Without copy construcor, Wi-Fi Slice may show unexpected information
when a WifiEntry is updated.
4. Use WifiTrackerLib's NetworkDetailsTracker & WifiEntry in
WifiDialogActivity because it gets a WifiEntry key from Wi-Fi Slice.
NetworkDetailsTracker can get the WifiEntry of th key.
Bug: 155613549
Bug: 152571756
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.slice
make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: I0718f4647cea007a9b701922f3121a388dd43918
2020-07-16 15:56:42 +08:00
Bonian Chen
01daee8c23
Merge "[Settings] Inclusive language for Data Usage"
2020-07-15 15:47:56 +00:00
András Klöczl
a7a20d705d
Merge "Fix multi user crash when Add guest was tapped multiple times" into rvc-dev am: 15d9351ba0
am: 850263d0c6
am: 3bc6e61a44
am: 0e8881b6a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108073
Change-Id: Ie4d2588387f4f8cfb75c5303ddfc72e676e5bf0d
2020-07-15 14:49:14 +00:00
András Klöczl
0e8881b6a0
Merge "Fix multi user crash when Add guest was tapped multiple times" into rvc-dev am: 15d9351ba0
am: 850263d0c6
am: 3bc6e61a44
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108073
Change-Id: I3a474956dd0591bc760ab9aba86fd7476f776eb8
2020-07-15 14:34:10 +00:00
András Klöczl
46922c26f6
Merge "Fix multi user crash when Add guest was tapped multiple times" into rvc-dev am: 15d9351ba0
am: 850263d0c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108073
Change-Id: I20cc9c95340b76f81ab6c207ad0dcc2fcbf1d3eb
2020-07-15 14:19:44 +00:00
András Klöczl
3bc6e61a44
Merge "Fix multi user crash when Add guest was tapped multiple times" into rvc-dev am: 15d9351ba0
am: 850263d0c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108073
Change-Id: Ibc484a119111a84ac0fc6d9ab2b0ab42062fe71d
2020-07-15 14:19:30 +00:00
Eran Messeri
f37c8cb4f7
[DO NOT MERGE] Rollup Cert-related changes from R
...
This change includes the following commits from internal R branch
which are related to certificate management:
0206e76f46 CredentialStorage: Install keys using KeyChain
09ceea53d9 Added functionality to select type of certificate to be installed from the Settings app
3acf3f5433 WiFi certificates installable from Wifi sub-preference
8439fd15f7 Fix strings for certificate installation in Settings
Bug: 161347472
Test: builds & manual testing
Change-Id: Ia59dc4780254fab4f34c2f61b25f3b4e56ed7b77
2020-07-15 15:12:06 +01:00
András Klöczl
62f8eba220
Merge "Fix multi user crash when Add guest was tapped multiple times" into rvc-dev am: 15d9351ba0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108073
Change-Id: I74c9bb596375c68bf414f208d8ad4b6058cf4d37
2020-07-15 14:04:09 +00:00
András Klöczl
850263d0c6
Merge "Fix multi user crash when Add guest was tapped multiple times" into rvc-dev am: 15d9351ba0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108073
Change-Id: I149473b03717cdbb10aede744e00e34f813b44ac
2020-07-15 14:03:57 +00:00
Bonian Chen
a5f08854e3
[Settings] Inclusive language for Data Usage
...
Change wordings in data usage part into inclusive language.
Bug: 160707804
Test: make RunSettingsRoboTests
Change-Id: I713e52df8201413b884257a51bc1f71a0d43179d
2020-07-15 02:52:32 +00:00
Andras Kloczl
57154fbac3
Fix multi user crash when Add guest was tapped multiple times
...
When "Add guest" got tapped multiple times then the first click starts
the guest creation process which blocks the UI thread for around 2-3
seconds, then triggers the open guest details intent, and the second
tap event starts another guest creation, but it fails (since there
can't be more than 1 guest on the device) and returns null, and in the
openUserDetails we get NullPointerException.
Test: manual test
Video: http://shortn/_i4Dce33yhl
Bug: 160267016
Change-Id: I9a4f0a91295e336d246abe5f5470682a14cb510f
2020-07-14 14:34:57 +01:00
TreeHugger Robot
8870591ab3
Merge "Restore original importance when unblocking notif channel" into rvc-qpr-dev am: 8fca94f56c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12139829
Change-Id: I3a2a93b4cc2f0e5630f51635cc9313845bb05015
2020-07-13 23:46:24 +00:00
Julia Reynolds
2700b83c48
Restore original importance when unblocking notif channel
...
Test: atest
Fixes: 62355992
Change-Id: I5d764d0ade68b2ce5708ae79e9ef488ab57bb141
(cherry picked from commit e2a8266328
)
2020-07-13 20:13:43 +00:00
Lucas Dupin
01327140f1
Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a
am: 91ba077612
am: 162d505e14
am: 82c3503d1e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974
Change-Id: I947c54909a719e97562c69664cdd66a30a7207dc
2020-07-13 17:43:25 +00:00
Lucas Dupin
82c3503d1e
Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a
am: 91ba077612
am: 162d505e14
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974
Change-Id: I7734d178ac6cbd93a76d258c7edc22434d76ad19
2020-07-13 17:26:32 +00:00
Jiashen Wang
838aa43cc0
Initial setup for slot change receiver migration
...
Initial setup for migrating SlotChangehandler from LPA to Settings
Bug: 160819212
Bug: 153811431
Test: Manually tested on Pixel 4 to make sure SlotChangeReceiver can get
slot change events correctly.
Change-Id: Id95f2db875ba08250f4740536742627500b74f0d
2020-07-13 10:22:04 -07:00
Lucas Dupin
162d505e14
Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a
am: 91ba077612
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974
Change-Id: Iebc0844230afdb44868f4f1a6245808aee291dfb
2020-07-13 17:13:42 +00:00
Lucas Dupin
ffda931026
Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a
am: 03edb83f56
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974
Change-Id: Id71cee5d2db2623b3d66203075d4c34405322bed
2020-07-13 17:13:39 +00:00
Lucas Dupin
03edb83f56
Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974
Change-Id: I4fc62150f05b1d59bcd77fe7566dd334f1d8931d
2020-07-13 16:55:39 +00:00
Lucas Dupin
91ba077612
Merge "Delete media feature flag" into rvc-dev am: 9b01b8510a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108974
Change-Id: Ie6859a17ba1f1d420f231ba6d9385a48ce442923
2020-07-13 16:55:38 +00:00
Lucas Dupin
9b01b8510a
Merge "Delete media feature flag" into rvc-dev
2020-07-13 16:44:15 +00:00
TreeHugger Robot
b8a8fef548
Merge "Increase expand/collapse tap target" into rvc-qpr-dev am: 35e0d32d0e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12130259
Change-Id: I4998fdace936dc05a40a80ee0602a2c0568607e7
2020-07-10 22:12:12 +00:00
Julia Reynolds
0bdffb98c3
Increase expand/collapse tap target
...
Fixes: 157160901
Test: manual with voice a11y service
Change-Id: Ic1cdd3ee4f22d66d76718fae11304a0d6128def2
(cherry picked from commit bfab43571d
)
2020-07-10 19:34:06 +00:00
Julia Reynolds
b49cbcf2c8
Merge changes Ibda62ba1,Ie338080b,Ic1cdd3ee
...
* changes:
Update char limit
Update font family
Increase expand/collapse tap target
2020-07-10 13:14:48 +00:00
Sunny Shao
74cb62cd1b
Fix toggle widget can be switched under overlapped view am: 4794b798c4
am: cfffebd5c4
am: 749dabb46c
am: eb0e0be13f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562
Change-Id: I1ae3f24c2814f09822224a88301414fc5e50ce64
2020-07-10 07:44:22 +00:00
Sunny Shao
eb0e0be13f
Fix toggle widget can be switched under overlapped view am: 4794b798c4
am: cfffebd5c4
am: 749dabb46c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562
Change-Id: I27c053df7935a917ea80a1f31edb617fc20b7b05
2020-07-10 07:33:59 +00:00
Sunny Shao
a4afb4742a
Fix toggle widget can be switched under overlapped view am: 4794b798c4
am: cfffebd5c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562
Change-Id: I3d40e9a076e79bbf55eb81a616cfb9a583a8ea8c
2020-07-10 07:22:04 +00:00
Sunny Shao
749dabb46c
Fix toggle widget can be switched under overlapped view am: 4794b798c4
am: cfffebd5c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562
Change-Id: Ie99be59204c03dcac32aeb29dd2a9c05a95309b9
2020-07-10 07:21:44 +00:00
Sunny Shao
1c7d1dfba6
Fix toggle widget can be switched under overlapped view am: 4794b798c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562
Change-Id: I7d6b33b80c948337b1526fd0becfbe87d535895b
2020-07-10 07:09:48 +00:00
Sunny Shao
cfffebd5c4
Fix toggle widget can be switched under overlapped view am: 4794b798c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12124562
Change-Id: I767f72eae29753c9936c505b6c6348650ef6b3c6
2020-07-10 07:09:34 +00:00
Sunny Shao
4794b798c4
Fix toggle widget can be switched under overlapped view
...
- ag/11612781 added filterTouchesWhenObscured to toggle widget
can't prevent the click behavior pass through the overlapped view.
- Due to click events was handled by SwitchPreference instead of the
toggle widget.
- Enable the filterTouchesWhenObscured attribute on all
SwitchPreferences in all pages of the special app access.
Bug: 155288585
Test: manual test
Here is the test steps
1.Create an overlapped view's app and launch it to overlap the
other apps.
2.Launch Settings
3.Goto Apps & notification > Advanced > Special app access
4.Click any toggle under Special app access to monitor it can be
switched or not. It must be not switched.
Change-Id: I9c9cf4719153292ed03f55a6eb9d3a308677aee3
2020-07-10 06:11:24 +00:00
Lucas Dupin
42219fb395
Delete media feature flag
...
The feature will always be available, even for users who disabled it
on Beta 1.
Bug: 160826507
Test: manual
Test: MediaControlsParentPreferenceControllerTest
Test: MediaControlsPreferenceControllerTest
Change-Id: Ia2835e7c8156d753a8f8fbf248f2509003309fd2
2020-07-09 11:57:27 -07:00
Julia Reynolds
bfab43571d
Increase expand/collapse tap target
...
Bug: 157160901
Test: manual with voice a11y service
Change-Id: Ic1cdd3ee4f22d66d76718fae11304a0d6128def2
2020-07-09 12:58:45 -04:00
TreeHugger Robot
8a2468447b
Merge "Restore original importance when unblocking notif channel"
2020-07-09 15:47:01 +00:00
Abhijeet Kaur
5923e972f7
Merge "Remove Settings fuse flag as the change is now stable"
2020-07-09 13:11:15 +00:00
Julia Reynolds
e2a8266328
Restore original importance when unblocking notif channel
...
Test: atest
Bug: 62355992
Change-Id: I5d764d0ade68b2ce5708ae79e9ef488ab57bb141
2020-07-08 15:09:41 -04:00
TreeHugger Robot
130199c8c9
Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429
am: ad90366eef
am: 76c4de9b32
am: 81239defba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286
Change-Id: I2e5a6a9fe2c86013c18e64880c97ad70436b25ed
2020-07-08 18:55:14 +00:00
TreeHugger Robot
81239defba
Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429
am: ad90366eef
am: 76c4de9b32
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286
Change-Id: Ibf5541ee46d1465a941e80d5a25e9e553322429c
2020-07-08 18:46:24 +00:00
TreeHugger Robot
e7061f6436
Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429
am: ad90366eef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286
Change-Id: I7f637520c29177dbd60fabbef6c27f0eb195c51f
2020-07-08 18:33:51 +00:00
TreeHugger Robot
76c4de9b32
Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429
am: ad90366eef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286
Change-Id: I68fc9122aa6ae1f98f57ef41503aee9be46d2269
2020-07-08 18:33:46 +00:00
TreeHugger Robot
ba3131d923
Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286
Change-Id: I5a022bd9d9b9485f9caf10c42f7146d35660da0a
2020-07-08 18:22:18 +00:00
TreeHugger Robot
ad90366eef
Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev am: 28a5c00429
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042286
Change-Id: I1319699912f7b7d332c0680670598179b5f8b522
2020-07-08 18:22:00 +00:00
TreeHugger Robot
28a5c00429
Merge "Guard against SecurityException of accessing to slice uri" into rvc-dev
2020-07-08 18:09:09 +00:00
TreeHugger Robot
864ae39cbe
Merge "Replace zen setting plurals with MessageFormat"
2020-07-08 15:33:39 +00:00
Abhijeet Kaur
7c737822d6
Remove Settings fuse flag as the change is now stable
...
Bug: 160159282
Test: Fuse flag does not show up in Settings -> Feature flags
Change-Id: I9ae8fcc0e10cba4b6a0887f6960cf9671b1a6b38
2020-07-08 13:22:20 +01:00
Jason Chiu
eaf1564d9f
Guard against SecurityException of accessing to slice uri
...
- Sometimes unregistering a Slice callback will have no permission to
unpin the Slice uri and throw an exception.
- Guard against the exception as the first solution.
Bug: 159722324
Test: robotest
Change-Id: Ic227331fef64c3fa6fe3e4442fba2a9b754d520d
2020-07-08 11:28:33 +00:00
TreeHugger Robot
5e1fb41ffe
Merge "New settings preference to swipe bottom for notification"
2020-07-07 02:02:12 +00:00
Zhen Zhang
0b51df70c7
Merge "Fix bug: "Hotspot & Tethering" preference doesn't get updated" into rvc-dev am: 05ae65b7b0
am: c570eb8c9a
am: 29433c163d
am: d3b7566f29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12052065
Change-Id: I4bc66c2909e4c18a65cf93bd2c1f34d4675f06cc
2020-07-06 19:39:09 +00:00
Zhen Zhang
d3b7566f29
Merge "Fix bug: "Hotspot & Tethering" preference doesn't get updated" into rvc-dev am: 05ae65b7b0
am: c570eb8c9a
am: 29433c163d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12052065
Change-Id: I51fa6971340d4f91ccf75491def670e41c45277f
2020-07-06 19:28:06 +00:00
Zhen Zhang
f2c65caa4c
Merge "Fix bug: "Hotspot & Tethering" preference doesn't get updated" into rvc-dev am: 05ae65b7b0
am: c570eb8c9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12052065
Change-Id: I20c9dc4af83fdf232db45990617c49d2283ad88f
2020-07-06 19:17:44 +00:00