tim peng
cd4df5a1d3
Merge "Add the explicitly mutable flag for creating a PendingIntent in MediaOutputSlice" into rvc-qpr-dev am: d082221652
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13241059
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia9a1679a3b154e0aba27a01d1ad42f407e3d58a4
2021-03-05 04:25:29 +00:00
Weng Su
9da6b6f4ae
[automerger skipped] [Security Report] Fix Settings WifiScanModeActivity Overlaid issue am: faa5f6b5f6
-s ours
...
am skip reason: Change-Id Ia7acad6d456ce5ebea2d982d4cb063d4f28cbfff with SHA-1 05d6fa9bcb
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13448945
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I120f48d18c1591b5d1e1b1182e4ce06d9babbb7a
2021-03-05 04:24:50 +00:00
Zoey Chen
bf1857e4a5
[Telephony] Use TelephonyCallback instead of PhoneStateListener part5
...
Since the redesign of PhoneStateListener, use TelephonyCallback to get the callback of EVENT_*
Bug: 167684594
Test: make and atest NetworkProviderWorkerTest
Change-Id: I52af54045872bbf13e64d5d94c8b027ec702abb9
Merged-In: I52af54045872bbf13e64d5d94c8b027ec702abb9
2021-03-05 11:46:46 +08:00
Tom Hsu
1db2d1a25b
Merge "[Provider Model] Fix preference summary not update." into sc-dev
2021-03-05 03:25:59 +00:00
Janis Danisevskis
3c7b085331
Merge "Keystore 2.0: Make Legacy VPN settings ready for Keystore 2.0"
2021-03-05 02:57:34 +00:00
Abel Tesfaye
61aa289dac
Merge "Instrument metrics for smart-auto-rotate and screen timeout" into sc-dev
2021-03-05 02:39:02 +00:00
Sunny Shao
8bd543fce4
Add strings for new Intent Picker
...
bug: 177923646
Test: compilation
Change-Id: Icbd17a2979d0bb135e03103f27a205590cb843b9
2021-03-05 10:29:50 +08:00
tim peng
d082221652
Merge "Add the explicitly mutable flag for creating a PendingIntent in MediaOutputSlice" into rvc-qpr-dev
2021-03-05 02:03:05 +00:00
SongFerng Wang
6775f40664
Merge "Replace allowedNetworkTypes with allowedNetworkTypesForReason"
2021-03-05 01:59:53 +00:00
Yomna Nasser
6adc5ab334
Add metrics to Enable2gPreferenceController.
...
Test: m & atest -c Enable2gPreferenceControllerTest & statsd_testdrive 97
Bug: b/181699391
Change-Id: I1ad860937cec7594c482706cadd853b115436594
2021-03-05 01:18:40 +00:00
TreeHugger Robot
dd6255a653
Merge changes from topic "jr_device" into sc-dev
...
* changes:
Update NLS listing page
Add device list to NLS pages
Add icons to NLS mgmt page
2021-03-05 01:02:02 +00:00
Treehugger Robot
32d2075fa3
Merge "Keystore 2.0: Update Wifi settings to use mostly public keystore API."
2021-03-05 00:02:28 +00:00
TreeHugger Robot
e0a922612f
Merge "[Security Report] Fix Settings WifiScanModeActivity Overlaid issue" into rvc-dev
2021-03-04 23:48:51 +00:00
Weng Su
f71502fb10
[Security Report] Fix Settings WifiScanModeActivity Overlaid issue am: 05d6fa9bcb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13468308
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I578a0db27ddf400017d53edadcb13938f398210b
2021-03-04 23:05:59 +00:00
Abel Tesfaye
029c095720
Fix long press auto rotate implementation bug
...
Test: locally with flame
Bug: 181741815
Change-Id: I8090471f8c6dbd8e6e4edb4f838779c901c4791b
2021-03-04 23:01:51 +00:00
TreeHugger Robot
74d540f8f0
Merge "[Provider Model] Ethernet default network with APM enabled on Panel" into sc-dev
2021-03-04 22:46:37 +00:00
Julia Reynolds
ddf1958bdc
Update NLS listing page
...
- Organized by allowed/not allowed
- Include paired devices if there are any
Test: settings robotests
Fixes: 181125174
Change-Id: Id64ee0ebd9b40a92d54a03d92fec3ff0bb3b926d
2021-03-04 20:54:10 +00:00
Abel Tesfaye
9481334a6a
Instrument metrics for smart-auto-rotate and screen timeout
...
Test: locally with flame
Bug: 172974834
Change-Id: Id6927e749049c88e4efea2d69f93b9d397acc1c1
2021-03-04 20:01:36 +00:00
Jimmy Chen
e82e80450c
wifi: add WPA3 Enterprise entry in "Add network"
...
Bug: 174569407
Test: checked UI manually and stored configurations.
Change-Id: I8a05bbb11e4a363c39a71d26513caf727d228b36
2021-03-05 03:06:17 +08:00
Yi Jiang
c08943784c
Merge "Adds 'more details' hyper link." into sc-dev
2021-03-04 18:11:11 +00:00
Julia Reynolds
ef6646458b
Add device list to NLS pages
...
If a notification listener has access via the
companion device manager api, list the name(s) of the
associated devices to give the user more context about
why the app has notification listener access.
Test: settings unit
Bug: 181125174
Change-Id: I01771b2c4e136fe16d23e89f33f85f63803e3f7c
2021-03-04 15:31:35 +00:00
Julia Reynolds
84d83e2923
Add icons to NLS mgmt page
...
Test: manual
Fixes: 181125169
Change-Id: Id8340db5f2901947c4e63e459aad1fee52437a9f
2021-03-04 15:31:25 +00:00
SongFerng Wang
18a6887811
[automerger skipped] Merge changes Ia99a4cf4,Ib31e23b8 am: 191136002b
am: d5ff766ed8
am: 1cb02f5e0d
-s ours
...
am skip reason: Change-Id Ia99a4cf4618fcb32162485e7da5e48e3b313ce67 with SHA-1 216b346438
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1618689
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iec2ac0ac303394d15d5540c6050ea9ecc989e3ff
2021-03-04 14:48:19 +00:00
SongFerngWang
351a28418c
[automerger skipped] Use SubscriptionManager.getResourcesForSubId to get Resources am: 766f78e8ed
am: 18c15a2545
am: 959454f32a
-s ours
...
am skip reason: Change-Id Ib31e23b81bdbd3b5336b45fc73994f40d021718b with SHA-1 d4a25fd13a
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1618688
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I87e7116e1731b417e605330d2ddf5a5f1b594862
2021-03-04 14:48:16 +00:00
Stanley Wang
a380b04d7b
Merge "Fix that when scrolling to the top on Wi-Fi page, the "Turn off SIM" notification will pop up." into sc-dev
2021-03-04 14:12:47 +00:00
SongFerng Wang
1cb02f5e0d
Merge changes Ia99a4cf4,Ib31e23b8 am: 191136002b
am: d5ff766ed8
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1618689
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I298f46dd7e44e63141b91ccdd67ea7ebbefc9015
2021-03-04 13:45:19 +00:00
SongFerngWang
959454f32a
Use SubscriptionManager.getResourcesForSubId to get Resources am: 766f78e8ed
am: 18c15a2545
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1618688
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2de84a9f2ee32569f71fd46fc87a448237147d02
2021-03-04 13:45:18 +00:00
Victoria Lestari
765edb60a3
VoiceInputHelper should not show recognition service if it's not selectable as default
...
Bug: 175429607
Change-Id: I47413e620ed65cf5556a9083bec1e1b2407f4783
2021-03-04 13:29:13 +00:00
tom hsu
edaeb41ff7
[Provider Model] Fix preference summary not update.
...
- When activity enter onPause, the status will not update, then
sub id of TelephonyManager keep same value after activity go back.
- Solution: Everytime update the UI, and always get new
TelephonyManager with the latest sub id.
Bug: 181196545
Test: atest passed.
Test: Manual test passed.
Change-Id: I1d65bbc06af66b97b6c85f40bed394da03213d06
2021-03-04 21:26:57 +08:00
SongFerng Wang
d5ff766ed8
Merge changes Ia99a4cf4,Ib31e23b8 am: 191136002b
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1618689
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ife74a181399e5c10866b92663f56a2e0077bc9c4
2021-03-04 13:11:01 +00:00
SongFerngWang
18c15a2545
Use SubscriptionManager.getResourcesForSubId to get Resources am: 766f78e8ed
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1618688
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0892ae8b68eff489e2274aad56588d3c918a369e
2021-03-04 13:10:46 +00:00
Stanley Wang
c4d839e3df
Merge "Fix the overlap issue of MainSwitch and list view." into sc-dev
2021-03-04 11:44:38 +00:00
Calvin Pan
41a7293038
Merge "Show VoLTE UI when VoIMS opt-in enabled" into sc-dev
2021-03-04 11:33:47 +00:00
SongFerngWang
fc435e3736
Replace allowedNetworkTypes with allowedNetworkTypesForReason
...
- Replace getAllowedNetworkTypes with
getallowedNetworkTypesForReason(ALLOWED_NETWORK_TYPES_REASON_CARRIER)
- Replace "Settings.Global.PREFERRED_NETWORK_MODE" with
"getAllowedNetworkTypesForReason(USER)"
- Move EnabledNetworkModePreferenceControllerTest from robotests to unit
- Replace KEY_NR_ENABLED_BOOL with KEY_CARRIER_NR_AVAILABILITY_INT
- Rename PreferredNetworkModeContentObserver to AllowedNetworkTypesListener
Bug: 161434786
Test: build pass.
(PASS)atest CdmaSystemSelectPreferenceControllerTest
(PASS)atest PreferredNetworkModePreferenceControllerTest
(PASS)atest AllowedNetworkTypesListenerTest
(PASS)atest EnabledNetworkModePreferenceControllerTest
(PASS)atest MobileNetworkUtilsTest
Change-Id: I2b981569ad11cf70a558c1952cc2e077464328d8
Merged-In: I2b981569ad11cf70a558c1952cc2e077464328d8
2021-03-04 19:20:04 +08:00
SongFerng Wang
191136002b
Merge changes Ia99a4cf4,Ib31e23b8
...
* changes:
[Testcase] To migration DisabledSubscriptionControllerTest
Use SubscriptionManager.getResourcesForSubId to get Resources
2021-03-04 11:13:08 +00:00
Weng Su
698b4b3ca0
[Provider Model] Ethernet default network with APM enabled on Panel
...
- Move the connected Wi-Fi network into Wi-Fi list
- Screenshot:
https://screenshot.googleplex.com/ALgpHTy8RWUYjSk
Bug: 178926547
Bug: 179106406
Test: manual test
atest -c ProviderModelSliceTest
Change-Id: Idd0e0ab52d6fc88633d5b2eddabb00036e077c88
2021-03-04 18:27:54 +08:00
SongFerngWang
1ffba4af4e
[Testcase] To migration DisabledSubscriptionControllerTest
...
1. Use AndroidJunit4 instead of RobolectricTestRunner
2. Use ApplicationProvider instead of RuntimeEnvironment
to get context
3. Change Copy Right
4. remove the mock of PreferenceScreen
Bug: 173003522
Test: atest DisabledSubscriptionControllerTest.java
Change-Id: Ia99a4cf4618fcb32162485e7da5e48e3b313ce67
Merged-In: Ia99a4cf4618fcb32162485e7da5e48e3b313ce67
2021-03-04 09:41:56 +00:00
SongFerngWang
766f78e8ed
Use SubscriptionManager.getResourcesForSubId to get Resources
...
To support multi-SIM card case. The code uses the
SubscriptionManager.getResourcesForSubId to get Resources.
Bug: 171843666
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
EnabledNetworkModePreferenceControllerTest
Change-Id: Ib31e23b81bdbd3b5336b45fc73994f40d021718b
Merged-In: Ib31e23b81bdbd3b5336b45fc73994f40d021718b
2021-03-04 09:41:31 +00:00
Yi Jiang
bc6ec17120
Adds 'more details' hyper link.
...
Adds a 'more details' hyper link in the footer when options are disabled
by admin.
Test: make ROBOTEST_FILTER=ScreenTimeoutSettingsTest RunSettingsRoboTests
Bug: 180314728
Change-Id: I880ccd73f4b2ef0b695619ef42ec87559dc2b65b
2021-03-04 01:19:50 -08:00
SongFerng Wang
fea98ca447
[automerger skipped] Merge changes I89162011,I110727b6,I1778832b am: cbc2c4f102
am: fa58b7e292
am: a0a079ed11
-s ours
...
am skip reason: Change-Id I891620118f7e84aa1c7f9e0ccdaeb21a225dc31a with SHA-1 e18207b951
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614988
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I86a1cd6731be7b0687cd5b0c1ce572c78e90a442
2021-03-04 08:24:02 +00:00
changbetty
3729a80710
[automerger skipped] [Testing] Use AndroidJUnit4 instead in telephony/cdma/ test files am: fbb61ba4d0
am: d64a350d86
am: 44812e5f61
-s ours
...
am skip reason: Change-Id I110727b643a6755ee888708bd1fb2a39cf524a2d with SHA-1 c707b90d0a
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614987
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifcf559468c6fb440e55146aa063712bdcb22880b
2021-03-04 08:24:00 +00:00
changbetty
5630737c58
[automerger skipped] [Testing] Use AndroidJUnit4 instead in MobileNetworkUtilsTest am: 2e763e52cf
am: fec00ac4b7
am: f0ea678e15
-s ours
...
am skip reason: Change-Id I1778832b0602062adb24928343c0c1d0e525942d with SHA-1 fc29bdedc7
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614986
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0171105870be5c18de6f38578158c21c6ef80883
2021-03-04 08:23:57 +00:00
Stanley Wang
b69896ae60
Fix that when scrolling to the top on Wi-Fi page, the "Turn off SIM"
...
notification will pop up.
The root cause of the problem is that the switch preference and
switch bar status are not sync when using setCheckedInternal API.
Fix: 179498532
Test: Run robotest and see the ui
Change-Id: Ib51dc2ef27ce49b9c8ba69eb32757bf6b9945baf
2021-03-04 15:50:47 +08:00
SongFerng Wang
a0a079ed11
Merge changes I89162011,I110727b6,I1778832b am: cbc2c4f102
am: fa58b7e292
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614988
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I68dd01db1ee41b4baf09338872edc8599d892f96
2021-03-04 07:41:45 +00:00
changbetty
44812e5f61
[Testing] Use AndroidJUnit4 instead in telephony/cdma/ test files am: fbb61ba4d0
am: d64a350d86
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614987
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If7cde36e5bc7ca5b0899915eaaaf04c0dd974f22
2021-03-04 07:41:43 +00:00
changbetty
f0ea678e15
[Testing] Use AndroidJUnit4 instead in MobileNetworkUtilsTest am: 2e763e52cf
am: fec00ac4b7
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614986
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I280b6ed2f09e4c040c4563582cee05c3a03c66bc
2021-03-04 07:41:09 +00:00
Hugh Chen
50fc7d15ef
Fix "USB tethering" doesn't work after reconnecting USB
...
Before this CL, if users selects usb tethering option and
reconnects usb it would not start entitlement check.
Because we only start entitlement checks when users select it.
This CL will start entitlement checks when usb tethering option
is selected and reconnects usb.
Bug: 176037347
Test: make -j42 RunSettingsRoboTests
Change-Id: I3a2ad392a1cae9cf97355ef3cd4fb8c23de18673
2021-03-04 15:31:11 +08:00
Stanley Wang
3b70c6c41a
Fix the overlap issue of MainSwitch and list view.
...
This issue happen on Developer and Wi-Fi pages, so the problem
should be solved on SettingsActivity.
Fix: 181341927
Test: Run robotest and see the ui
Change-Id: I57722cfcbeb6390c88101d808429346045e57c92
2021-03-04 15:08:18 +08:00
SongFerng Wang
fa58b7e292
Merge changes I89162011,I110727b6,I1778832b am: cbc2c4f102
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614988
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id800c96a0c41593b68d1718e0eb3b11eaf05538e
2021-03-04 06:48:24 +00:00
changbetty
d64a350d86
[Testing] Use AndroidJUnit4 instead in telephony/cdma/ test files am: fbb61ba4d0
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1614987
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id43b7eb15d35bc2c3730b3118d399c8d4f66424f
2021-03-04 06:48:18 +00:00