Commit Graph

22209 Commits

Author SHA1 Message Date
George Chang
de36a60bd5 Merge "Support RTL mode in payment option" am: 7e65d7f6fc am: ef4f13c936 am: 520d9af539 am: aeae2f7e69
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1476376

Change-Id: I57cf70a121e861036de82333ab8dba4195521edf
2020-10-28 14:09:08 +00:00
George Chang
aeae2f7e69 Merge "Support RTL mode in payment option" am: 7e65d7f6fc am: ef4f13c936 am: 520d9af539
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1476376

Change-Id: I392d46da2898d65ffbe41381122ab19d30e9af80
2020-10-28 13:47:15 +00:00
George Chang
520d9af539 Merge "Support RTL mode in payment option" am: 7e65d7f6fc am: ef4f13c936
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1476376

Change-Id: I7966cfb6f7e139575acdc0b3eb7c6166935175c4
2020-10-28 13:32:21 +00:00
George Chang
7e65d7f6fc Merge "Support RTL mode in payment option" 2020-10-28 12:42:11 +00:00
Neil Fuller
dcdf15592b Merge "Fix review comments location_time_zone_detection" am: be3b9ffeaa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12918184

Change-Id: Ide3d7b6f7ab5a265d0a004563a911e435649d013
2020-10-28 10:01:31 +00:00
Neil Fuller
be3b9ffeaa Merge "Fix review comments location_time_zone_detection" 2020-10-28 09:38:33 +00:00
Treehugger Robot
6d9cbb112b Merge "Settings: Set preference controller for all VideoPreference widget usages" am: 4e04e32679 am: b50fba15b3 am: 15c5be7deb am: 548a4201a8 am: f07862473b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1475616

Change-Id: I8bea679bf18e10c1305273350fd8b21c66bad95c
2020-10-28 08:02:17 +00:00
Treehugger Robot
f07862473b Merge "Settings: Set preference controller for all VideoPreference widget usages" am: 4e04e32679 am: b50fba15b3 am: 15c5be7deb am: 548a4201a8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1475616

Change-Id: Ie81fd135de3208b673aef4deaea93b7e983768e3
2020-10-28 07:48:59 +00:00
Treehugger Robot
548a4201a8 Merge "Settings: Set preference controller for all VideoPreference widget usages" am: 4e04e32679 am: b50fba15b3 am: 15c5be7deb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1475616

Change-Id: I85c050785babcdc196539007d3d678b0b9fca3cc
2020-10-28 07:18:07 +00:00
Treehugger Robot
15c5be7deb Merge "Settings: Set preference controller for all VideoPreference widget usages" am: 4e04e32679 am: b50fba15b3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1475616

Change-Id: Iccc07e5d144297f5999f0ed324c0f2b0844e4c02
2020-10-28 07:00:24 +00:00
Neil Fuller
1affbfff83 Fix review comments location_time_zone_detection
Fix review comments for location_time_zone_detection.xml and associated
classes from http://ag/12792958.

Bug: 152746236
Test: Manual: build / boot / toggle switch in SettingsUI / inspect output of adb shell dumpsys time_zone_detector
Test: Manual: build / boot / install TestDPC / toggle switch in work profile in SettingsUI / inspect output of adb shell dumpsys time_zone_detector
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.TimeZoneDetectionPreferenceControllerTest"
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.LocationTimeZoneDetectionPreferenceControllerTest"
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.TimeZoneDetectionSettingsTest"
Change-Id: I641f312cd63359f45664a93e009e5a975dbd6485
2020-10-27 20:34:15 +00:00
Fan Zhang
f797a48af6 Rename panic gesture to emergency gesture in Settings
Bug: 171589858
Test: rebuild
Change-Id: I23847db82a397bdcd61501758e3ef66a4f088e22
2020-10-27 12:46:41 -07:00
George Chang
13f1c1249d Support RTL mode in payment option
Bug: 156770848
Test: right-aligned under RTL mode
Change-Id: I01879056bbac08da0856f35012c8c8456328071c
2020-10-27 11:49:33 +00:00
Bill Yi
494ad6ca52 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic336cf7344a62933fa3757d8404847b67ee9ba23
2020-10-27 11:03:27 +00:00
LuK1337
c6b9c9fa86 Settings: Set preference controller for all VideoPreference widget usages
Fixes blank VideoPreference for settings with missing media.

Test: manual, open quickly open camera or other affected prefs
Change-Id: I5d4ffbcaa9fa1a344bb66abe53cc01e7be5e07b2
2020-10-26 23:10:11 +00:00
TreeHugger Robot
e55d1878c5 Merge "Update related UI if battery is not present" am: 76c9a32dbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12886669

