Commit Graph

25691 Commits

Author SHA1 Message Date
Ricky Wai
a137158f2c Apply restricted settings to notification access.
Bug: 202130031
Test: Able to boot without error
Test: When app is installed by PackageInstaller app, notification
access is being restricted. The restriction is being removed after
turing it restricted settings off for that app.

Change-Id: I9c1fbc80dd2ca4cc483a60dfa9d043aaa99cde87
2022-03-03 11:20:21 +00:00
TreeHugger Robot
76d6cbc7b0 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-03 09:15:36 +00:00
TreeHugger Robot
088bb2a3bc Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-03 08:49:36 +00:00
Joshua Mccloskey
e761b75cd0 Updated icon for reverse-landscape udpfs
Test: Manual
Fixes: 193709296
Change-Id: Ic2a7ee16032b5233832f601f18fac2304f2b0f70
2022-03-03 07:53:16 +00:00
menghanli
a3c62aa1c7 Remove font size & screen size setup flow instance
Bug: 219882220
Bug: 214881137
Test: Build & flash; visual inspection; make RunSettingsRoboTests
Change-Id: I797738388a9fc3e8af21ccee3c1d34771b46126d
2022-03-03 07:43:37 +00:00
Amy Hsu
0dea418d57 Add ScreenResolutionController to Settings app
Settings for resolution switch

Bug: b/199559703
Test: Check resolution switch UI in Settings app
      atest SettingsUnitTests:ScreenResolutionControllerTest
      atest SettingsUnitTests:ScreenResolutionFragmentTest

Change-Id: I46d3be3b82ca512b8672efaa489df2cdaab26d6d
Merged-In: I46d3be3b82ca512b8672efaa489df2cdaab26d6d
2022-03-03 07:23:10 +00:00
Amy Hsu
5b631a6925 Merge "Add summary and footer message for the ScreenResolutionFragment." 2022-03-03 07:05:04 +00:00
Amy Hsu
7399a1f0f5 Merge "Add ScreenResolutionController to Settings app" 2022-03-03 07:01:40 +00:00
Amy Hsu
d633cd6b32 Add summary and footer message for the ScreenResolutionFragment.
Bug: b/199559703
Test: Check resolution switch UI in Settings app
      atest SettingsUnitTests:ScreenResolutionControllerTest
      atest SettingsUnitTests:ScreenResolutionFragmentTest
Change-Id: Iee1e74d3d4de81500b2abe62bc7e9bd69f55452c
2022-03-03 14:26:10 +08:00
Peter_Liang
566ba7c3c3 Move the "Dark theme" preference into the "Color and Motion" page.
Bug: 221168615
Test: manual test
Change-Id: Ia2d88c0ee03fed97843fef39c92fe22367c67e71
2022-03-03 11:17:34 +08:00
Yasin Kilicdere
87c063e051 Merge "Remove the fallback AddSupervisedUserActivity." 2022-03-02 20:15:41 +00:00
Amy Hsu
b7b6ed91cf Add ScreenResolutionController to Settings app
Settings for resolution switch

Bug: b/199559703
Test: Check resolution switch UI in Settings app
      atest SettingsUnitTests:ScreenResolutionControllerTest
      atest SettingsUnitTests:ScreenResolutionFragmentTest

Change-Id: I46d3be3b82ca512b8672efaa489df2cdaab26d6d
2022-03-03 01:56:00 +08:00
Bill Yi
ad345144ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I68916107f4991d2ce5ee11a25c5f69f1e49390a7
2022-03-02 16:31:58 +00:00
Bill Yi
a9e8ee6e40 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id83f405b8b044af0e5fd33278109d7a656b9ecc1
2022-03-02 16:28:16 +00:00
Bill Yi
2ba7f57217 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If35ec49c403221a9c6079cf4b4e60ffddbfd5f2e
2022-03-02 16:24:43 +00:00
Bill Yi
0a5c4fc117 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2697d0b7917b58159e9c81382931c0555babe1e7
2022-03-02 16:20:36 +00:00
Bill Yi
c1ac910b3f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I04463a1b68893c16fea023a016285ffdda31f4bd
2022-03-02 16:16:24 +00:00
Bill Yi
48fce57d2c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I06944e12a02a336cefab0ca6a720fb6bcc3c5726
2022-03-02 16:08:19 +00:00
Beverly Tai
690bce0c9a Merge "Don't show the "When to show" PreferenceCategory" into tm-dev am: b2baaebb8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17045663

Change-Id: I6f00e55fadccf302a3a9893ed6bf5e3a12b62bea
2022-03-02 13:38:32 +00:00
Beverly Tai
b2baaebb8a Merge "Don't show the "When to show" PreferenceCategory" into tm-dev 2022-03-02 13:14:14 +00:00
Tom Hsu
2788e6e073 Merge "[Tetheirng] Show a dialog indicate tethering is unsupported by carrier." am: d915b09e21 am: 0e8aed527f am: 293571f054 am: d626cb16f8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1984590

