Commit Graph

95375 Commits

Author SHA1 Message Date
Bill Yi
a00d0e11bb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 0f159f7a96 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811146

Change-Id: I5bf1c0f45d78fd0b2f733d0a3115337308627d39
2021-09-12 13:12:53 +00:00
Bill Yi
fcfda43bea [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 0444a1a047 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811407

Change-Id: I9896ddd961fae69c3cfbe0e0cda3e4f7145a9956
2021-09-12 13:12:37 +00:00
Bill Yi
d056c27aef [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641 am: b1e28007d4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: I34b94c1b42a6f0dbacc5b0e8b13866d5cab656b0
2021-09-12 13:12:09 +00:00
Bill Yi
7cd88a6fbd [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641 am: b1e28007d4 -s ours am: e7b71e21f7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: I52eb57154fe1c959d45dcd0b8d4b863c3ec4faa2
2021-09-12 13:12:04 +00:00
Bill Yi
e7b71e21f7 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641 am: b1e28007d4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: Id3cdc138f8fca9a1ce62c5f6fdb5c6d4e92b05fa
2021-09-12 13:11:39 +00:00
Bill Yi
75d96641c6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 98945e949e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811297

Change-Id: Ieff57a9bcb1cb08bfff67c882d2d23d40bf8881c
2021-09-12 13:11:17 +00:00
Bill Yi
edee57793d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 7d4c3475b1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811288

Change-Id: Ibc0a7df07a425b681a3a740392efc0a8f6060b6c
2021-09-12 13:11:16 +00:00
Bill Yi
2bc492b5a6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 24917c6fce -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811295

Change-Id: I5c98246752b54a166967392171d412f79fa3dfce
2021-09-12 13:11:08 +00:00
Bill Yi
cbe48c99a4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 7f61b4eb74 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811411

Change-Id: Ice32a072a0d7584adb342031e2fc426c07f4e9e4
2021-09-12 13:11:08 +00:00
Bill Yi
1c9390c614 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641 am: 78d0880792 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: Ie370a49faa9729372de252a89a8cf3d5bb5cb2f2
2021-09-12 13:11:04 +00:00
Bill Yi
7f61b4eb74 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-12 13:00:06 +00:00
Bill Yi
0444a1a047 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-09-12 12:59:03 +00:00
Bill Yi
98945e949e Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-09-12 12:57:50 +00:00
Bill Yi
0f159f7a96 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod 2021-09-12 12:57:24 +00:00
Bill Yi
c96f050efe Merge changes from topic "presubmit-am-b8b51bd0593c4869a4b435ca3d6c4fa7"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 0aff4035e8
  Import translations. DO NOT MERGE ANYWHERE
2021-09-12 12:57:24 +00:00
Bill Yi
7d4c3475b1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod 2021-09-12 12:56:09 +00:00
Bill Yi
007f4db05d Merge changes from topic "presubmit-am-bf7015b3e38e4fd38f91bb45fc12b788"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 7ad96282b3
  Import translations. DO NOT MERGE ANYWHERE
2021-09-12 12:56:09 +00:00
Bill Yi
9a7044c387 Merge changes from topic "presubmit-am-2497fdcbcbb2490280b2d6fa36e8e9ef"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641 2p: 10d047524a
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641
  Import translations. DO NOT MERGE ANYWHERE
2021-09-12 12:56:02 +00:00
Bill Yi
8649a2ab79 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-09-12 12:54:54 +00:00
ykhung
dfd2bf044f Fix failed tests since presubmit is ignored in ag/15802168 am: 27efa546cf am: a168e2e0fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809054

Change-Id: I8396a058b78d2c37ebf223e26884860061a08b84
2021-09-11 18:25:11 +00:00
ykhung
a168e2e0fc Fix failed tests since presubmit is ignored in ag/15802168 am: 27efa546cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809054

Change-Id: I5b0e17f5862f295da35456f691dfcdc32587bcdc
2021-09-11 18:13:37 +00:00
ykhung
27efa546cf Fix failed tests since presubmit is ignored in ag/15802168
Bug: 198553245
Test: make SettingsRoboTests
Change-Id: I91e715a6bfb64419b457812423996365a9464a93
2021-09-12 00:36:43 +08:00
Bill Yi
d8d10737ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I311a7f810ad7d87becf30a0f36c61565db4624ed
2021-09-11 09:13:02 +00:00
Bill Yi
dfa9ca0dff Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b28169e85744c126af035cae96f457b7d9471ea
2021-09-11 09:11:27 +00:00
Bill Yi
009a3553a6 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641 2p: 10d047524a
Blank merge reason: parent was merged -s ours

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: I6456018dc11ad2e745ce4a6230a7bad9f137bfc1
2021-09-11 09:10:09 +00:00
Bill Yi
78d0880792 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: Icab5517ddc19bbe60183846d4f85bef549b0e3e8
2021-09-11 09:10:05 +00:00
Bill Yi
b1e28007d4 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: I7e8aa5a5b4825dba96ed2f220eb073506ee4bc53
2021-09-11 09:10:04 +00:00
Bill Yi
10d047524a [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a5d4317641
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811299

Change-Id: I5d2a8eaa5039f9321a04756907740e76f46bbe12
2021-09-11 09:10:04 +00:00
Bill Yi
a5d4317641 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I89637d7c6419239e93a6dd005268adcf378c2291
2021-09-11 09:09:53 +00:00
Bill Yi
0a73bc008c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icb5beed9ab6d841a08ff5888be40df03b6edc9a3
2021-09-11 09:08:17 +00:00
Bill Yi
b2e42cabd4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9a37f3d6526c53393d047d99f8c19f2054e932f7
2021-09-11 09:05:32 +00:00
Bill Yi
24917c6fce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id7feff6bce69e46b992f5062c6fe2679f3fdd429
2021-09-11 09:02:07 +00:00
Bill Yi
285a7d67d0 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 7ad96282b3
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811288

Change-Id: I06540bb37b7a3158ce3d18dbce1d67b731b509cf
2021-09-11 08:55:59 +00:00
Bill Yi
7ad96282b3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I833bb37f1ed91e685017879fefe173d30ab447fc
2021-09-11 08:55:27 +00:00
Bill Yi
6c6cfeb024 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 0aff4035e8
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15811146

Change-Id: I75fe9ddc750ebfcef15aedfc29f286e7dcacbaf0
2021-09-11 08:51:58 +00:00
Bill Yi
0aff4035e8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a64879a0fd4b69657dd45a18463d70d04f61cde
2021-09-11 08:51:47 +00:00
Yi-Ling Chuang
5fc96844e5 Correct how the injection mechanism starts activities
Settings Injection used to start activities with
startActivityForResult() and its extension, where there was not result
really being handled. Hence, this CL corrects the way it starts
activities by removing the "ForResult" part.

Fixes: 197704126
Test: robotest and launch Android Auto to see it being launched in
another task.

Change-Id: I259b2555cf62f8966afdf664b337af5f216b3843
2021-09-11 16:48:37 +08:00
ykhung
27d9bdfb82 Fix the icon flash issue cause from the shared drawable icon am: a3b89868f4 am: e44128f021
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15802168

Change-Id: If1a9387932316ff3b4addea1075d8d69853d38dc
2021-09-11 00:24:09 +00:00
ykhung
e44128f021 Fix the icon flash issue cause from the shared drawable icon am: a3b89868f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15802168

Change-Id: I4b3e87e071a2fec6ace88afe1336be08e77c4075
2021-09-11 00:13:28 +00:00
ykhung
a3b89868f4 Fix the icon flash issue cause from the shared drawable icon
different time slot may have the same application entry, we should not make them share the same drawable instance to impact the states, we will use newDrawable() method to create a new one for each application entry

Bug: 198553245
Test: make SettingsRoboTests
Change-Id: I4a321133ba171817fca1ab7ad47b9af8f7450675
2021-09-10 16:50:43 +00:00
Neil Fuller
b46adff0f4 Swap ownership to mingaleev@
BUG=189810551

Change-Id: I6304545540947d6695117753309c80b27cf2669a
2021-09-10 12:20:39 +00:00
Bonian Chen
2c3f21ad76 [automerger skipped] Merge "Fix Text of VoLTE setting cannot be updated when SIM state is changed" am: 4c3f454c92 -s ours am: 6c1c8934a2 -s ours am: 58d30bf442 -s ours am: d010033f00 -s ours am: 05727f206b -s ours
am skip reason: Merged-In Ibf4d17aa493f69a3f00e35ae0e9d1419bd9e0d77 with SHA-1 f56682808e is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1791947

Change-Id: I91e6577c8e3e716b13654c1f7ecfc6d1c9f59a98
2021-09-10 11:03:09 +00:00
Bonian Chen
05727f206b [automerger skipped] Merge "Fix Text of VoLTE setting cannot be updated when SIM state is changed" am: 4c3f454c92 -s ours am: 6c1c8934a2 -s ours am: 58d30bf442 -s ours am: d010033f00 -s ours
am skip reason: Merged-In Ibf4d17aa493f69a3f00e35ae0e9d1419bd9e0d77 with SHA-1 f56682808e is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1791947

Change-Id: I0d7901c7b0e11ee5c5e2327c4c509dd0b307266a
2021-09-10 10:48:04 +00:00
Bonian Chen
d010033f00 [automerger skipped] Merge "Fix Text of VoLTE setting cannot be updated when SIM state is changed" am: 4c3f454c92 -s ours am: 6c1c8934a2 -s ours am: 58d30bf442 -s ours
am skip reason: Merged-In Ibf4d17aa493f69a3f00e35ae0e9d1419bd9e0d77 with SHA-1 f56682808e is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1791947

Change-Id: I4aa99ad4e762506fb17feb8d6ffc3d8f03f2d15b
2021-09-10 10:31:13 +00:00
Bonian Chen
58d30bf442 [automerger skipped] Merge "Fix Text of VoLTE setting cannot be updated when SIM state is changed" am: 4c3f454c92 -s ours am: 6c1c8934a2 -s ours
am skip reason: Merged-In Ibf4d17aa493f69a3f00e35ae0e9d1419bd9e0d77 with SHA-1 f56682808e is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1791947

Change-Id: I9d32b04abf40f188d302fe752f44ed7d03aa2bcd
2021-09-10 10:11:19 +00:00
Bonian Chen
6c1c8934a2 [automerger skipped] Merge "Fix Text of VoLTE setting cannot be updated when SIM state is changed" am: 4c3f454c92 -s ours
am skip reason: Merged-In Ibf4d17aa493f69a3f00e35ae0e9d1419bd9e0d77 with SHA-1 f56682808e is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1791947

Change-Id: Iab613dc14204401318bd69648dad6c7d2f49e723
2021-09-10 09:59:38 +00:00
Bonian Chen
4c3f454c92 Merge "Fix Text of VoLTE setting cannot be updated when SIM state is changed" 2021-09-10 09:46:32 +00:00
ykhung
f27d0c2935 Move allowed list definition in the battery usage to feature provider am: b62cdecc67 am: bb535f4bce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15785737

Change-Id: I4a19dcc41b14af235c3e1d94675d14fc8f05e3a0
2021-09-10 05:14:37 +00:00
ykhung
bb535f4bce Move allowed list definition in the battery usage to feature provider am: b62cdecc67
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15785737

Change-Id: I01745bccfb5cf44fbdfeedd1db6ad2b88a0c71a2
2021-09-10 05:03:32 +00:00
Ting Yu
638f12a6c8 Fix Text of VoLTE setting cannot be updated when SIM state is changed
Text of setting menu for VoLTE should be changed from "VoLTE" to
"4G Calling" if "show_4g_for_lte_data_icon_bool" is true. However, it
is not changed in the following steps.
1. Turn Use SIM off on Mobile Network Setting and close Mobile Network
   Setting screen.
2. Open Mobile Network Setting screen again and turn Use SIM on.

Root cause is that the carrier config value is loaded only when SIM's
subid is changed. So, remove checking subId so that the carrier config
value is updated.

Additional fix:
Removed checking #isModeMatched in # onStart because "4G calling"
Setting was grayed out. It needs to listen to call state change
regardless of display status of the preference because Preference may
be switched even after the screen is displayed.

Test: manual
Test: make RunSettingsRoboTests \
      ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest
Bug: 196030198
Change-Id: Ibf4d17aa493f69a3f00e35ae0e9d1419bd9e0d77
Merged-In: Ibf4d17aa493f69a3f00e35ae0e9d1419bd9e0d77
2021-09-10 01:17:26 +00:00