Commit Graph

23495 Commits

Author SHA1 Message Date
Mill Chen
5a347494d2 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
Merged-In: I892e0d137143160a0bce0c11ce9265120ebb8fd4
2020-11-06 17:36:27 +08:00
Jiashen Wang
491d214644 Merge "[SIM Dialog Migration] Migrate SIM enable dialog from LPA to Settings" 2020-11-06 00:07:14 +00:00
Jiashen Wang
7840ae7569 [SIM Dialog Migration] Migrate SIM enable dialog from LPA to Settings
Migrates SIM enabling and DSDS dialog from LPA to Settings.
Design: https://docs.google.com/document/d/1wb5_hoBkZVbkXGNWHbx4Jf61swjfxsJzkytiTzJosYo/edit?usp=sharing
Bug: 160819390
Test: Manually tested eSIM profile enabling.

Change-Id: I9ce690a1594adfc90b62840819237acd54418469
2020-11-05 14:58:15 -08:00
pihuei
1ad6bbad88 Use system day/night to switch theme instead of from intent extra. am: 55fb2b745d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12825438

Change-Id: I3e048c1b5e91e8c5fa9019ea5a8c69e166e00168
2020-11-05 05:43:23 +00:00
pihuei
55fb2b745d Use system day/night to switch theme instead of from intent extra.
Use value-night to give theme instead of directly from intent extra when Setup day/nNight mode enabled and in Setup flow

Before:
<vision settings>
https://hsv.googleplex.com/4837266235064320
<wifi dialog>
https://hsv.googleplex.com/5687053981319168
<lock screen with disabling button>
https://hsv.googleplex.com/4843506419892224
<lock screen with enabling button>
https://hsv.googleplex.com/5650348922372096
<fingerprint intro>
https://hsv.googleplex.com/5133769046491136
<fingerprint touch>
https://hsv.googleplex.com/5681937198874624
<fingerprint left touch>
https://hsv.googleplex.com/5767441676238848
<squeeze release>
https://hsv.googleplex.com/6632476812247040

After:
<vision settings>
https://hsv.googleplex.com/6213298875793408
<wifi dialog>
https://hsv.googleplex.com/6025790804197376
<lock screen with disabling button>
https://hsv.googleplex.com/5747461219942400
<lock screen with enabling button>
https://hsv.googleplex.com/5766700781797376
<fingerprint intro>
https://hsv.googleplex.com/6751334529236992
<fingerprint touch>
https://hsv.googleplex.com/5625963293442048
<fingerprint left touch>
https://hsv.googleplex.com/4518139360444416
<squeeze release>
https://hsv.googleplex.com/5220720579706880

Bug: 169734655
Test: robo test
Change-Id: I4aab843e28a932c7b823f36f1d8df1e5b2341f4e
2020-11-05 05:09:14 +00:00
TreeHugger Robot
42bc40a01d Merge "Add missed layout_below property for priority section." am: 9a1a35d316
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12961196

Change-Id: I4bcea374578541f906ccb6f7386c2b2dde6561ed
2020-11-05 03:10:11 +00:00
TreeHugger Robot
9a1a35d316 Merge "Add missed layout_below property for priority section." 2020-11-05 02:52:29 +00:00
Chloris Kuo
2251b5f894 Merge "Add flag to reset notification channel importance" am: e9d524ffc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12901702

Change-Id: I035d6ccac125f745f1e1e9234639b229ea2ad7c1
2020-11-03 14:09:32 +00:00
Chloris Kuo
e9d524ffc6 Merge "Add flag to reset notification channel importance" 2020-11-03 14:07:45 +00:00
Zoey Chen
179a8b15b3 Merge "[Provider Model] Use new entry xml of Network & Internet" am: af8faaaa4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12938076

Change-Id: Ie4dc684adfcba523851e9481c127a7df8ccd65b8
2020-11-03 07:42:25 +00:00
Zoey Chen
af8faaaa4b Merge "[Provider Model] Use new entry xml of Network & Internet" 2020-11-03 07:39:25 +00:00
TreeHugger Robot
e268d89b26 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-11-03 07:20:05 +00:00
TreeHugger Robot
69bab04e93 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-11-03 06:31:15 +00:00
Zoey Chen
6ca486620a Merge "[Provider Model] New xml of Calls and SMS" am: d9a4ab246c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12956716

Change-Id: I30be927f82fafb1f33f657e4212ec8ca7646dcbf
2020-11-03 03:48:22 +00:00
Zoey Chen
d9a4ab246c Merge "[Provider Model] New xml of Calls and SMS" 2020-11-03 03:30:42 +00:00
Bill Yi
b69426436f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie5fb24a892c637b0876f663b222f3d442ae8130c
2020-11-02 16:11:06 -08:00
Bill Yi
b0e9e824cc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia33d3635b7b77afd83fcdf7af436037340666b0f
2020-11-02 15:31:03 -08:00
Andrei-Valentin Onea
7007c8ca37 Merge "Fix app compat dashboard from settings app" am: 4445b40a65 am: 770e30b1f9 am: 8879952967 am: c3839f4732 am: 9f1c46967e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1481502

