Commit Graph

79656 Commits

Author SHA1 Message Date
Lorenzo Colitti
c00fa910ce Merge "Switch Settings from IConnectivityManager to VpnManager." into sc-dev 2021-02-09 03:24:56 +00:00
TreeHugger Robot
a9e3170a54 Merge "[Provider Model] 1. Use the original string for Calls & SMS 2. Set preferred status in Call & SMS" into sc-dev am: 033923a0d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13480085

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib9b96eccf2ea0691b70a3bda5127cb3f9804f118
2021-02-09 01:23:03 +00:00
TreeHugger Robot
5e40d43c20 Merge "Add turn screen darker fragment in a11y settings text and display" into sc-dev am: a97f011ba3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13437251

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2ab8f9c98a6bbd900634a416bf3a02c3e3ba881d
2021-02-09 01:22:11 +00:00
TreeHugger Robot
033923a0d2 Merge "[Provider Model] 1. Use the original string for Calls & SMS 2. Set preferred status in Call & SMS" into sc-dev 2021-02-09 01:09:11 +00:00
TreeHugger Robot
a97f011ba3 Merge "Add turn screen darker fragment in a11y settings text and display" into sc-dev 2021-02-09 00:44:12 +00:00
Chloris Kuo
a58531fb9a Remove NAS adjustments related settings
The default NAS adjustments will be on by default if NAS is enabled.

Test: manual on device
Bug: 179202657
Change-Id: I8cc9e4b17da44c564b682e5064ab5bf974a14492
2021-02-08 16:15:49 -08:00
Sally Yuen
94530389cd Merge "Finalize strings for Reduce Brightness for DP2" into sc-dev am: ab26e13a9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13511333

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id62366a1898a60e82a1f0a2d12b6a14a7abba3d1
2021-02-08 21:06:14 +00:00
Sally Yuen
ab26e13a9a Merge "Finalize strings for Reduce Brightness for DP2" into sc-dev 2021-02-08 20:44:24 +00:00
Abel Tesfaye
a96775c58b Implemented new preference setting screen for face based auto-rotation
Test: locally with phone and make -j64 RunSettingsRoboTests
ROBOTEST_FILTER="com.android.settings.display.SmartAutoRotatePreferenceControllerTest"

Bug: 172857585
Change-Id: I8aaeb9d726ff71f64fd241c01fe2a1268fff927e
2021-02-08 18:21:03 +00:00
TreeHugger Robot
1a9389ab97 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-02-08 18:07:09 +00:00
Peter Kalauskas
c08f49cc3a Revert "Revert "Revert "Show "Add users from lock screen" dependent on secure lock screen."""
This reverts commit fa92269759.

Reason for revert: b/152587665 - Toggle should always be visible

Bug: 152587665
Test: m RunSettingsRoboTests ROBOTEST_FILTER=AddUserWhenLockedPreferenceControllerTest
Change-Id: I93e58b36965387187b4d1ed03ca2f572728157b9
2021-02-08 10:05:20 -08:00
TreeHugger Robot
c380e2959e Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-02-08 17:48:59 +00:00
Zoey Chen
35dcb7c7f1 [Provider Model] 1. Use the original string for Calls & SMS 2. Set preferred status in Call & SMS
1.
UX modify the string in document

Dual SIMs:
    Calls & SMS
    Google Fi (preferred), AT&T

    Calls & SMS
    Google Fi (preferred for calls), AT&T (preferred for SMS)

    Calls & SMS
    Google Fi (Temporarily unavailable), AT&T

Single SIM:
    Calls & SMS
    Temporarily unavailable

2.
UX: https://screenshot.googleplex.com/B9BETTwRoa4mfds.png
Implementation: https://screenshot.googleplex.com/4vxMLBynwdTvhEs.png

