Commit Graph

23495 Commits

Author SHA1 Message Date
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
Kevin Chyn
6c31f27d5a Merge "Fix biometric string" am: 0a270aba11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12863847

Change-Id: I9af1cf35ddf58cdc7ab25b57dbdf9c2a5d21c316
2020-10-16 23:16:41 +00:00
Kevin Chyn
0a270aba11 Merge "Fix biometric string" 2020-10-16 23:00:44 +00:00
Oscar Shu
9be7e466d4 Merge "Increase mac rand char limit for translation" am: f0d864ac5a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12854080

Change-Id: I452273c8101b4f2b691ae421bb943b4bf04a7647
2020-10-16 22:51:51 +00:00
Oscar Shu
f0d864ac5a Merge "Increase mac rand char limit for translation" 2020-10-16 22:30:44 +00:00
Kevin Chyn
3b6410c92b Fix biometric string
Fixes: 169163181

Test: Builds
Change-Id: I8ae5cdc32957fa63849213fb04f10c8fb2e00211
2020-10-16 12:47:30 -07:00
xshu
1246f4c42c Increase mac rand char limit for translation
Per request in b/170679746

Bug: 170679746
Test: compile
Change-Id: I909cbd3818ce126ab6341da26fd15961ec897ae9
2020-10-15 15:55:17 -07:00
TreeHugger Robot
647666a50f Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-15 14:49:31 +00:00
Neil Fuller
8a339e82cd Merge "Adjust wording for auto time / time zone detection" am: 0b71d1ef94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12792959

Change-Id: I53f533d6d541f55da29dc3652cdbdc575bf77ad7
2020-10-15 12:40:21 +00:00
Neil Fuller
0b71d1ef94 Merge "Adjust wording for auto time / time zone detection" 2020-10-15 12:19:44 +00:00
TreeHugger Robot
93070ad7dc Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-15 07:08:11 +00:00
Bill Yi
8378a840c1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3d0868dfdbcae216cf3c4d4b0c127e7c967ef634
2020-10-14 21:12:09 -07:00
Bill Yi
2867070754 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d42c43812a2a842517fd383c50be6c4da941093
2020-10-14 20:25:26 -07:00
Bill Yi
5a1be6612c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic14ca287b29a6287c1541c308e33ddcede2717f7
2020-10-14 19:39:32 -07:00
TreeHugger Robot
a55eed414f Merge "Launch customized panic setting intent when configured." am: 0e7d09fc8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12818073

Change-Id: Id5e2d6da26b3a9e52574c6a0e339a6251170d80c
2020-10-15 00:42:35 +00:00