Commit Graph

22301 Commits

Author SHA1 Message Date
TreeHugger Robot
a48e464981 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-02-20 15:52:38 +00:00
Bill Yi
46865bb769 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9f3516fd312c8dc0048777e85934029ef6d5e086
2021-02-20 12:15:49 +00:00
Mill Chen
2ad549e13a Update FingerprintEnrollEnrolling for UDFPS
The BC theme didn't work in the fingerprint enrollment page since this
page was using a customized layout and wasn't following the SUD
template. Also the fingerprint sensor icon has been moved to SysUI so
it's unnecessary to have the customized layout.

This CL is trying to merge two layouts together and make BC theme apply
to the fingerprint enrollment page.

Bug: 177026664
Test: visual verified
Change-Id: Ia22ea14244cd4b508a1fa6341aa15bd741c195f4
2021-02-20 16:58:32 +08:00
TreeHugger Robot
d49dd1f099 Merge "Reorder the new notification settings page" into sc-dev am: afaee1a202
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13616954

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I03c2f0ca2f88cfcd858f4646de10513c0c3472fe
2021-02-19 17:20:25 +00:00
TreeHugger Robot
afaee1a202 Merge "Reorder the new notification settings page" into sc-dev 2021-02-19 16:46:53 +00:00
Mill Chen
51513522b3 Tweak UI for make profile pattern visible
Removing the summary placeholder from Make profile pattern visible
preference, since this preference has nothing to show in its summary.

Bug: 180573775
Test: visual verified
1) Create a work profile through TestDPC
2) Settings -> Security -> disable Use one lock
3) Setting pattern for Work profile lock
4) Observe Make profile pattern visible and check if it's central
aligned

Change-Id: I66b828aa6f719cdefc6b81efcc3c2c9e54cdcaf1
2021-02-20 00:35:05 +08:00
Wesley.CW Wang
970ce69524 Update battery percentage column to UsageProgressBarPref (1/2) am: f4bc35333b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13480087

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I439d45636be78e33953b7740cfa5873e617bf0ce
2021-02-19 10:33:01 +00:00
Wesley.CW Wang
f4bc35333b Update battery percentage column to UsageProgressBarPref (1/2)
- Change battery percentage column to new design
 - Remove debug info case
 Screenshots:
   https://screenshot.googleplex.com/9rvRfK3wBtpnarZ.png
   https://screenshot.googleplex.com/5iAjNXTptDechAm.png

Bug: 177407113
Test: make RunSettingsRoboTests -j40
Change-Id: I5d046be29a036910036e72edb677b69bc2c0a03f
2021-02-19 10:23:53 +00:00
TreeHugger Robot
56f2c8d3fc Merge "[Provider Model] UI wording change" into sc-dev am: 1ebb7fa010
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13614888

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2ed7b88bacbe43fc6b4636a7043e0f44f4686c13
2021-02-19 04:39:09 +00:00
TreeHugger Robot
1ebb7fa010 Merge "[Provider Model] UI wording change" into sc-dev 2021-02-19 04:12:32 +00:00
TreeHugger Robot
2d0f76035a Merge "Revert "Use location access for recent location apps."" into sc-dev am: bb9f578c9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13617856

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4b6180fbf78d80644285a14c9464ad9571272749
2021-02-19 02:26:25 +00:00
TreeHugger Robot
bb9f578c9b Merge "Revert "Use location access for recent location apps."" into sc-dev 2021-02-19 00:56:15 +00:00
Alex Salo
1edeb315a9 Merge "Check for available rotation resolver service and camera permission before showing setting for face based auto-rotation" into sc-dev am: a1615409c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13549709

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iced53fb18d4dda2532d2d9aefa88d8e079edb7ff
2021-02-18 18:21:59 +00:00
Alex Salo
a1615409c7 Merge "Check for available rotation resolver service and camera permission before showing setting for face based auto-rotation" into sc-dev 2021-02-18 18:11:33 +00:00
Wei Wang
5da4f381a6 Revert "Use location access for recent location apps."
This reverts commit f383cb44b4.

