Commit Graph

79296 Commits

Author SHA1 Message Date
SongFerngWang
60c4163244 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
2021-01-20 08:23:08 +00:00
Peter Wang
7e8d24e073 Add an intent filter for MobileNetworkListActivity to enable access
from the LPA

Bug: 170507492
Test: Local
Change-Id: I6e87d3a3c75c832354c3a3ad407889e8d2701cbd
Merged-In: I6e87d3a3c75c832354c3a3ad407889e8d2701cbd
2021-01-19 22:21:45 -08:00
Jeremy Goldman
1f09c95571 Merge "Helper function to return the unique name for subscription info" 2021-01-20 00:14:41 +00:00
Peter Wang
0044fee7cb Add an intent filter for MobileNetworkListActivity to enable access
from the LPA

Bug: 170507492
Test: Local
Change-Id: I6e87d3a3c75c832354c3a3ad407889e8d2701cbd
2021-01-19 15:18:14 -08:00
TreeHugger Robot
844bfb3683 Merge "Fix null handling" 2021-01-19 21:14:40 +00:00
Abel Tesfaye
fc2582c0ea Merge "Correct Wifi Share UI margins and capitalization" 2021-01-19 20:00:49 +00:00
Julia Reynolds
833514376e Fix null handling
Test: cts verifier, notification listener
Fixes: 177202279
Change-Id: Ib25915b0b5a60e9c39986d3ba3af3073e9d2b822
2021-01-19 14:48:52 -05:00
TreeHugger Robot
544310993e Merge "Update FingerprintEnrollFindSensor for UDFPS" 2021-01-19 17:51:32 +00:00
Mill Chen
057ce4055e Update FingerprintEnrollFindSensor for UDFPS
Since the education page of UDFPS is different from the one for rear
fingerprint, it's necessary to create a new education page for UDFPS and
update the decription.

Bug: 177026524
Test: visual verified
Change-Id: I70eb80484cccfbb583c32dbaadbc6c2744b5db60
2021-01-20 00:01:35 +08:00
Jeremy Goldman
67c75ac102 Helper function to return the unique name for subscription info
Many classes within Settings have access to the subscription info, rather
than only having access to the subscription id. For these classes, it is
more convenient to have a helper method where the whole subscription
info can be passed in, rather than having to call the
getSubscriptionId() helper method in so many locations within the
telephony settings codebase.

Bug: 150370656
Bug: 148303118
Test: atest -c SubscriptionUtilTest
Change-Id: I181960933ab8610d5572b7a7d6671fab8c1dbd22
2021-01-19 09:30:14 +00:00
TreeHugger Robot
119bbbd308 Merge "[Provider Model] Add Fix connectivity toggle to Internet Settings" 2021-01-19 07:28:18 +00:00
Weng Su
598934d645 [Provider Model] Add Fix connectivity toggle to Internet Settings
- Add Fix connectivity toggle in menu item

- Show "Resetting your internet..." when recovering

- Screenshot:
  https://screenshot.googleplex.com/BPyRADfNUoPE8Dc

Bug: 172297799
Test: manual test
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I27594d24659ca281e224f86accc20d49514d5001
2021-01-19 06:08:53 +00:00
SongFerng Wang
8ee28c1baa Merge changes I79b4c3d4,Icc8a7793
* changes:
  [Provider mode] Carrier item display network type on slice.
  The provider model slice carrier toggle is broke.
2021-01-19 05:55:17 +00:00
Colin Cross
52033e133a Merge changes from topic "revert-13183140-SettingsGoogle-bp-NMIISXZYTU"
* changes:
  Revert "Export proguard.flags, manifest and sources for use by S..."
  Revert "Build Settings-robo-testutils for use by SettingsGoogleR..."
2021-01-19 05:28:29 +00:00
Colin Cross
3e2426ca79 Revert "Export proguard.flags, manifest and sources for use by S..."
Revert submission 13183140-SettingsGoogle-bp

Reason for revert: b/177766209
Reverted Changes:
I73bef76ec:Add ArcSettings and SettingsGoogle to the legacy a...
I385629c5c:Build Settings-robo-testutils for use by SettingsG...
I863e1d658:Convert ArcSettings to Android.bp
If095bc39d:Convert SettingsGoogleRoboTests to Android.bp
I8d3f32cd4:Convert SettingsGoogle tests to Android.bp
I7ddeb985c:Convert SettingsGoogle to Android.bp
I3b8223e64:Export elmyra and columbus aidl files for Settings...
I3d2f042a9:Export proguard.flags, manifest and sources for us...