Change-Id: Iee2086215a2c7079831afaab626cbfab103a3957
2022-03-02 12:53:36 +00:00
Tom Hsu
d626cb16f8 Merge "[Tetheirng] Show a dialog indicate tethering is unsupported by carrier." am: d915b09e21 am: 0e8aed527f am: 293571f054
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1984590

Change-Id: Ib7b1d25aa8ff2e1f172eebf148790873cc292ded
2022-03-02 12:42:33 +00:00
Tom Hsu
293571f054 Merge "[Tetheirng] Show a dialog indicate tethering is unsupported by carrier." am: d915b09e21 am: 0e8aed527f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1984590

Change-Id: I874e3e478ce29dda24860a2e007279bf7ca77c47
2022-03-02 12:19:56 +00:00
Tom Hsu
0e8aed527f Merge "[Tetheirng] Show a dialog indicate tethering is unsupported by carrier." am: d915b09e21
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1984590

Change-Id: I5de3906942beb7efe557e3491468f91f9d67db48
2022-03-02 11:59:46 +00:00
Peter_Liang
51f1225954 Polish and humanize the summaries for "Remove animations" and "Large mouse pointer".
Fix: 221167118
Test: manual test
Change-Id: If5ba34ddcfed4d2b7b9166381f928f5943a5d22e
2022-03-02 08:25:14 +00:00
Daniel Hsieh
b72d5aba2d Change magnify typing setting item's string.
Change magnify typing setting item's title and description.

Bug: 221952566
Test: Manually, I check the string on the screen.
Change-Id: I3cc9885aaf99745ce9edfef08ec122294487e8d0
2022-03-02 07:38:38 +00:00
Stanley Wang
e11d9e9ef3 Fix the problem that the autofill could be searched.
PreferenceCategory will not be indexed by default. The auto fill
category use the AutofillPreferenceCategory class in the xml so
it will be indexed.
The solution is to create a controller to replace AutofillPreferenceCategory.

Fix: 185914894
Test: manual adb test to see the log
Change-Id: Id0e3bcc33a3132434a6bd1fe91e1c6915116d06d
2022-03-02 14:02:56 +08:00
Edgar Wang
752cce2f6f Merge "Update workprofile TabLayout for Material Next style" into tm-dev am: ab22c72319
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17020504

Change-Id: Ie2229daad02fab617b01278e47788dcfe7b4f8b1
2022-03-02 02:58:18 +00:00
menghanli
ba498a8205 Show different tooltips for QS features auto-added and non-auto-added
- Update the illustration
- Update the subtext

Bug: 220655084
Bug: 218968108
Test: manual testing
Change-Id: I01fb191d1a39d15d7dda0eef67459005887f5a77
2022-03-02 02:01:31 +00:00
Yasin Kilicdere
86f3500439 Remove the fallback AddSupervisedUserActivity.
Rollback the changes done in ag/16388725 and ag/16709333

Bug: 209659998
Test: croot && make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest"

Change-Id: I75b85df50a3caff55375ad261a97225377644a38
2022-03-01 21:59:23 +00:00
Edgar Wang
f97f5f7005 Update workprofile TabLayout for Material Next style
1. Upgrade ViewPager to ViewPager2 which provided better support.
2. Apply new TabLayout style

Bug: 193249384
Bug: 195655281
Bug: 193249173
Bug: 179738624

Test: manual

Change-Id: I905ee82f315316c2bf4b73bf5581423878e2c3e7
2022-03-01 18:07:43 +00:00
Yuri Ufimtsev
8ce7c8d3d0 Merge "Add warning card for Safety Center when no screen lock is set" into tm-dev am: 530e967ac4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17002664

Change-Id: Ifedf08199b8278331911be9422d5598b35b8e633
2022-03-01 16:53:55 +00:00
Evan Laird
15a87a86bb Merge "Add setting for showing the vibrate icon in status bar" into sc-v2-dev 2022-03-01 16:19:47 +00:00
Yuri Ufimtsev
6cadee43e5 Add warning card for Safety Center when no screen lock is set
Test: atest SettingsUnitTests

Bug: 218868097
Change-Id: I4cbc50559dd1d32b5b916a19f7d0b2b27d67510d
2022-03-01 15:52:56 +00:00
Beverly
81da0689ec Don't show the "When to show" PreferenceCategory
If the ambient display isn't available. This includes
AOD wakeup gestures.

Test: manual
Fixes: 195413949
Change-Id: Ief1876e231288274a35db2fb185ac92864450d48
2022-03-01 14:50:07 +00:00
tom hsu
427906c29e [Tetheirng] Show a dialog indicate tethering is unsupported by carrier.
Bug: 161206517
Test: manual
Change-Id: I45a2e42367850ab6fc901fe508671677d843b793
2022-03-01 18:10:10 +08:00
Jason Chiu
bcfd5b3d65 Make homepage search bar remain persistent when scrolling
- Modify the scroll flag
- Add a background to avoid overlapping