Reason for revert: crashes on work profiles (http://b/180516388)

Change-Id: Iff499e6a1439b6ecb524a61a9a88fe253799a131
2021-02-18 17:18:20 +00:00
Julia Reynolds
aafaacfae1 Reorder the new notification settings page
Test: manual
Fixes: 176317477
Change-Id: I7dd784c446d4443be72de96c5a7cea7929388c71
2021-02-18 10:59:25 -05:00
TreeHugger Robot
1a64da8951 Merge "Restructure app info page" into sc-dev am: fcdd955dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13482645

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9d83ecb4dcd4d7ca565d3e63936a02c82648a75a
2021-02-18 11:20:37 +00:00
TreeHugger Robot
fcdd955dff Merge "Restructure app info page" into sc-dev 2021-02-18 11:03:38 +00:00
Weng Su
64cf59bad3 [Provider Model] UI wording change
- Update the summary of Ethernet network
  "To switch networks, disconnect ethernet"

- Update the summary of data usage for non-carrier networks
  "Excludes data used by carrier networks"

- Update the title of Network preferences
  "Network preferences"

- Screenshot:
  https://screenshot.googleplex.com/62URXVwUJbSXKko
  https://screenshot.googleplex.com/AeZDG2HmkmUkeHd

Bug: 178473018
Bug: 178474159
Bug: 178886957
Test: manual test
Change-Id: Id9ed11ed5cc2db329556bf64a13f21999dcdb151
2021-02-18 18:22:19 +08:00
Jiashen Wang
064ee3107d Merge "Fix the notification issue after pSIM is auto enabled" into sc-dev am: e74e93b31e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13564226

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1315a8ed2563f53aa16eb0d11f0ff1c0011ca093
2021-02-18 07:49:09 +00:00
Jiashen Wang
e74e93b31e Merge "Fix the notification issue after pSIM is auto enabled" into sc-dev 2021-02-18 07:12:31 +00:00
Abel Tesfaye
ed7673eadd Check for available rotation resolver service and camera permission before showing setting for face based auto-rotation
Test: locally with crosshatch & make -j64 RunSettingsRoboTests
ROBOTEST_FILTER="com.android.settings.display.SmartAutoRotateControllerTest"

Bug: 172857585
Change-Id: I825b0c2471c71a3de59532b39a47c5442f234fb5
2021-02-18 00:18:47 +00:00
Yomna Nasser
c84fea5f37 Merge "Adds Enable2gPreferenceController and unit tests." into sc-dev am: 977513924c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13534046

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7299d41ccc1df63fb1e04ef512a2f256323923a1
2021-02-18 00:13:20 +00:00
Yomna Nasser
977513924c Merge "Adds Enable2gPreferenceController and unit tests." into sc-dev 2021-02-17 23:44:43 +00:00
Jiashen Wang
15e7a0bce4 Fix the notification issue after pSIM is auto enabled
Bug: 179933905
Test: Manually tested
Change-Id: I52a751c515785618c9a1a5f3bc571687731b4552
2021-02-17 20:42:52 +00:00
Yomna Nasser
6d65cb995b Adds Enable2gPreferenceController and unit tests.
Adds (1) Enable2gPreferenceController, the controller for the
"Enable 2G" toggle, and (2) Enable2gPreferenceControllerTest,
the corresponding unit tests.

Test: manul & atest -c Enable2gPreferenceControllerTest
Bug: b/163168917
Change-Id: Ib827cfcfd96fdea77b586c92ae0ec5b2bd5818c3
2021-02-17 20:08:41 +00:00
Julia Reynolds
5849bc48cb Merge "Add filtering to notification channel settings" into sc-dev am: 6c70707655
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13563266

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia854106faf632be72bad2dc0b64b7d10b0135a4e
2021-02-17 14:14:00 +00:00
Julia Reynolds
6c70707655 Merge "Add filtering to notification channel settings" into sc-dev 2021-02-17 14:12:04 +00:00
TreeHugger Robot
7b87649227 Merge "Use location access for recent location apps." into sc-dev am: 5a2a19deae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13549705

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7007681ad30ab7a77c520526377d07585b1f2f06
2021-02-16 22:40:26 +00:00
TreeHugger Robot
5a2a19deae Merge "Use location access for recent location apps." into sc-dev 2021-02-16 22:08:45 +00:00
Alex Johnston
7ed173673f Merge "Disallow modifying USB in Settings" into sc-dev am: c0c3bce16e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13580608

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7f83323580f5ac7a022e92ecc00427fd222e9b2f
2021-02-16 21:08:17 +00:00
Wei Wang
f383cb44b4 Use location access for recent location apps.
Bug: 177685444
Test: Manual

Change-Id: Id22ce156b20b66cf0607879ea0f9f874b621894d
2021-02-16 12:27:10 -08:00
Julia Reynolds
4dc7795eb3 Add filtering to notification channel settings
Allow apps that are launching this page to specify targeted subsets of
settings that should be shown.

Test: settings notification robotests
Bug: 177246841
Change-Id: Ib491c43f1861a9775e3b25f39134cdbe105a7ff8
2021-02-16 14:40:26 -05:00
Alex Johnston
7d4db750e6 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
Merged-In: I3e8461ac37f406a407c874598335cde28fb89b2d
2021-02-16 15:29:49 +00:00
TreeHugger Robot
73fe82071d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-02-16 08:36:24 +00:00
Bill Yi
a38dbb908f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idb0bb381925e39f50a95c86e5cf1cbd0e06796eb
2021-02-15 08:13:48 +00:00
Ben Chung
6535474424 Update accessibility settings layout am: 478db86589
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13517006

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I27de16fa17eac2ae05d72b325eb66ec4126132d2
2021-02-14 18:52:52 +00:00
Ben Chung
478db86589 Update accessibility settings layout
Accessibility settings category restructure
1. Add caption category fragment for related accessibility services.
2. Remove experimental category.

Bug: 174829936
Test: atest AccessibilitySettingsTest
Change-Id: I13b1ed62afe0634329d1e340ba154454640fadd6
2021-02-14 15:11:59 +00:00
TreeHugger Robot
380d004b6c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-02-13 21:00:44 +00:00
Peter Kalauskas
a9a34673b2 Merge "Revert "Update icons and text for guest user"" into sc-dev am: d7af6821dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13554661

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I049b584d87bfda0f5bc479448d0481881b337b3f
2021-02-12 17:28:31 +00:00
Peter Kalauskas
d7af6821dc Merge "Revert "Update icons and text for guest user"" into sc-dev 2021-02-12 17:26:47 +00:00
Chloris Kuo
bdb967c756 Merge "Remove Feedback UI Settings" into sc-dev am: da031064c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13556692

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If7b189201fb37be2ae652b5155e94068cfc07289
2021-02-12 17:16:30 +00:00
Chloris Kuo
da031064c6 Merge "Remove Feedback UI Settings" into sc-dev 2021-02-12 17:11:30 +00:00
Bill Yi
de0c91786a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e836778f9c8ad88a60c316cf6bd246c48c007d8
2021-02-12 11:45:30 +00:00
Julia Reynolds
e50ffd6366 Merge "Add package filtering to NLSes" into sc-dev am: 776919fc0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13499641

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I99f7c44b694bde8b682a6dade3f5406b650b702d
2021-02-12 04:48:15 +00:00
Julia Reynolds
776919fc0a Merge "Add package filtering to NLSes" into sc-dev 2021-02-12 02:16:52 +00:00
Chloris Kuo
c22654c075 Remove Feedback UI Settings
remove settings from developers option and use deviceconfig to control

Test: manual on device
Bug: 180057146
Change-Id: Ic72d0f49e6f47aaeb541b997779d2cd66ca2b287
2021-02-11 17:21:01 -08:00
Peter Kalauskas
06b235e497 Revert "Update icons and text for guest user"
Revert submission 13278947-new-guest-user-strings

Reason for revert: Use same strings and text as Android R
Reverted Changes:
I8e9b7992d:Update icons and text for guest user
I42c0b46fd:Update icons and text for guest user

Bug: 169783558
Change-Id: Id038ec708e9098c856c4d24ae55a3b7e2bad391d
2021-02-11 22:29:38 +00:00
Julia Reynolds
20814ed5c7 Add package filtering to NLSes
Now users can prevent a given notification listener from seeing
notifications from particular apps.

Test: settings unit tests
Bug: 173052211
Change-Id: Ia868d6dc2da1ae7f75c0dca47034e28910584acd
2021-02-11 19:00:57 +00:00
Abel Tesfaye
8630f0387f Merge "Implemented new preference setting screen for face based auto-rotation" into sc-dev am: 7fb3323b1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13419010

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id7d693f5ebcab4f3cd6ba3336418b07cb2a1e9d7
2021-02-09 22:10:51 +00:00