Commit Graph

21189 Commits

Author SHA1 Message Date
Arc Wang
ae815ada9c Merge "[Wi-Fi] Apply WifiTrackerLib objects in Wi-Fi Slice" am: 02d279a453
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11629784

Change-Id: If434578bc41656e4519e525302b7416d69fa9624
2020-07-16 09:45:54 +00:00
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
TreeHugger Robot
48e6cd0f21 Merge "Add padding so text doesn't go to edge" am: 0829cea2bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12159359

Change-Id: Ide012d16037e7c676cdf1ef455f92ced2a82a20c
2020-07-16 01:43:38 +00:00
Beverly
9aa0440bd9 Add padding so text doesn't go to edge
Test: manual
Fixes: 159638458
Change-Id: I7a90437c12bad57695d6a0d0d1d8bf514cf28c77
2020-07-15 15:54:26 -04:00
Bill Yi
289d2bf059 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: If55c745f90b6527fc1e0cf1d570ee0e2463b68a6
2020-07-14 06:25:04 -07:00
TreeHugger Robot
d90229ba2e Merge "Import translations. DO NOT MERGE" 2020-07-11 01:20:50 +00:00
Bill Yi
f3fa14812c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I40d92298a2a8268cae383b82336b27faa54148aa
2020-07-10 16:16:00 -07:00
Julia Reynolds
7ca391853e Merge changes Ibda62ba1,Ie338080b,Ic1cdd3ee am: b49cbcf2c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12119717

Change-Id: I7020e06f91ae1d1c8f0698fd608b4f89f77f469a
2020-07-10 13:28:39 +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
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
Lyn Han
fc6ff9982f Merge "Vertical-center bubble preference button content" into rvc-qpr-dev am: 4d1ded8fba am: 3dc91fbf3a am: 3d1e9c2ea1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12111422

Change-Id: Ie366ef67794476ba84117847438ee0d0d80c6022
2020-07-09 17:40:23 +00:00
Lyn Han
3d1e9c2ea1 Merge "Vertical-center bubble preference button content" into rvc-qpr-dev am: 4d1ded8fba am: 3dc91fbf3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12111422

Change-Id: I8fd955d2601b04093ec16afe63b269b18b7b4388
2020-07-09 17:28:05 +00:00
Lyn Han
3dc91fbf3a Merge "Vertical-center bubble preference button content" into rvc-qpr-dev am: 4d1ded8fba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12111422

Change-Id: I68c23291fd3b10c034651dfcb75987946ceef7d7
2020-07-09 17:19:16 +00: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
dbcd0f22a7 Merge "Import translations. DO NOT MERGE" 2020-07-09 06:24:50 +00:00
Bill Yi
de3c9a87f3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I7616dd32f4d8e00383064954588ff34aa6a2059c
2020-07-08 21:49:20 -07:00
Bill Yi
5817d75ea5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ieda95588c78e76685161102da8488a3090aeffd8
2020-07-08 21:05:40 -07:00
Lyn Han
3527730a64 Vertical-center bubble preference button content
Fixes: 160517101
Test: manual
Change-Id: I7a6ed455125a655e1199be95d954821dea5e0ace
2020-07-08 20:59:25 +00:00
TreeHugger Robot
eb5c6d4c30 Merge "Replace zen setting plurals with MessageFormat" am: 864ae39cbe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12061941

Change-Id: Id56cacc7451b4d705b16075bd4245ec8f049124e
2020-07-08 16:45:35 +00:00
TreeHugger Robot
864ae39cbe Merge "Replace zen setting plurals with MessageFormat" 2020-07-08 15:33:39 +00:00
TreeHugger Robot
4395ef199a Merge "Import translations. DO NOT MERGE" 2020-07-07 14:55:38 +00:00
TreeHugger Robot
7d98a8864d Merge "Import translations. DO NOT MERGE" 2020-07-07 14:34:08 +00:00
Bill Yi
25391a53b8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I596ca93a936f8e35d96db7b631d19fb7eb2a4492
2020-07-07 04:29:06 -07:00
Bill Yi
971aef27ce Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: If57d8e1c893578e717af75b6cb0217b34be9b03e
2020-07-07 03:45:37 -07:00
TreeHugger Robot
73479364e5 Merge "New settings preference to swipe bottom for notification" am: 5e1fb41ffe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11970199

Change-Id: If55f3b7d4f0eab0082d8d5a1aa7115f8260e5685
2020-07-07 02:04:21 +00:00
TreeHugger Robot
5e1fb41ffe Merge "New settings preference to swipe bottom for notification" 2020-07-07 02:02:12 +00:00
TreeHugger Robot
6542179c08 Merge "Adjust Slice title icon size on Output Switcher panel for new AndroidX library" am: 7640254e76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065564

Change-Id: Ic5fd0dd3aff9f5539c460ddf099a9b6851ba702e
2020-07-07 01:44:31 +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
2e4bcea886 Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: ca05c7fabd am: 4ff2999126 am: fdb6ff079c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261

Change-Id: If8b92bd004f6bf9d841e19096eae8f2f6a293221
2020-06-30 11:25:26 +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
e9a33d48fb 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: I032839c91c8951bec8014554b7cb7de5d73d0132
2020-06-30 10:41:39 +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
4a7b4e9283 Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 1530c46690 am: e030668d6b am: 786a6dec8d am: 5b08b63c1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807

Change-Id: I7064ebbf0321ca140810ae8a48261d0dde0014ba
2020-06-29 20:13:02 +00: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
88a47d6bda Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807

Change-Id: I30f94c505b59e5b0e865f451a63b466bb1412111
2020-06-29 19:02:37 +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
51aacb7752 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: I369b03f9371b0b8063f9f63b94f83b9b18555f4a
2020-06-29 18:48:17 +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
TreeHugger Robot
f002dd72ac Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-29 07:24:13 +00:00
Bill Yi
45092142eb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ibfe2b145e92201622fda1d57bae726dd5d4e4eab
2020-06-28 22:35:46 -07:00
Bonian Chen
2b1a036640 Merge "[Settings] Learn more link should be removed when not supported." into rvc-dev am: 136cb73ae6 am: 8793b373be am: 14a6d13916 am: 1dc1032304 am: 9e0527bfc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11970202

Change-Id: I52decfc611070bde11dd5067a28db3ad34163212
2020-06-29 02:47:10 +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
4c61922769 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: I97a85d4c507155a5c1630983c329d91efb2b44c3
2020-06-29 02:06:04 +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