Fix: 218825541
Test: visual
Change-Id: Ice88c1bb324780e72332dd810e654b1d17daafae
Merged-in: Ice88c1bb324780e72332dd810e654b1d17daafae
(cherry picked from commit 7cf0819b41)
2022-03-01 07:30:08 +00:00
Yuri Lin
f26a246f5a Revert "Rename Do Not Disturb -> Priority Mode"
Revert submission 16632971-yl-prioritymode

Reason for revert: We're not launching this change with T, so this will revert all the relevant string changes.
Reverted Changes:
I5eff72db8:Rename Do Not Disturb -> Priority Mode
Ie7a9e35e6:Rename Do Not Disturb -> Priority Mode
I7bb74d2fd:Rename Do Not Disturb -> Priority Mode
Id17942024:Rename Do Not Disturb -> Priority Mode
Ib8efd7289:Rename Do Not Disturb -> Priority Mode
Ia1b77f9ee:Rename Do Not Disturb -> Priority Mode

Bug: 190180868
Test: TH

Change-Id: I7516c97809c7968f999d7caa8885f0cb5cdc844f
Merged-In: I7516c97809c7968f999d7caa8885f0cb5cdc844f
2022-02-28 16:33:33 +00:00
Yuri Lin
dd6cf38405 Merge "Revert "Rename Do Not Disturb -> Priority Mode"" 2022-02-28 15:57:05 +00:00
Evan Laird
38770319fd Merge "Add setting for showing the vibrate icon in status bar" into tm-dev am: 969625bc8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986239

Change-Id: I6b8767252a2de9a3b07bac16ea1b18379fd01eb4
2022-02-28 15:35:39 +00:00
Evan Laird
969625bc8e Merge "Add setting for showing the vibrate icon in status bar" into tm-dev 2022-02-28 15:10:23 +00:00
TreeHugger Robot
792e514bd0 Merge "Update dream preview button text color" into tm-dev am: 3afc9399f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17015304

Change-Id: I2a5a4554e4d316903679fb5bd4a322f67d75e8e9
2022-02-25 21:49:36 +00:00
TreeHugger Robot
3afc9399f7 Merge "Update dream preview button text color" into tm-dev 2022-02-25 21:11:19 +00:00
PETER LIANG
d090ac2a30 Merge "Override the text size attribute of "Preview" in the text and reading options." into tm-dev am: c872615dff am: 49f772581c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16996813

Change-Id: Ifc01861df702e6e320fbad47287cbffd90491dc8
2022-02-25 19:33:44 +00:00
Lucas Silva
5b19c1200f Update dream preview button text color
Bug: 219761637
Test: locally on device
Change-Id: I6b98b400c31ca5a296f5ed095b52ff7d8ea36c44
2022-02-25 13:13:59 -05:00
Taran Singh
5a30a80824 Introduce developer option for Stylus handwriting
Introduce a new developer option for Input Method:
Stylus handwriting: when this setting is enabled, currently selected
input method receives stylus events after focus on editor.

Bug: 219777744
Test: atest StylusHandwritingPreferenceControllerTest
Change-Id: Ia6335df60aae56973ed54bec1a243ea1de3aa6ad
2022-02-25 17:26:26 +00:00
Aaron Liu
7e24127f12 Merge "Home Controls: Add Device Controls settings" into tm-dev 2022-02-25 16:19:30 +00:00
PETER LIANG
c872615dff Merge "Override the text size attribute of "Preview" in the text and reading options." into tm-dev 2022-02-25 10:06:57 +00:00
Yuri Lin
32fc9d9184 Revert "Rename Do Not Disturb -> Priority Mode"
Revert submission 16632971-yl-prioritymode

Reason for revert: We're not launching this change with T, so this will revert all the relevant string changes.
Reverted Changes:
I5eff72db8:Rename Do Not Disturb -> Priority Mode
Ie7a9e35e6:Rename Do Not Disturb -> Priority Mode
I7bb74d2fd:Rename Do Not Disturb -> Priority Mode
Id17942024:Rename Do Not Disturb -> Priority Mode
Ib8efd7289:Rename Do Not Disturb -> Priority Mode
Ia1b77f9ee:Rename Do Not Disturb -> Priority Mode

Bug: 190180868
Test: TH

Change-Id: I7516c97809c7968f999d7caa8885f0cb5cdc844f
2022-02-24 16:58:57 -05:00
Lucas Silva
bafbbf4fdc Merge "Add dream descriptions to dream settings UI." into tm-dev am: 4b6efee1a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16989262

Change-Id: I2dac154f7a7b45dd1c7843193c4a22880a596b7a
2022-02-24 20:39:52 +00:00