Commit Graph

22162 Commits

Author SHA1 Message Date
TreeHugger Robot
4ef32dfd3d Merge "Fix the issue of the repo upload hooking checker" into sc-dev am: f771e6267a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13532865

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie70b91251a23da8f454ca78407a9729043939d1b
2021-02-09 16:48:37 +00:00
TreeHugger Robot
f771e6267a Merge "Fix the issue of the repo upload hooking checker" into sc-dev 2021-02-09 15:56:03 +00:00
Sunny Shao
79d0a1fead Fix the issue of the repo upload hooking checker
Fixes: 179608805
Test: repo upload test
Change-Id: I212d4e767a63d5b69ac62fd8e8f0a17f2863b5ef
2021-02-09 21:41:48 +08: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
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
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
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
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
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
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
Bill Yi
2e5dc2e9ba Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5a07b4df06928e6f1913157bfcbefcd6cb37cc6d
2021-02-07 21:17:55 +00:00
Bill Yi
36beac2346 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaeffab2314b1ea73a94399da68ab8c79f2f1bacb
2021-02-07 20:23:00 +00:00
Kevin Chyn
fbeb0e5443 Remove UDFPS ProgressBar from Settings am: 2eca234af7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13487128

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I518ad0cb647725ce6c8fc5f8cd21ddaaf971227b
2021-02-06 05:42:09 +00:00
Kevin Chyn
2eca234af7 Remove UDFPS ProgressBar from Settings
Moving it to SystemUI, which handles rotation and position calculation
much easier.

Bug: 177965281
Test: manual
Change-Id: I9b7aadce95aae26330192074295d91283e49a24d
2021-02-05 18:37:35 -08:00
Jiashen Wang
0e018cafa4 Merge "Post SUW Slot Change Receiver Migration" into sc-dev am: ce08013af6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13411158

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2d1d26401f4e39709a8fc2061c8105628d8615c8
2021-02-05 18:51:14 +00:00
Jiashen Wang
ce08013af6 Merge "Post SUW Slot Change Receiver Migration" into sc-dev 2021-02-05 18:13:58 +00:00
Yanting Yang
3e9e90aa92 Apply FooterPreference to the sub-pages of Special app access
Affected pages:
- Display over other apps
- Modify system settings
- Picture-in-picture
- Install unknown apps
- Usage access
- Wi-Fi control

Bug: 179234542
Test: robotests & visual
Change-Id: Icac09d0cf2b92cb5b74a8c5629e211108a78cdb0
2021-02-06 00:06:53 +08:00
TreeHugger Robot
0eca3879a5 Merge "[Provider Model] Airplane mode slice design change" into sc-dev am: c30cd79f35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13480086

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If56fd2bb1e1bf6921a58d4bc0d151bff4f559f0c
2021-02-05 10:18:02 +00:00
TreeHugger Robot
c30cd79f35 Merge "[Provider Model] Airplane mode slice design change" into sc-dev 2021-02-05 09:56:46 +00:00
Weng Su
6a5c02a5bb [Provider Model] Airplane mode slice design change
- Change title text:
  WiFi enabled: Turn off networks
  WiFi disabled: Turn on networks

- Add end icon with colorAccent

- The title text color changed is not included this CL.

- Screenshot
  https://screenshot.googleplex.com/44yYKphdem87UnU

Bug: 178719303
Test: manual test
atest -c AirplaneSafeNetworksSliceTest

Change-Id: I27ec111c3c9d4e228010b1495a9d0c7956ba5d74
2021-02-05 16:45:30 +08:00
TreeHugger Robot
c59798354d Merge "Remove battery usage column icon (1/2)" into sc-dev am: f969007c44
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13480088

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I655d0326c8e8a7faff6e2254562aa1808344e4e4
2021-02-05 07:40:53 +00:00
Ben Chung
e66e641980 Add accessibility shortcuts fragment in a11y settings
Accessibility settings category restructure, add accessibility shortcuts
fragment for related accessibility services.

Bug: 174829936
Test: atest AccessibilityShortcutsFragmentTest, atest AccessibilitySettingsTest
Change-Id: I9706906863872bc60d31eae54bbf3a35d70e812e
2021-02-05 07:30:49 +00:00
TreeHugger Robot
f969007c44 Merge "Remove battery usage column icon (1/2)" into sc-dev 2021-02-05 07:21:21 +00:00
TreeHugger Robot
fc5592b15a Merge "Fix the scrolling problems in homepage" into sc-dev am: 26ffb4d3d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13468309

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0d3d75780c427ecf2ee158993f3b32d980fd59e9
2021-02-05 03:52:03 +00:00
TreeHugger Robot
26ffb4d3d6 Merge "Fix the scrolling problems in homepage" into sc-dev 2021-02-05 03:22:26 +00:00
Jason Chiu
530bee333b Fix the scrolling problems in homepage
- Remove the deprecated API and parameter usages of setting system ui
  visibility, which make the app bar scrolling behavior abnormal when
  the navigation bar is enabled.