Change-Id: I9da85caeb3a53cf7ac3216c4b34985423b997fd2
2021-01-19 05:23:08 +00:00
Colin Cross
17e5233cdb Revert "Build Settings-robo-testutils for use by SettingsGoogleR..."
Revert submission 13183140-SettingsGoogle-bp

Reason for revert: b/177766209
Reverted Changes:
I73bef76ec:Add ArcSettings and SettingsGoogle to the legacy a...
I385629c5c:Build Settings-robo-testutils for use by SettingsG...
I863e1d658:Convert ArcSettings to Android.bp
If095bc39d:Convert SettingsGoogleRoboTests to Android.bp
I8d3f32cd4:Convert SettingsGoogle tests to Android.bp
I7ddeb985c:Convert SettingsGoogle to Android.bp
I3b8223e64:Export elmyra and columbus aidl files for Settings...
I3d2f042a9:Export proguard.flags, manifest and sources for us...

Change-Id: I2efd60ab1e64370dbd0e277b7e92c177374ceb36
2021-01-19 05:23:08 +00:00
SongFerngWang
c14eefb125 [Provider mode] Carrier item display network type on slice.
Bug: 176871752
Test: (PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest

Change-Id: I79b4c3d45a52f0be0c058044f1d79a7056386193
2021-01-19 12:23:22 +08:00
SongFerngWang
f3b25cc7cb The provider model slice carrier toggle is broke.
The slice doesn't upload subId for TelephonyManager and
the listeners.

Bug: 177385874
Test: (PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest

Change-Id: Icc8a7793204de2e2eadd0454edf50e466821b8f9
2021-01-19 11:58:58 +08:00
Bonian Chen
23ee815ef5 Merge "[Settings] Remaining part of Cross SIM calling (backup calling)" 2021-01-18 14:13:14 +00:00
Bonian Chen
26552500f6 [Settings] Remaining part of Cross SIM calling (backup calling)
1. Change the wording
2. Add a list of summary within Calls and SMSs UI

Bug: 174012397
Test: manual
Change-Id: I6dde0cea9c1386029377b3ea2682ed8b977f9427
2021-01-18 20:41:39 +08:00
Weng Su
1ab70837d2 Merge "[Provider Model] Connect carrier network issue fix" 2021-01-18 12:09:47 +00:00
TreeHugger Robot
c415e0d9cc Merge "Workaround Wi-Fi Settings NullPointerException" 2021-01-18 10:07:48 +00:00
Bonian Chen
7c22644825 Merge "[Settings] Initial config UI support for cross sim calling" 2021-01-18 09:49:04 +00:00
Weng Su
99eb12048c Workaround Wi-Fi Settings NullPointerException
- Add null pointer checking to avoid unexpected crash.

Bug: 177782266
Test: manual test
Change-Id: I2d9ce1777adbc80bb6c40b7bb830de12bb0a9748
2021-01-18 08:54:23 +00:00
Weng Su
99dbb43f0c [Provider Model] Connect carrier network issue fix
- Need to check if the data is enabled on the second SIM in the case of
dual SIM.

Bug: 177411771
Test: manual test
Change-Id: Ieead7a4550628d5380b8d0150cfd7a67c47980ca
2021-01-18 07:59:50 +00:00
Bonian Chen
5e12677d00 [Settings] Initial config UI support for cross sim calling
This is the initial configuration UI support for cross SIM calling.

Mock UI: https://docs.google.com/presentation/d/1u9eO9Fs2_kr1mqkzyVe-_iNldM6OBv4ucmhUTr3Z-0w/edit?resourcekey=0-siV3RVBkI_fjH8mMWHbtHg#slide=id.gb4a3581a82_0_0
Screenshot: https://screenshot.googleplex.com/3QX3Y6vAhBYv7LC

Bug: 174012397
Test: manual
Change-Id: Id96b72054bee9b3359e5336cc90acbff7e6d78ea
2021-01-18 15:36:27 +08:00
Bill Yi
334e0f43e8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5781b721a5b71cb3ee6fed75208e1d89539ee821
2021-01-17 10:50:04 +00:00
Colin Cross
88ffca9af9 Merge "Build Settings-robo-testutils for use by SettingsGoogleRoboTests" 2021-01-16 01:45:52 +00:00
Colin Cross
d7ff631bc1 Merge "Export proguard.flags, manifest and sources for use by SettingsGoogle" 2021-01-16 01:45:52 +00:00
TreeHugger Robot
535da9c98d Merge "Revert^2 "Expose role API for Settings on RoleManager."" 2021-01-16 00:20:00 +00:00
Abel Tesfaye
cb03fb955f Correct Wifi Share UI margins and capitalization
Test: locally with crosshatch

Bug: 176926579
Change-Id: Ida59174f93ae696e4f2a91c353cf9b1649f1faac
2021-01-15 20:15:45 +00:00
Tom Hsu
7c8e8eb6c2 Merge "[Provider mode] Display network type on mobile data preference." 2021-01-15 19:47:17 +00:00
TreeHugger Robot
35a2791ac2 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-15 19:19:53 +00:00
TreeHugger Robot
fa0809fb9d Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-15 18:33:11 +00:00
TreeHugger Robot
562aabf93d Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-15 18:29:44 +00:00
tom hsu
b392d43fff [Provider mode] Display network type on mobile data preference.
Connect to 5G mobile network
  - https://screenshot.googleplex.com/8RziSbSjstMaFiK
 Connect to Wi-Fi
  - https://screenshot.googleplex.com/6ND3DFFsnLKSQRd

Bug: 176141828
Test: Manual test passed.
Test: Atest passed

Change-Id: I69b8ce0c1f5a16f0ff492be0b4ab26166a51bdc3
2021-01-16 01:56:39 +08:00
Bill Yi
0df2d56e78 Merge changes from topic "presubmit-am-f6d8cfa57c9a4f2e8262bec345cf6a18"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 65dbe17add
  Import translations. DO NOT MERGE ANYWHERE
2021-01-15 17:09:15 +00:00
TreeHugger Robot
65251cb82b Merge "Refine behaviors of new app page" 2021-01-15 16:33:51 +00:00
Bill Yi
810e6d49a1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5f6bc4e337cd9bab774f82cf3ec9eafce5cd807e
2021-01-15 14:58:29 +00:00
Yanting Yang
45b8181f46 Refine behaviors of new app page
- Make the new app page unsearchable when the silky home is disable.
- Add Special app access back since the move action is not confirmed.
- Update preference keys to fix the search conflict with old app page.

Bug: 174964405
Test: robotest & visual on Settings Search
Change-Id: If92b084170ef0694d034ddde786f333b4b576572
2021-01-15 22:42:37 +08:00
TreeHugger Robot
8277a0f7dd Merge "Update homepage notification background color" 2021-01-15 14:26:33 +00:00
TreeHugger Robot
6b1e7c616d Merge "Remove both help and search icons from toolbar of wifi calling" 2021-01-15 12:43:21 +00:00
Yanting Yang
daca263f46 Update homepage notification background color
Bug: 177213699
Test: visual
Change-Id: Ifc49145551d984567a42c0df5e944f23a8cb8a54
2021-01-15 20:25:55 +08:00
Mill Chen
b126caa0e7 Remove both help and search icons from toolbar of wifi calling
On Android S, both help and search icons will be removed from each
toolbar of subsetting page. Using a feature flage to turn on/off these
menu items. After the collaping toolbar feature rolled out, the option
menu of toolbar will be removed entirely.

Bug: 177640645
Test: visual verified
Change-Id: I005fe85f23f8d28b3a6ca273ddb86ad3390ee0da
2021-01-15 19:01:03 +08:00
Yanting Yang
d4ed8b2f81 Merge "Create a new apps page for silky home" 2021-01-15 10:57:58 +00:00
TreeHugger Robot
0cb063c9e4 Merge "Remove redundant toolbar from CollapsingToolbarLayout" 2021-01-15 10:21:38 +00:00
TreeHugger Robot
5d7f5ddf18 Merge "Remove help icon from the toolbar of App info page" 2021-01-15 10:20:12 +00:00
TreeHugger Robot
f10d5d29bb Merge "Fix crash when enter Special Access settings" 2021-01-15 09:23:47 +00:00
Weng Su
7686bf26dc Merge "[Provider Model] View airplane mode networks button" 2021-01-15 08:32:59 +00:00
Bill Yi
d63dd2b366 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d0e76c6245 -s ours am: f1d3def534 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I85e07f70a6648efe648652700470acebe4017a7e
2021-01-15 08:32:42 +00:00