Change-Id: I21cddfd51c1966d6819cc729ac9e1cc6111e34de
2020-10-26 05:05:58 +00:00
TreeHugger Robot
76c9a32dbb Merge "Update related UI if battery is not present" 2020-10-26 04:53:49 +00:00
TreeHugger Robot
1d048597fe Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-25 01:48:51 +00:00
Bill Yi
7ffd978b1c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia190e6f489145b99e18570f8cd35f37e7ef2a97a
2020-10-24 05:12:48 -07:00
Bill Yi
5e62660196 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I74a8b110de5179ea897f40fb858fb105824e5458
2020-10-24 04:25:26 -07:00
Mill Chen
ad99e2ef38 Update related UI if battery is not present
This change is to update the related UI in the battery page if the
battery is not present. This includes the following updates:
1. Update the summary of battery tile in the Settings homepage
2. Replace the battery level with "Unknown"
3. Replace the summary with help message in the battery page
4. Remove the battery meter icon

Bug: 171368508
Test: verify on an issue device
Change-Id: I892e0d137143160a0bce0c11ce9265120ebb8fd4
2020-10-23 23:35:15 +08:00
Julia Reynolds
cd08db8684 Merge "Add 'Recent Conversations' to the conversation page" am: 5ff16e18e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12886794

Change-Id: I27b7a2262c905cc4eef1e6c1a3565f153442cfe2
2020-10-23 14:41:59 +00:00
Julia Reynolds
5ff16e18e2 Merge "Add 'Recent Conversations' to the conversation page" 2020-10-23 14:35:46 +00:00
Tsung-Mao Fang
623347bd65 Tweak the margin and corner of search bar
Bug: 171278055
Test: See the screen(https://screenshot.googleplex.com/6sz5wftU9A7qysd)
Change-Id: Ib9ab5a68ff375b3e68a8a10151155f55b3b56a11
2020-10-23 18:15:55 +08:00
Neil Fuller
a022188434 Merge "Changes to location settings for geotz" am: c91bcbd0d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12792958

Change-Id: I1e103535c8f70c3f8050059c3827240f9d2fadd5
2020-10-23 09:45:43 +00:00
Neil Fuller
c91bcbd0d5 Merge "Changes to location settings for geotz" 2020-10-23 09:40:45 +00:00
Sally Yuen
f44168d8b9 Merge changes from topic "a11y_rbc" am: 4bca97c3cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12865322

Change-Id: I3c5c00d9086d6b07df22309341f23b190f652834
2020-10-22 19:04:21 +00:00
Sally Yuen
4bca97c3cc Merge changes from topic "a11y_rbc"
* changes:
  Add activity for directly navigating to Reduce Bright Colors setting page
  Add a setting page for Reduce Bright Colors under A11y
2020-10-22 18:20:25 +00:00
TreeHugger Robot
190a1a47d7 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-22 15:48:49 +00:00
TreeHugger Robot
a42e2f1c35 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-22 15:30:37 +00:00
Neil Fuller
4a6663c10a Changes to location settings for geotz
This change adds a new entry for geolocation-based time zone detection
(shorthand: "geotz") to the location settings.

The UI code uses information retrieved via the TimeManager API to keep
the conditional logic in one place, i.e. to avoid the UI needing to know
too much about the various conditions that affect the availability /
applicability of the toggle.

Screen variations / conditions / other info:

Location settings screen:

1) The entry only shows up on a device at all if geotz detection is
enabled for the device (currently a compile time setting, off by
default).
2) The new entry is hidden on the screen when the user first opens it.
To see it, the user has to expand "Advanced". The setting is in the
shared (non-GMS) section of the screen.
3) When visible, the entry has a summary that shows the current status:
either a reason why the setting is not applicable, or the user's current
setting value.
4) Selecting the entry opens a sub-screen.

The code included here distinguishes between different cases with the
summary message (i.e. the text underneath the entry). See strings.xml
for the placeholder text. Some strings will not show up currently, but
are included in case the rules change as they are valid possibilities
from the TimeManager API.

The same changes have been made for the "personal" tab when a work
profile is enabled.

Location Time Zone Detection settings screen:

1) The toggle is always enabled and always shows the user's current
configuration setting.

All manual tests run with the geotz feature enabled with:

adb shell setprop \
    persist.sys.location_time_zone_detection_feature_enabled 1

Bug: 152746236
Test: Manual: build / boot / toggle switch in SettingsUI / inspect output of adb shell dumpsys time_zone_detector
Test: Manual: build / boot / install TestDPC / toggle switch in work profile in SettingsUI / inspect output of adb shell dumpsys time_zone_detector
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.TimeZoneDetectionPreferenceControllerTest"
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.LocationTimeZoneDetectionPreferenceControllerTest"
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.TimeZoneDetectionSettingsTest"
Change-Id: Ia853d30bc54a113000b30f48776418f262d98358
2020-10-22 15:48:55 +01:00
Tsung-Mao Fang
757e756896 Refine search ui and avatar based on spec am: ebc3a3e881
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12898361

