TreeHugger Robot
1419ef2874
Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev
2020-08-10 17:03:22 +00:00
Jiashen Wang
889f702829
Change MobileNetworkUtils to use EuiccManager.isSupportedCountry
...
Currently LPA passed supported/unsupported countries to Settings by
writing the value into properties which is not ideal. Instead, we should
call EuiccManager.isSupportedCountry instead.
Bug: 147674689
Test: 1) Manually tested by flashing the change to the device
2) Change LPA to override onGetIsEuiccSupportedCountry
3) Make sure LPA can get the request
Merged-In: Ib136beea325eabdfbd8a6a843611143958dce603
Change-Id: If406d9d803affa334c1ad4f871fcfdc0561c9bf6
2020-08-10 22:57:02 +08:00
Bonian Chen
06b5916f4f
[automerger skipped] Merge "Show/hide 5G preferred network type also consider allowed_network_type" am: 7e6c957fea
am: 8977c4ce49
-s ours am: 528b77a6e3
-s ours
...
am skip reason: Change-Id I493f2a2c7f4bc32b3fcb8ab2bace5839d8667bd5 with SHA-1 0393bbcc85
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1394549
Change-Id: I468782ddc0c2afd6e353194c051fd5a6508c1b30
2020-08-10 12:02:02 +00:00
Bonian Chen
528b77a6e3
[automerger skipped] Merge "Show/hide 5G preferred network type also consider allowed_network_type" am: 7e6c957fea
am: 8977c4ce49
-s ours
...
am skip reason: Change-Id I493f2a2c7f4bc32b3fcb8ab2bace5839d8667bd5 with SHA-1 0393bbcc85
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1394549
Change-Id: If755e66d86fb32a43a36c74a2bf37e94694f7fa4
2020-08-10 11:43:42 +00:00
Bonian Chen
8977c4ce49
Merge "Show/hide 5G preferred network type also consider allowed_network_type" am: 7e6c957fea
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1394549
Change-Id: Idb1032b0e1513650da785866e85eef4bff64827f
2020-08-10 11:21:00 +00:00
Bonian Chen
db42e97e81
[automerger skipped] Merge "Remove PreferenceCategory wrapper" am: 75124d794c
am: 80b3bb5141
-s ours am: cfe7584cec
-s ours
...
am skip reason: Change-Id I6f4698304210bacba5c76020c375dda49330d2cc with SHA-1 896de3b48b
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1394552
Change-Id: I235aaed5dce0a37f429db30ffb6b16a417a8f94d
2020-08-10 11:09:23 +00:00
Bonian Chen
7e6c957fea
Merge "Show/hide 5G preferred network type also consider allowed_network_type"
2020-08-10 11:07:41 +00:00
Bonian Chen
cfe7584cec
[automerger skipped] Merge "Remove PreferenceCategory wrapper" am: 75124d794c
am: 80b3bb5141
-s ours
...
am skip reason: Change-Id I6f4698304210bacba5c76020c375dda49330d2cc with SHA-1 896de3b48b
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1394552
Change-Id: I012950d0a764a1655ca06e89dd9e98962f386a17
2020-08-10 10:52:15 +00:00
Bonian Chen
80b3bb5141
Merge "Remove PreferenceCategory wrapper" am: 75124d794c
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1394552
Change-Id: Ia40d77f7daf669323275aab1b05ba81a14c5f499
2020-08-10 10:31:58 +00:00
Bonian Chen
75124d794c
Merge "Remove PreferenceCategory wrapper"
2020-08-10 10:12:14 +00:00
Raff Tsai
91d40cdb21
Remove PreferenceCategory wrapper
...
- Avoid similiar issue in b/130396913
Bug: 124129485
Test: manual
Merged-In: I6f4698304210bacba5c76020c375dda49330d2cc
Change-Id: I9d5d856f586ab660a5adb17c0bb1f49e90eca198
2020-08-10 17:03:13 +08:00
Fan Zhang
f609df425d
Add interface and extend db to support storing slice uris
...
Bug: 126222433
Test: manual
Merged-In: Ie81e69477d297aa96a0daad02d56196c956271a3
Change-Id: Ifdae6fc47dc078ba83c211d07d6028f00f11e6f2
2020-08-10 16:50:21 +08:00
Josh Hou
abe032ea66
Show/hide 5G preferred network type also consider allowed_network_type
...
1. The carrier or privileged apps will enable/disable network types on
the device, so Settings references the allowed network type to show/hide
5G preferred network type option.
2. For mainline, copy the getNetworkTypeFromRaf() from RadioFamily to
Settings.
Bug: 136730709
Test: Manual test & EnabledNetworkModePreferenceControllerTest
1. Enable allowed_network_type
2. Disable allowed_network_type
Merged-In: I493f2a2c7f4bc32b3fcb8ab2bace5839d8667bd5
Change-Id: Id591f454a60d0ba08c3fc4a2ffe40836dafeb5f0
2020-08-10 16:18:36 +08:00
Bonian Chen
f774cdf0ee
[automerger skipped] Merge "[Settings] Code refactor" am: d1998a6fe8
am: caf6ede5f7
-s ours am: a3e98a699e
-s ours
...
am skip reason: Change-Id I256870483d85bf7000556357071834cad24884d1 with SHA-1 1df6c9cdd4
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393366
Change-Id: I81d83289d2daf8a13677c0aba58e81cfcb587656
2020-08-10 07:57:03 +00:00
Bonian Chen
a3e98a699e
[automerger skipped] Merge "[Settings] Code refactor" am: d1998a6fe8
am: caf6ede5f7
-s ours
...
am skip reason: Change-Id I256870483d85bf7000556357071834cad24884d1 with SHA-1 1df6c9cdd4
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393366
Change-Id: Ia52ca5268d3eaa380df4e5eb90329cd7210aade9
2020-08-10 07:36:17 +00:00
Bonian Chen
caf6ede5f7
Merge "[Settings] Code refactor" am: d1998a6fe8
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393366
Change-Id: Ie2a82c86d1ad63e92bebf69b0f98939a0b33f87e
2020-08-10 07:20:10 +00:00
SongFerng Wang
a19f93e7f6
Merge "Manual selection item's data icon is wrong" into rvc-d1-dev am: ddc238c15e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12326249
Change-Id: I5b0386cc82ff7fc8383cd5eebab929e0d8a6458a
2020-08-10 07:09:03 +00:00
Bonian Chen
d1998a6fe8
Merge "[Settings] Code refactor"
2020-08-10 07:02:46 +00:00
SongFerng Wang
ddc238c15e
Merge "Manual selection item's data icon is wrong" into rvc-d1-dev
2020-08-10 06:52:48 +00:00
Bonian Chen
efb6d09d0f
[automerger skipped] Merge "Replaced reference to setPreferredNetworkType" am: c1ec7f1fea
am: d97cb511ac
-s ours am: daa07ea2d6
-s ours
...
am skip reason: Change-Id I8ae86595b104dcd16daacbf52cc8eaa5e7a3d08b with SHA-1 3555e1707a
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393368
Change-Id: I6292dce2e89cbff4486490af0ae08115478b855a
2020-08-10 06:46:52 +00:00
Bonian Chen
daa07ea2d6
[automerger skipped] Merge "Replaced reference to setPreferredNetworkType" am: c1ec7f1fea
am: d97cb511ac
-s ours
...
am skip reason: Change-Id I8ae86595b104dcd16daacbf52cc8eaa5e7a3d08b with SHA-1 3555e1707a
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393368
Change-Id: I4fe7fe78122bfd753f9c407a5e3013c0886d4623
2020-08-10 06:27:20 +00:00
Bonian Chen
d97cb511ac
Merge "Replaced reference to setPreferredNetworkType" am: c1ec7f1fea
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393368
Change-Id: I252c98b9f0f17c42cd8b38d724a68d22db3626ca
2020-08-10 06:10:02 +00:00
Bonian Chen
c1ec7f1fea
Merge "Replaced reference to setPreferredNetworkType"
2020-08-10 05:51:23 +00:00
Bill Yi
ca593c59ba
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6e85177b1bc1790aa8af1563db011d61249a4056
2020-08-09 09:26:09 -07:00
Bill Yi
064ba89fc3
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 80d8d4d07c
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12334452
Change-Id: I8e3eb6c072488fdc33fae1ebabd17980a67f5d7d
2020-08-08 19:57:42 +00:00
Bill Yi
80d8d4d07c
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9584a9b4b73a955be75ed4957eeb01e88a6c745a
2020-08-08 15:32:24 +00:00
Jay Aliomer
b569dfdac8
Time for dark theme doesnt format 24 hr correctly
...
Fixes: 163048376
Test: Manual
Change-Id: Ia6c2633408670656c2b42bfb724aaf900561682e
2020-08-07 23:43:09 +00:00
TreeHugger Robot
203bb3924e
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev am: 1da29b3f77
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12331170
Change-Id: Ia45d69e65757280f755404f1209c12ac5b17ba59
2020-08-07 15:01:27 +00:00
TreeHugger Robot
1da29b3f77
Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev
2020-08-07 14:45:54 +00:00
Sneh Bansal
da432283cf
Prevent errors when updating operator pref summary
...
The response for manual network selection request may come after the
fragment that displays the search results is already destroyed, say
when the user moves out of the results screen. In this case, attempting
to update the summary for the chosen operator preference leads to an
exception.
Check whether the preference to be updated is still valid before
attempting to update its summary.
Bug: 161422555
Test: Manually tested - verified that no exception was thrown when the
response of manual network selection request was received after the
fragment was destroyed.
Change-Id: I087c0e101fa75f229bc4353defbb14e8bf30153f
2020-08-07 16:34:48 +08:00
Bonian Chen
e3f6b13fb0
[Settings] Code refactor
...
Remove unused import
Bug: 10956255
Test: build pass
Merged-In: I256870483d85bf7000556357071834cad24884d1
Change-Id: Iced417b1e84ac082ec9bdffb0634ca9d4597e9e1
2020-08-07 07:51:35 +00:00
Bonian Chen
e6ba59fc7b
[automerger skipped] Merge "Remove the second network scan." am: 99a7c3ef00
am: 7f567d422b
-s ours am: 6343b81231
-s ours
...
am skip reason: Change-Id If593fc4a4dd463bbc178b4864ad0ba01bb421b09 with SHA-1 b7f98f7667
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393365
Change-Id: Ie22e3768e0b311d7b27e02740271e51ee951895b
2020-08-07 07:37:09 +00:00
Bonian Chen
e3cb875f3f
[automerger skipped] Merge "The text on toast should be changed when remains 1 time for SIM lock input" am: 37a0c3873f
am: 4d01040160
-s ours am: f1dbf2bd5e
-s ours
...
am skip reason: Change-Id If4b53bbbc6b51582bc0837abf4497d9a75ebbaad with SHA-1 9c69ded434
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393239
Change-Id: I861eaf0ca9e26c3793169399f287cfc6351e312b
2020-08-07 07:37:01 +00:00
SongFerngWang
1dc9ae1f34
Manual selection item's data icon is wrong
...
If level is the same previous level, the icon didn't updated.
Bug: 162505961
Test: fake the list and check item's icon. PASS
Change-Id: I6c40bfb40fe0d1c5d576b8cc0bc5190d9ab3ef04
2020-08-07 07:35:13 +00:00
Bonian Chen
6343b81231
[automerger skipped] Merge "Remove the second network scan." am: 99a7c3ef00
am: 7f567d422b
-s ours
...
am skip reason: Change-Id If593fc4a4dd463bbc178b4864ad0ba01bb421b09 with SHA-1 b7f98f7667
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393365
Change-Id: I242f384a9374e8d0b8c7a4121839140ab1d174fc
2020-08-07 07:26:44 +00:00
Bonian Chen
f1dbf2bd5e
[automerger skipped] Merge "The text on toast should be changed when remains 1 time for SIM lock input" am: 37a0c3873f
am: 4d01040160
-s ours
...
am skip reason: Change-Id If4b53bbbc6b51582bc0837abf4497d9a75ebbaad with SHA-1 9c69ded434
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393239
Change-Id: Ie88640e9331b88eb45be68242ee9cdbfb5d752a7
2020-08-07 07:26:31 +00:00
Bonian Chen
7f567d422b
Merge "Remove the second network scan." am: 99a7c3ef00
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393365
Change-Id: I84fd87b8ce8f116ba291159c2cf8e39198d05c2b
2020-08-07 07:16:37 +00:00
Bonian Chen
4d01040160
Merge "The text on toast should be changed when remains 1 time for SIM lock input" am: 37a0c3873f
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393239
Change-Id: I5b928212912c02f46f2e1d1edcd95cb8b45c5499
2020-08-07 07:16:25 +00:00
Bonian Chen
f9aea105d9
[automerger skipped] Merge "Add NR Global to the logic to check if it is Global" am: 64c40305b4
am: 9a5a1eabb6
-s ours am: c753471a4d
-s ours
...
am skip reason: Change-Id I4d84c6669d6385bef5d75fca4cd6f2ff17533b6e with SHA-1 ff11f200c8
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393367
Change-Id: Idbc41dca5d8479be2ef7d4573c4ffd756eb1162b
2020-08-07 07:16:20 +00:00
Bonian Chen
99a7c3ef00
Merge "Remove the second network scan."
2020-08-07 07:06:31 +00:00
Bonian Chen
37a0c3873f
Merge "The text on toast should be changed when remains 1 time for SIM lock input"
2020-08-07 07:04:36 +00:00
Bonian Chen
c753471a4d
[automerger skipped] Merge "Add NR Global to the logic to check if it is Global" am: 64c40305b4
am: 9a5a1eabb6
-s ours
...
am skip reason: Change-Id I4d84c6669d6385bef5d75fca4cd6f2ff17533b6e with SHA-1 ff11f200c8
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393367
Change-Id: I90e103ef95b51c2f8736fa95b81d0259e8d7f51a
2020-08-07 07:04:08 +00:00
Lee Chou
4fd08a2145
Replaced reference to setPreferredNetworkType
...
replaced with @SystemApi setPreferredNetworkTypeBitmask
Bug: 147405973
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnabledNetworkModePreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=PreferredNetworkModePreferenceControllerTest
Merged-In: I8ae86595b104dcd16daacbf52cc8eaa5e7a3d08b
Change-Id: Ia66cfc8fe109cfc038a8b53969bcd562727dbbc2
2020-08-07 14:59:38 +08:00
Bonian Chen
9a5a1eabb6
Merge "Add NR Global to the logic to check if it is Global" am: 64c40305b4
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1393367
Change-Id: I079dd54dd80f39853861f7a27ec9ac24404cc494
2020-08-07 06:54:41 +00:00
Bonian Chen
64c40305b4
Merge "Add NR Global to the logic to check if it is Global"
2020-08-07 06:42:10 +00:00
Automerger Merge Worker
b9d1376ec0
Merge "[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: 37a3d091ba
-s ours am: ad4bd4cb82
-s ours" into rvc-d1-dev-plus-aosp
2020-08-07 06:30:00 +00:00
TreeHugger Robot
6346c7bb6a
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: 37a3d091ba
-s ours am: ad4bd4cb82
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12329706
Change-Id: I0db72980918e2023eec9f0518b7892faecd7e971
2020-08-07 06:29:56 +00:00
TreeHugger Robot
33b59d400c
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: 37a3d091ba
-s ours am: 27f7aae886
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12329706
Change-Id: Icb1c4448cf88e7cbec93af2ec14265d8ad26b49f
2020-08-07 06:29:50 +00:00
Tsung-Mao Fang
d042a9f2d3
The text on toast should be changed when remains 1 time for SIM lock input
...
The behavior of getQuantityString() is different according to language, it gets both "other" and "one" string if English is system language. But it always gets "other" string if non-English, then the "other" string of wrong_pin_code is shown even if remains 1 time of SIM lock input.
In order to change the string in any language, we add new string for remains 1 time.
Test: Rebuild rom
Fix: 71783850
Merged-In: If4b53bbbc6b51582bc0837abf4497d9a75ebbaad
Change-Id: I1c069333b19399b727e10ed4a6c9483cc1bc44a6
2020-08-07 06:19:07 +00:00
TreeHugger Robot
ad4bd4cb82
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: 37a3d091ba
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12329706
Change-Id: I2bc4c3c0c35498d042201c276bbf9284141bf94c
2020-08-07 06:17:01 +00:00