Bug: 178916743
Test: make
Change-Id: I444eb0e3361707764dae18b9fa942c7f7a80a2c6
2021-02-09 01:41:09 +08:00
Bill Yi
0ecc636b9f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 4934aa0168 -s ours am: c5bb3e74ff -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2e505a3b3d8e62df76ab930ba08e4847a223bce5
2021-02-08 17:12:00 +00:00
Bill Yi
c5c844ce7f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 432eae5d7b -s ours am: 842217b7a4 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2f84ec81a9bacae27986fb9348afed7c4129dee1
2021-02-08 17:10:51 +00:00
Bill Yi
c5bb3e74ff [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 4934aa0168 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I44fbf6cfb8575b7add5f115ba5cfb074e1fdbada
2021-02-08 16:33:24 +00:00
Bill Yi
842217b7a4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 432eae5d7b -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0c06ab7defb5ec545ec206204d578460c0f207ba
2021-02-08 16:33:19 +00:00
Lorenzo Colitti
b909433528 Switch Settings from IConnectivityManager to VpnManager.
The VPN code is moving out of ConnectivityService to a new
VpnManagerService. Update Settings to call into the VpnManager
class instead of using the AIDL interface directly. This way,
the VPN code can be moved without touching Settings.

Bug: 173331190
Test: builds, boots
Test: manually verified VPN settings page
Change-Id: Id2731a166b5d6783acb1c711a54604b69aa8c0d7
2021-02-09 01:16:29 +09:00
Bill Yi
4934aa0168 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-02-08 15:44:47 +00:00
Bill Yi
6a7fe19588 Merge changes from topic "presubmit-am-c9a406587c154801a55df788e0aa3a13"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 797e1e30e7
  Import translations. DO NOT MERGE ANYWHERE
2021-02-08 15:44:47 +00:00
Bill Yi
1f9bb31660 Merge changes from topic "presubmit-am-5bc9e6a5da284a399ba4d1d58bd3d258"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 432eae5d7b
  Import translations. DO NOT MERGE ANYWHERE
2021-02-08 15:44:39 +00:00
Weng Su
029e2d771e Fix WiFi show "Not connected" always issue
- The WiFi summary is designed to be changed when the
onCapabilitiesChanged() callback is made from the ConnectivityManager,
but there is no guarantee that there will be a callback after the
settings are registered to the ConnectivityManager.

- Need to fatch initial state information to show the correct summary
first when the settings register callback to the ConnectivityManager.

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

Bug: 179335681
Test: manual test
- make RunSettingsRoboTests ROBOTEST_FILTER=WifiSummaryUpdaterTest

Change-Id: Ib5d22bdf34a3832dd5082e6e11cee699694afdee
2021-02-08 23:15:14 +08:00
SongFerngWang
a5035d9ce7 Add NR SA OVERRIDE_NETWORK_TYPE_NR_ADVANCED for TelephonyDisplayInfo
NetworkTypeController set OVERRIDE_NETWORK_TYPE_NR_ADVANCED when
device connect NR and frequency is mmWave.

Bug: 179443240
Bug: 179453836
Test: atest frameworks/opt/telephony/src/java/com/android/internal/telephony/NetworkTypeController.java
atest packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/SimStatusDialogControllerTest.java

Change-Id: Ib95f6a012c0f725335f46e17b8414005a76ad5c9
Merged-In: Ib95f6a012c0f725335f46e17b8414005a76ad5c9
2021-02-08 14:04:18 +00:00
SongFerngWang
961c3184cf Add NR SA OVERRIDE_NETWORK_TYPE_NR_ADVANCED for TelephonyDisplayInfo
NetworkTypeController set OVERRIDE_NETWORK_TYPE_NR_ADVANCED when
device connect NR and frequency is mmWave.

Bug: 179443240
Bug: 179453836
Test: atest frameworks/opt/telephony/src/java/com/android/internal/telephony/NetworkTypeController.java
atest packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/SimStatusDialogControllerTest.java

Change-Id: Ib95f6a012c0f725335f46e17b8414005a76ad5c9
2021-02-08 14:00:26 +00:00
Yanting Yang
d93170a400 Merge "Apply FooterPreference to the sub-pages of Special app access" into sc-dev am: d9d9d70184
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13495591

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I899ae7a8178ef984839b4bcf22f9f0d7d494bc63
2021-02-08 13:56:52 +00:00
Yanting Yang
d9d9d70184 Merge "Apply FooterPreference to the sub-pages of Special app access" into sc-dev 2021-02-08 13:25:57 +00:00
Chiachang Wang
a7404aacdc Merge "Replace Proxy hidden constants and methods usages" am: e3be1ecb38 am: 5c5b36f19d am: dbd031a46f am: 36999b5d78
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1574955

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1475bee722aae6b835c16d7c874f165a6f586554
2021-02-08 12:59:04 +00:00
Chiachang Wang
36999b5d78 Merge "Replace Proxy hidden constants and methods usages" am: e3be1ecb38 am: 5c5b36f19d am: dbd031a46f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1574955

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I60eb5717af5855b80290af92bed14f2fc702e7a9
2021-02-08 12:12:48 +00:00
Alex Johnston
5903962d23 Disallow modifying USB in Settings
Background
* The admin can disable signaling over USB
  on corporate owned device.

Changes
* If the admin has disabled signaling over
  USB, disable preferences in Settings to
  modify USB.
* Show policy transparency dialogs.

Manual Testing:
* Install TestDPC
* Set up as Device Owner
* Disable USB data signaling
* Verify Settings > Connected Devices
  > USB is disabled
* Verify Settings > Network & Internet
  > Hotspot & tethering > USB tethering
  is disabled
* Verify Developer options >
  USB debugging, default USB configurations
  and USB audio routing are disabled

Bug: 168301639
Test: Manual Testing
      make RunSettingsRoboTests -j ROBOTEST_FILTER=TetherSettingsTest
      make RunSettingsRoboTests -j
      ROBOTEST_FILTER=UsbAudioRoutingPreferenceControllerTest
      make RunSettingsRoboTests -j
      ROBOTEST_FILTER=UsbDefaultFragmentTest
      make RunSettingsRoboTests -j
      ROBOTEST_FILTER=DevelopmentSettingsDashboardFragmentTest
      make RunSettingsRoboTests -j
      ROBOTEST_FILTER=DefaultUsbConfigurationPreferenceControllerTest
      make RunSettingsLibRoboTests -j
      ROBOTEST_FILTER=EnableAdbPreferenceControllerTest

Change-Id: I3e8461ac37f406a407c874598335cde28fb89b2d
2021-02-08 11:59:32 +00:00
Chiachang Wang
dbd031a46f Merge "Replace Proxy hidden constants and methods usages" am: e3be1ecb38 am: 5c5b36f19d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1574955

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7f3a634620e6467da136e0454ab98c994d7a23a6
2021-02-08 11:31:48 +00:00
Chiachang Wang
5c5b36f19d Merge "Replace Proxy hidden constants and methods usages" am: e3be1ecb38
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1574955

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iba522bcd7591747f012918dc87f05f7aab1c2a1b
2021-02-08 11:00:55 +00:00
Chiachang Wang
e3be1ecb38 Merge "Replace Proxy hidden constants and methods usages" 2021-02-08 10:27:05 +00:00
Lorenzo Colitti
04d34ced59 Switch Settings from IConnectivityManager to VpnManager.
The VPN code is moving out of ConnectivityService to a new
VpnManagerService. Update Settings to call into the VpnManager
class instead of using the AIDL interface directly. This way,
the VPN code can be moved without touching Settings.

Bug: 173331190
Test: builds, boots
Test: manually verified VPN settings page
Change-Id: Id2731a166b5d6783acb1c711a54604b69aa8c0d7
2021-02-08 16:50:25 +09:00
TreeHugger Robot
288a3db069 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 42f0c09a95 -s ours am: 5130730d9b -s ours am: 74eb482fba -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic8d333454770fddd761decab46a18fc9d6f9e8c7
2021-02-08 06:31:24 +00:00
TreeHugger Robot
7253f1d0ef [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: ad376e668d -s ours am: 32a131a0f5 -s ours am: 6289bab031 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iff3784fca3ad2e846a71d74ea8eeb059e854a81e
2021-02-08 06:31:09 +00:00
Ben Chung
359665c3b0 Add turn screen darker fragment in a11y settings text and display
Accessibility settings category restructure, add turn screen darker
fragment for related accessibility services.

Bug: 174829936
Test: atest TurnScreenDarkerFragmentTest, atest AccessibilitySettingsTest
Change-Id: I8aef7a0b5a6d407813aadb22d7ade5103533efa4
2021-02-08 06:12:30 +00:00
TreeHugger Robot
74eb482fba [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 42f0c09a95 -s ours am: 5130730d9b -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2fd7ef384bd5e8c27018204dc00be4ff7d69f796
2021-02-08 05:58:56 +00:00
TreeHugger Robot
6289bab031 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: ad376e668d -s ours am: 32a131a0f5 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie56272d926303029464a457794e3883d4d64639b
2021-02-08 05:58:09 +00:00
TreeHugger Robot
5130730d9b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 42f0c09a95 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic015a19cf6a67a19a6100ff3e787fc62d2031f0a
2021-02-08 05:03:09 +00:00
TreeHugger Robot
32a131a0f5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: ad376e668d -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5178301f18df626ea068796c638a59a436029e11
2021-02-08 05:02:34 +00:00
TreeHugger Robot
b182eb84ca [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: bde6108814 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5f6b05d2ef32669121d377216c4908c8dcb5e2fd
2021-02-08 04:39:38 +00:00
TreeHugger Robot
443e8dfd7b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: fea8247b7a -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iafc3b467799aaa6ddaf2e30a556248bc067aad71
2021-02-08 04:39:10 +00:00
TreeHugger Robot
42f0c09a95 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-02-08 04:28:36 +00:00
TreeHugger Robot
ad376e668d Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-02-08 04:24:35 +00:00
TreeHugger Robot
bde6108814 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-02-08 04:19:37 +00:00
TreeHugger Robot
fea8247b7a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-02-08 04:12:36 +00:00
Weng Su
babcd4b5c0 [Provider Model] Update Wi-Fi SSID in APM networks type
- Check Wi-Fi connected then update the SSID to summary

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

Bug: 178915286
Test: manual test
- atest InternetPreferenceControllerTest

Change-Id: I9efc2f62b7b241a4a63d0514158c8e76f0d6acc2
2021-02-08 11:33:00 +08:00
sallyyuen
0e8cf66e9e Finalize strings for Reduce Brightness for DP2
Bug: b/170970602
Test: manual
Change-Id: I83387e7e3c2c72226ef85f61c2a06fb8063ee747
2021-02-07 19:04:47 -08:00
Bill Yi
18945ab756 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0eb5f168e5f8e801757b632b339669d3de4121d9
2021-02-07 22:45:51 +00:00
Bill Yi
cfc5696808 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I78694469584972b788f56d3bd5a7b9d0460aed06
2021-02-07 21:47:05 +00:00