Change-Id: I4fb8835f9b4964332bca7fc0a9cdac346a88bbd7
2020-10-22 14:12:22 +00:00
Bill Yi
b0cb20f643 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I44ced221aa06d7e94415837f7ebeb9cc188113e0
2020-10-22 10:18:58 +00:00
Tsung-Mao Fang
ebc3a3e881 Refine search ui and avatar based on spec
This is the first version, we will keep tweaking
the details later.

Bug: 171278055
Test: Screenshot - https://screenshot.googleplex.com/ApRgDZknkvX9PWo
Change-Id: Ie99cf9e187aa2440486cc2eae90e04287daf0a1d
2020-10-22 18:07:20 +08:00
Bill Yi
eeaa6e4eaf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If13f8df62726ec63be5165fa8c8ee55d24c958c4
2020-10-22 09:38:52 +00:00
Sally
b9ff672a31 Add a setting page for Reduce Bright Colors under A11y
This is essentially a copy page of ToggleDaltonizerPreferenceFragment.
We extend ToggleFeaturePreferenceFragment to maintain consistency with
other shortcut assignable a11y feature.

UI is a draft

This CL:
1) allows users to enabled/disable RBC with the a11y shortcut (button,
gestures, volume keys), if assigned
2) adds a slider and persist switch to the template
ToggleFeaturePreferenceFragment page (which already contains a feature
switch, shortcut preference, and footer description)
3) enables/disables the intensity slider when RBC is on/off
4) sets placeholders for calling into ColorDisplayService in
controllers and tests
5) follows convention set by other color transformations settings and
places feature under Experimental section in A11y settings page if
transformations can't be efficiently performed by hardware

Test: A11y setting and page appears, tested activation with shortcut,
preference controller tests
Bug: b/128465252

Change-Id: I291bb86ce3d855ce052ca70dc7a941a888e2c723
2020-10-21 23:08:53 +00:00
Julia Reynolds
0aef57d67e Add 'Recent Conversations' to the conversation page
Test: atest
Bug: 171191376
Change-Id: Id7208312dff0cc022c2f16b3872fae1a9dc09ed7
2020-10-21 16:39:04 -04:00
Yanting Yang
35a4b76108 Merge "Remove subtitles for the homepage IA" am: 3f92484ce8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12846875

Change-Id: I6007bea78716652c95abfd56775e198c002c4328
2020-10-21 03:53:15 +00:00
Yanting Yang
3f92484ce8 Merge "Remove subtitles for the homepage IA" 2020-10-21 03:24:31 +00:00
Yanting Yang
9aa4a5463f Remove subtitles for the homepage IA
Remove the summary of the homepage IA if silky home enabled.

Fixes: 170933968
Test: robotest & visual with turning on/off silky home
Change-Id: I502b6590cece9b80e9923109fe0582cc4d9a1c56
2020-10-20 23:54:03 +08:00
Bill Yi
8995e8b9e9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I60fe8a4ec1b33665a298365ac74d7622825d3ba7
2020-10-20 06:19:23 -07:00
Bill Yi
0e41e1a5d4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I28e7c337cac0995e72c01cb8349febbbe1abaf72
2020-10-20 04:45:30 -07:00
TreeHugger Robot
676db42f51 Merge "Add string for text of bluetooth switch" am: 868a15350a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12797033

Change-Id: I33be40196bf1a193024d758836640a35b2a2870c
2020-10-19 09:29:47 +00:00
TreeHugger Robot
868a15350a Merge "Add string for text of bluetooth switch" 2020-10-19 09:19:42 +00:00
Jason Hsu
695c94c2e3 Merge "Set the minimum height to the CheckBox" am: 3a90feaa26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12797031

Change-Id: I3703501658d1337388212e962e8aafab10495992
2020-10-19 07:53:05 +00:00
Jason Hsu
3a90feaa26 Merge "Set the minimum height to the CheckBox" 2020-10-19 07:28:54 +00:00
TreeHugger Robot
42a891460e Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-17 22:22:51 +00:00
Bill Yi
75f213e982 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id409765908bccc30904d26ded670edfc84a535ed
2020-10-17 12:46:22 +00:00
Bill Yi
be13719177 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id851db5d79ae223b802e053b8a3dd120c3fa4b20
2020-10-17 12:10:53 +00:00
Bill Yi
e0c58e9b1b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ide6e88b9dfe1253577e04f8a0d664530db31842d
2020-10-17 11:35:11 +00:00