- Remove the duplicate navigationBarColor of the homepage theme since
  Theme.Settings has configured it.
- Remove the unused scroll flags in search bar layout since its parent
  is no longer AppBarLayout.

Test: visual, robotest
Fixes: 178497625
Fixes: 179122861
Change-Id: I91537cff4f3d98e4bc31e6e42d23895df312fbd4
2021-02-05 02:52:43 +00:00
Weng Su
5d21608c87 [Provider Model] Internet Panel - Airplane mode is on am: 7a62ab1fff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13461408

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If712d593bd60133e3c7a7ce07bfb78430bc47717
2021-02-04 15:19:25 +00:00
Mill Chen
d072e8501a Restructure app info page
When the collapsing toolbar is applied in the Settings app, some pages
they used manage_applications_apps will have the collapsing toolbar not
work properly. This was caused by using multiple CoordinatorLayout and
AppBarLayout in these pages.

Bug: 177375909
Test: visual verified
Change-Id: Ibfeeab9cf907a23d18ee1ec2c450c523316cfc92
2021-02-04 18:53:44 +08:00
Weng Su
7a62ab1fff [Provider Model] Internet Panel - Airplane mode is on
- Add "Airplane mode is on" to sub-title
  - Set the header layout to CENTER_HORIZONTAL if it's no icon

- Hide "Settings" button

- Screenshot
  https://screenshot.googleplex.com/6m5dFVZu7ar4nKW

Bug: 178717651
Test: manual test
atest InternetConnectivityPanelTest \
      PanelFragmentTest \
      ProviderModelSliceTest

Change-Id: I899a817fd99415e9cad608aa4deac1e45365696a
2021-02-04 18:48:34 +08:00
Wesley.CW Wang
8cd4fd329e Remove battery usage column icon (1/2)
Bug: 179236309
Test: make RunSettingsRoboTests -j40
Change-Id: I89b741e4cd5c8c53e3c67f4702eff0d95200731f
2021-02-04 09:12:53 +00:00
Chen Xu
c779a59e24 Merge "UK emergency alert app rename" 2021-02-04 02:06:32 +00:00
Yanting Yang
bfd96258be Merge "Fix divider missing with AppButtonsPreference" into sc-dev am: 09010fe9f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13451892

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia36a2b15e69a2fe1e849969b4b81485f51285113
2021-02-03 08:29:29 +00:00
Yanting Yang
09010fe9f2 Merge "Fix divider missing with AppButtonsPreference" into sc-dev 2021-02-03 08:08:54 +00:00
Yanting Yang
868eb6410d Fix divider missing with AppButtonsPreference
Symptom:
The divider below of the AppButtonsPreference is missing on the
Storage & cache and Battery pages of app.

Root cause:
The PreferenceCategory divider has been hidden for Android S design.
If we put the AppButtonsPreference and the PreferenceCategory together,
the divider will be default hidden by PreferenceCategory.

Solution:
To add back the divider for AppButtonsPreference, override the
allowDividerAbove in the PreferenceCategory.

Fixes: 179118594
Test: visual
Change-Id: I74ba7679a69a578a87734b9920f53a20c79d6567
2021-02-03 14:38:50 +08:00
Jiashen Wang
85109678b2 Post SUW Slot Change Receiver Migration
Implement the case when user inserts / removes pSIM during the SUW.
Bug: 153811431
Bug: 170508680
Test: Manually tested

Change-Id: Iccc3a2fd416ccfb57c3b4f9dc7b32c0b7681c90b
2021-02-02 17:57:40 -08:00
TreeHugger Robot
8232a6b1dc Merge "Move the additional settings to the top of AppInfoDashboard" into sc-dev am: 9a33929b45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13451724

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifc6356cb24cdfb82dcb539786bb3eeae6e6e5293
2021-02-03 01:13:07 +00:00
TreeHugger Robot
9a33929b45 Merge "Move the additional settings to the top of AppInfoDashboard" into sc-dev 2021-02-03 01:06:35 +00:00