Arc Wang
02d279a453
Merge "[Wi-Fi] Apply WifiTrackerLib objects in Wi-Fi Slice"
2020-07-16 09:32:42 +00:00
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
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
Julia Reynolds
63a9f32547
Update font family am: 1a44a98f34
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12139828
Change-Id: I3a4d2eb6abcbf531f94f21c23abe85070f71bd84
2020-07-13 23:46:10 +00:00
Julia Reynolds
1a44a98f34
Update font family
...
For notification settings, to match the inline settings
Test: manual
Fixes: 153886531
Change-Id: Ie338080bd35a8dc2715330f3b82c272b0be81d54
(cherry picked from commit edb8dd0ec4 )
2020-07-13 20:11:20 +00:00
Julia Reynolds
bfc47e4635
Update char limit
...
Bug: 156515693
Test: manual
Change-Id: Ibda62ba198726dc170fafe1b0ddefdc6b3850329
2020-07-09 14:45:22 -04:00
Julia Reynolds
edb8dd0ec4
Update font family
...
For notification settings, to match the inline settings
Test: manual
Bug: 153886531
Change-Id: Ie338080bd35a8dc2715330f3b82c272b0be81d54
2020-07-09 14:29:14 -04:00
TreeHugger Robot
864ae39cbe
Merge "Replace zen setting plurals with MessageFormat"
2020-07-08 15:33:39 +00:00
TreeHugger Robot
5e1fb41ffe
Merge "New settings preference to swipe bottom for notification"
2020-07-07 02:02:12 +00:00
Beverly
c549280a33
Replace zen setting plurals with MessageFormat
...
For better translations. See go/android-i18n-plurals.
Test: manual
Test: make RunSettingsRoboTests7
Fixes: 156651436
Change-Id: Ic82140b81bf49f071291d2824fa45d310de238ae
2020-07-06 11:25:00 -04:00
Jerry Chang
8ff7abbb31
New settings preference to swipe bottom for notification
...
Add new gesture toggle at:
Settings > System > Gesture > Swipe for notification
Bug: 154080211
Test: manual check Settings > System > Gesture > Swipe for notifications
Test: manual check it is disabled after One-handed mode toggled on
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationSettingsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationPreferenceControllerTest"
Change-Id: Iec18dfd323981ae7489d142b79c6035f3499eb91
2020-07-03 19:05:42 +08:00
Tim Peng
b7afaf5261
Adjust Slice title icon size on Output Switcher panel for new AndroidX library
...
-AndroidX library is updated and it is necessary to apply new rule.
-"iconSize" used to be the padding parameter, and it changes to be the
real size.
Bug: 160115814
Test: manual test
Change-Id: I556d297c95dc796e8c3200168a862806dd508a55
2020-07-02 08:12:46 +00:00
Stanley Wang
fdb6ff079c
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: ca05c7fabd am: 4ff2999126
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I35c7c18c370db76bd1d82f319003cb164d9b7246
2020-06-30 11:10:44 +00:00
Stanley Wang
ca05c7fabd
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I132e88d5b1cb22db5042c0e66b6bc61ab30efcba
2020-06-30 10:41:41 +00:00
Stanley Wang
e86dd271da
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev
2020-06-30 10:28:33 +00:00
Stanley Wang
db0687c447
Remove the prefix "Model:" from the summary of hardware.
...
Fixes: 159529327
Test: run robotest and observe the UI
Change-Id: I60f4a341b427e4b619a202a440f3f2554c562a27
2020-06-30 16:45:47 +08:00
Lucas Dupin
5b08b63c1d
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 1530c46690 am: e030668d6b am: 786a6dec8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I3569252bdad698d8c07727da56779e0fb83a5bb4
2020-06-29 19:33:33 +00:00
Lucas Dupin
1530c46690
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: Ie05cfa7cc0897e370c3ced865dceee0745b5533c
2020-06-29 18:48:39 +00:00
Lucas Dupin
837bda1f25
Merge "Change the order of dark theme options to match night light" into rvc-dev
2020-06-29 18:35:12 +00:00
Bonian Chen
9e0527bfc9
Merge "[Settings] Learn more link should be removed when not supported." into rvc-dev am: 136cb73ae6 am: 8793b373be am: 14a6d13916 am: 1dc1032304
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11970202
Change-Id: I1aa01edb029a24dce6a8b0df6d41ea720c11831f
2020-06-29 02:32:29 +00:00
Bonian Chen
14a6d13916
Merge "[Settings] Learn more link should be removed when not supported." into rvc-dev am: 136cb73ae6 am: 8793b373be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11970202
Change-Id: Ic8100d80a87dbc9160e6f0cd0d2d0da4648c1b86
2020-06-29 02:05:26 +00:00
Bonian Chen
6e8f6d840a
Merge "[Settings] Learn more link should be removed when not supported." into rvc-dev am: 136cb73ae6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11970202
Change-Id: I7af555ea420dc289052553706931fbfea55edf45
2020-06-29 01:53:51 +00:00
Bonian Chen
136cb73ae6
Merge "[Settings] Learn more link should be removed when not supported." into rvc-dev
2020-06-29 01:42:26 +00:00
Jay Aliomer
d96f81ac8c
Change the order of dark theme options to match night light
...
Fixes: 159030764
Test: manually go to display -> dark theme
Change-Id: I71ab1d0699a9c7a4a873453321a3dca640a892b9
2020-06-25 23:30:38 -04:00
TreeHugger Robot
ce7b8288e7
Merge "Increase char limit for translations" into rvc-dev am: 1b57d227bd am: 1172dcd5be am: a7973d6b40 am: 24bae851a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11987888
Change-Id: Id164f0196f5136aad61580a3e2272fea1057a374
2020-06-24 18:45:51 +00:00
TreeHugger Robot
1172dcd5be
Merge "Increase char limit for translations" into rvc-dev am: 1b57d227bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11987888
Change-Id: Ifab97862a30669ca741d7527092905ea8c777b37
2020-06-24 18:10:40 +00:00
TreeHugger Robot
1b57d227bd
Merge "Increase char limit for translations" into rvc-dev
2020-06-24 17:59:39 +00:00
Beth Thibodeau
5e402df833
Increase char limit for translations
...
Fixes: 159629315
Test: compiles; comment change only
Change-Id: I59a72a2de26cdb33002138ba0e9eaf4e58ecd3c1
2020-06-24 12:03:06 -04:00
TreeHugger Robot
a498723527
Merge "Update ouput switcher panel height from 6.5 to 5.5 slice items" into rvc-dev am: 3e0102a3cd am: 6dcf40e1b2 am: 15a7853196 am: c943f46b44
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11983922
Change-Id: If74fd050dd8e228d63ce455f26e37d87971f7dd5
2020-06-24 11:22:04 +00:00
TreeHugger Robot
c943f46b44
Merge "Update ouput switcher panel height from 6.5 to 5.5 slice items" into rvc-dev am: 3e0102a3cd am: 6dcf40e1b2 am: 15a7853196
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11983922
Change-Id: I0cfc47aec6aecfe329a9b5764840675a1aabfd8c
2020-06-24 11:10:48 +00:00
TreeHugger Robot
04652c4210
Merge "Update ouput switcher panel height from 6.5 to 5.5 slice items" into rvc-dev am: 3e0102a3cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11983922
Change-Id: Ied14c1c4474ab9a15cbfe4c84486af71e5d8439c
2020-06-24 10:45:51 +00:00
TreeHugger Robot
3e0102a3cd
Merge "Update ouput switcher panel height from 6.5 to 5.5 slice items" into rvc-dev
2020-06-24 10:29:40 +00:00
Tim Peng
382f81a570
Update ouput switcher panel height from 6.5 to 5.5 slice items
...
-design changes
Bug: 159776397
Test: manual test
Change-Id: I57a343ad6aeeb420d5d9f8eb1cd921a2c8bfa27d
2020-06-24 17:14:25 +08:00
tim peng
50078dc941
Merge "Apply round corner to the album icon in output switcher panel" into rvc-dev am: b6ed02fa26 am: 4d85ce5dce am: eea5c59fbc am: 53aac6be4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11970211
Change-Id: I18f11b4a1a753c70026132c0b80c179d1bbb09a8
2020-06-24 08:36:40 +00:00
tim peng
4d85ce5dce
Merge "Apply round corner to the album icon in output switcher panel" into rvc-dev am: b6ed02fa26
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11970211
Change-Id: Ie49eabe533e8305456cc04b241596aa7c6de81b7
2020-06-24 08:05:30 +00:00
tim peng
b6ed02fa26
Merge "Apply round corner to the album icon in output switcher panel" into rvc-dev
2020-06-24 07:45:36 +00:00
Mathew Inwood
15da834b5b
Increase character limit. am: a5c9c0458c am: b9d8b08512 am: c0b9bdda25 am: 991289852a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11971198
Change-Id: I83ec52735d84a1432bafeabc57659e9ae5f5f809
2020-06-24 05:26:58 +00:00
Tim Peng
df46788a5d
Apply round corner to the album icon in output switcher panel
...
Bug: 159766582
Test: manual test
Change-Id: I1535a13c137e9550920cf890c259a4075a2dfc05
2020-06-24 13:17:06 +08:00
Mathew Inwood
c0b9bdda25
Increase character limit. am: a5c9c0458c am: b9d8b08512
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11971198
Change-Id: Icf6cf75f5d4268139128399354d5adf2b93013a2
2020-06-24 04:53:14 +00:00
Mathew Inwood
93c232993e
Increase character limit. am: a5c9c0458c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11971198
Change-Id: Ifc81b836b436ebd7b4b6bcf498085ecd9a3c603e
2020-06-24 04:40:52 +00:00
Bonian Chen
5faf771722
[Settings] Learn more link should be removed when not supported.
...
Learn more wording with link only help people when configured.
When no link available, these wording had better removed to avoid from
confusing people.
Bug: 159510116
Test: manual
Change-Id: I36b74b2b4586546090fb88562e8f4f052a877709
2020-06-23 21:19:15 +08:00
Mathew Inwood
a5c9c0458c
Increase character limit.
...
20 is not enough for several languages.
Test: TH
Bug: 159628588
Change-Id: I9f7b47951ea5a4e0eb2022347ebd5ea0db7f0c9e
2020-06-23 14:09:52 +01:00
tim peng
d29a2c0016
Merge "In output switcher, the name of the device disappears for a brief period, which makes it seem like the devices are swapping positions." into rvc-dev am: 6e10387a38 am: 170179bbe3 am: 3ebaa8f380 am: 8acdfaeff7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11931339
Change-Id: I4cbf956d562ea204a2445411e605a55a15a1464f
2020-06-23 03:19:48 +00:00
tim peng
3ebaa8f380
Merge "In output switcher, the name of the device disappears for a brief period, which makes it seem like the devices are swapping positions." into rvc-dev am: 6e10387a38 am: 170179bbe3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11931339
Change-Id: I3859719fab57d94034c5a1c0ae193af8e47483a9
2020-06-23 02:54:45 +00:00
tim peng
0217b38b00
Merge "In output switcher, the name of the device disappears for a brief period, which makes it seem like the devices are swapping positions." into rvc-dev am: 6e10387a38
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11931339
Change-Id: Ie69913e09a49438c85e6266f0a7d948b9b459460
2020-06-23 02:37:25 +00:00
tim peng
6e10387a38
Merge "In output switcher, the name of the device disappears for a brief period, which makes it seem like the devices are swapping positions." into rvc-dev
2020-06-23 02:22:46 +00:00
TreeHugger Robot
6ec8c41b47
Merge "Add toggle for media resumption"
2020-06-22 15:24:29 +00:00
TreeHugger Robot
229e76ec19
Merge "NetworkModePreference's list needs to allow values set from overlay." into rvc-dev am: 5b849d8ac8 am: 731e6d8e5f am: d9d63ebea6 am: 33e5429474
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11908541
Change-Id: I0254419c2d5f1b6ac97afbbde0b06fdd696feedd
2020-06-20 05:08:27 +00:00
TreeHugger Robot
33e5429474
Merge "NetworkModePreference's list needs to allow values set from overlay." into rvc-dev am: 5b849d8ac8 am: 731e6d8e5f am: d9d63ebea6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11908541
Change-Id: I24a7976f0928ddf8fb4755a57b6659393164f91b
2020-06-20 04:57:22 +00:00
TreeHugger Robot
58c4a5bf48
Merge "NetworkModePreference's list needs to allow values set from overlay." into rvc-dev am: 5b849d8ac8 am: 731e6d8e5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11908541
Change-Id: Ia862cf87cf256805fb0b6ab27101cdfc41614778
2020-06-20 04:56:28 +00:00