Change-Id: I2143289cc87f9b714f73b6bc39286bb3a04c161b
2020-11-02 16:34:02 +00:00
Andrei-Valentin Onea
9f1c46967e Merge "Fix app compat dashboard from settings app" am: 4445b40a65 am: 770e30b1f9 am: 8879952967 am: c3839f4732
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1481502

Change-Id: I5a18fa2db11f9a240aa1d781810fca7717a36da3
2020-11-02 16:20:54 +00:00
Andrei-Valentin Onea
c3839f4732 Merge "Fix app compat dashboard from settings app" am: 4445b40a65 am: 770e30b1f9 am: 8879952967
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1481502

Change-Id: Ie87c9ff8ae1e76bb667f7201e6314ec995d2e133
2020-11-02 16:06:44 +00:00
Andrei-Valentin Onea
8879952967 Merge "Fix app compat dashboard from settings app" am: 4445b40a65 am: 770e30b1f9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1481502

Change-Id: I947653ab33790724f2a419297c3fd7649ef4f2fb
2020-11-02 15:37:28 +00:00
Zoey Chen
14602e302a [Provider Model] Use new entry xml of Network & Internet
Bug: 171874190
Test: manual
Change-Id: I542ba08c122cb50de37dafd06cfa08dead8e2e0f
2020-11-02 22:28:47 +08:00
Zoey Chen
ee9e7b8642 [Provider Model] New xml of Calls and SMS
Bug: 172053880
Test: manual
Change-Id: I4c434e19c9986d9a07f0e96e9aaeaac3a289b9a1
2020-11-02 22:26:25 +08:00
Mariia Sandrikova
2daff16231 Add missed layout_below property for priority section.
Fix: 170257825
Test: manual
Change-Id: I09d9fcd2ad8235bc93f4af04bb7b15233d9c32c9
2020-11-02 09:33:05 +00:00
Andrei Onea
b0a6dd680e Fix app compat dashboard from settings app
Fix an issue due to recent changes tha made the settings app
accidentally categorize non sdk gated changes as targetSdk > -1.

The recent changes made target sdk changes have a '>=' condition instead
of strictly '>', so address that issue as well.

Bug: 172043600
Test: open App Compatibility Changes option in Developer Options
Change-Id: Ic5ee203c5a82ac982164304e3ae399947a39e058
2020-10-30 16:38:08 +00:00
TreeHugger Robot
025633bdd4 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev 2020-10-30 15:34:51 +00:00
Bill Yi
ad1862fff5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e893944fdf186bf1cfa3a66dd77a047e05a86a6
2020-10-30 05:15:25 +00:00
Bill Yi
a32714b730 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I18f71142db1259e005eb0b51ca44bdb4e69e5821
2020-10-30 04:38:31 +00:00
TreeHugger Robot
9d3939f442 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-29 10:40:39 +00:00
TreeHugger Robot
994f405137 Merge "Tweak the margin and corner of search bar" am: 3369c962f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12905995

Change-Id: Ied6ea9c1fe550797a5760f6eb4291411dd8282ac
2020-10-29 09:24:22 +00:00
TreeHugger Robot
3369c962f9 Merge "Tweak the margin and corner of search bar" 2020-10-29 09:12:15 +00:00
Bill Yi
8bced056cc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icd976fee90544085cc9b7a8cdf898529983ea51c
2020-10-28 20:23:54 -07:00
Chloris Kuo
f64ce9e5e4 Add flag to reset notification channel importance
Add a button in development option to unlock user previously changed
notification importance and allow NAS to change the importance

Test: make RunSettingsRoboTests
Change-Id: I55b5349d6a17a383888c59b9126832c2fb8c58a0
2020-10-28 19:46:46 -07:00
Fan Zhang
b4f69a98f0 Merge "Rename panic gesture to emergency gesture in Settings" am: 005b47249e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12932815

Change-Id: Ifef580e8ff7e92a60397a7d0ac9a8eb235dc49b8
2020-10-28 17:19:03 +00:00
Fan Zhang
005b47249e Merge "Rename panic gesture to emergency gesture in Settings" 2020-10-28 17:02:21 +00:00
George Chang
57713e3a6c Merge "Support RTL mode in payment option" am: 7e65d7f6fc am: ef4f13c936 am: 520d9af539 am: aeae2f7e69 am: de36a60bd5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1476376

Change-Id: I39e65ed4d7d953af5364bba66759540a177f01f7
2020-10-28 14:34:49 +00:00
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