Commit Graph

100142 Commits

Author SHA1 Message Date
menghanli
f6040e12bc Polish humanize strings for Caption preferences page
- Add intro for usage
- Update footer description on limitations
- Update the default caption size to medium
- Update the caption size and style dynamically

Bug: 218409087
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=CaptionAppearancePreferenceControllerTest

Change-Id: I6526250894cc6a3fd02e3d8c675280855b307a68
2022-02-11 23:02:57 +08:00
Pavel Grafov
f8ba876fbe Merge "Make distinction between null and empty IM list." 2022-02-11 12:13:28 +00:00
PETER LIANG
0b44b6061f Merge "Fix NPE of AccessibilityShortcutPreferenceFragmentTest." 2022-02-11 11:56:22 +00:00
PETER LIANG
38801aa1ce Merge "Fix NPE of ToggleAccessibilityServicePreferenceFragmentTest." 2022-02-11 11:56:22 +00:00
PETER LIANG
a12f4571be Merge "Fix NPE of LaunchAccessibilityActivityPreferenceFragmentTest." 2022-02-11 11:56:22 +00:00
Peter_Liang
b91f6ee0fb Fix NPE of ToggleAccessibilityServicePreferenceFragmentTest.
ComponentName.unflattenFromString() return null if the string was
incorrect.

Bug: 218975511
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ToggleAccessibilityServicePreferenceFragmentTest
Change-Id: I4384aa60aca657b5dd2ffc3a6fa44b7258bbb5b6
2022-02-11 07:56:19 +00:00
Weng Su
05e713bcc5 Merge "wifi data usage: Query wifi usage per configuration" 2022-02-11 07:34:21 +00:00
Peter_Liang
f7c1d39f27 Fix NPE of AccessibilityShortcutPreferenceFragmentTest.
Add the mock FragmentActivity into to avoid NPE.

Bug: 218974847
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityShortcutPreferenceFragmentTest
Change-Id: Ia58484d9b09bd091513da04dff8659ce651acb8d
2022-02-11 15:21:05 +08:00
Peter_Liang
80c649fe3e Fix NPE of LaunchAccessibilityActivityPreferenceFragmentTest.
ComponentName.unflattenFromString() return null if the string was
incorrect.

Bug: 218975513
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER=LaunchAccessibilityActivityPreferenceFragmentTest
Change-Id: I21a7bdb14aba6b23e74b9569d0a1a5f74e0f0106
2022-02-11 15:17:09 +08:00
Tsung-Mao Fang
6116391489 Merge "Update OWNERS for dream settings" am: e294a5a1db am: 144f23be39 am: e098415564
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1979791

Change-Id: I7067c4ec908d2ccb35445fe8937f1843e4835487
2022-02-11 07:03:40 +00:00
Tsung-Mao Fang
e098415564 Merge "Update OWNERS for dream settings" am: e294a5a1db am: 144f23be39
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1979791

Change-Id: I3da1488d455189eb25107e5452040fa86e8d2ae4
2022-02-11 06:47:00 +00:00
Wilson Wu
2683549e29 Merge "Fix NPE if keyboard settings is launched by work apps" 2022-02-11 06:27:41 +00:00
Tsung-Mao Fang
144f23be39 Merge "Update OWNERS for dream settings" am: e294a5a1db
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1979791

Change-Id: I0eee5bb9c89621f84bc43bc9e8763991b782c292
2022-02-11 06:25:15 +00:00
Tsung-Mao Fang
e294a5a1db Merge "Update OWNERS for dream settings" 2022-02-11 06:12:16 +00:00
Menghan Li
78ba8d0bb4 Merge "Update Accessibility quick setting tooltip strings subtext" 2022-02-11 05:55:06 +00:00
Marie Matheson
e6bb6730aa Merge "Add some functionality to Settings ShadowLockPatternUtils" 2022-02-11 03:15:11 +00:00
Yanting Yang
d8bd19bfbd Merge "Fix broken tests of AppInfoDashboardFragmentTest" 2022-02-11 01:55:13 +00:00
Marie Matheson
39034b66cf Add some functionality to Settings ShadowLockPatternUtils
Test: make RunSettingsRoboTests
Bug: 218885287
Change-Id: If8a28a1680f0fc62f2bff5a927ccf876441bafa5
2022-02-10 23:14:43 +00:00
Qi Cao
68d6c80a12 Merge "Made following changes to Settings:" 2022-02-10 22:52:53 +00:00
Weng Su
0b82d67a04 wifi data usage: Query wifi usage per configuration
- Updated to use the AllNetworkKeys set instead of NetworkId.

- Fix crash issue when mDataUsageController is not created.

- See b/126299427#comment37 for a screenshot.

Bug: 126299427
Test: manual test
make RunSettingsRoboTests
ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
make RunSettingsRoboTests
ROBOTEST_FILTER=WifiDetailPreferenceController2Test
make RunSettingsRoboTests
ROBOTEST_FILTER=WifiDataUsageSummaryPreferenceControllerTest

Change-Id: I26289fde1f18d97631448edc71e034d33b865cc4
2022-02-11 06:32:04 +08:00
Lucas Silva
c3f78bce8d Update OWNERS for dream settings
Change-Id: Ie4b483907918986c3b1b4b284ec0f977569cfd58
2022-02-10 19:40:25 +00:00
Derek Jedral
a03b66952e Merge "Fetch active trustagents from LockPatternUtils" 2022-02-10 18:17:44 +00:00
Yanting Yang
2b6746b183 Fix broken tests of AppInfoDashboardFragmentTest
Fixes: 218798403
Test: robotests
Change-Id: Id263259b778c3b12728eb6831afb286e0a2772ae
2022-02-11 00:06:43 +08:00
Yanting Yang
4ed41905c3 Merge "Fix NPE of UnrestrictedDataAccessPreference" 2022-02-10 15:55:26 +00:00
Matt Pietal
364d9dde23 Merge "Add supervised user support" 2022-02-10 15:23:10 +00:00
Julia Reynolds
9be9981fa7 Merge "Update notification settings OWNERS" am: 49b9583ea1 am: e2d790725c am: 809c15fd53 am: 445aa53ddc
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1960665

Change-Id: I3e556a6d31e8ef5a58022acd0e4d6fb86e62cb09
2022-02-10 14:51:14 +00:00
Julia Reynolds
445aa53ddc Merge "Update notification settings OWNERS" am: 49b9583ea1 am: e2d790725c am: 809c15fd53
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1960665

Change-Id: I4f8ce83fea5cde2ddf4517c78e5f66bae461a1ea
2022-02-10 14:38:05 +00:00
Julia Reynolds
809c15fd53 Merge "Update notification settings OWNERS" am: 49b9583ea1 am: e2d790725c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1960665

Change-Id: Id88fd287953b4190d4830d0037d9f0817e6a715b
2022-02-10 14:22:43 +00:00
Julia Reynolds
e2d790725c Merge "Update notification settings OWNERS" am: 49b9583ea1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1960665

Change-Id: I3bdeaab21beed6c214d28516b9699a20c5b09dd5
2022-02-10 14:04:25 +00:00
Julia Reynolds
49b9583ea1 Merge "Update notification settings OWNERS" 2022-02-10 13:48:25 +00:00
Tsung-Mao Fang
6e6527657e Merge "Ignore all broken tests" 2022-02-10 12:16:27 +00:00
Tom Hsu
f813e2b2f4 Merge "Add a OWNER file for per-app language" am: 38cb70ffd9 am: f9355dcc95 am: 3639f8c59a am: d1040f8fe9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1977704

Change-Id: Id9a68603cc2ebe8e4b7a7e0f667728d9e55e97f5
2022-02-10 10:45:32 +00:00
Tom Hsu
d1040f8fe9 Merge "Add a OWNER file for per-app language" am: 38cb70ffd9 am: f9355dcc95 am: 3639f8c59a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1977704

Change-Id: I4db5ebcc51cef0ad63ce03b0d3d137515c6fa8a5
2022-02-10 10:32:35 +00:00
Tsung-Mao Fang
34f0724a63 Ignore all broken tests
Test only should fix these broken tests soon.

Test: Attach ag/16819270 and run pass all tests
Bug: 218799125
Bug: 218798403
Bug: 218798003
Change-Id: I4914adb475802211d9918a416950b01854c9a390
2022-02-10 10:18:42 +00:00
Tom Hsu
3639f8c59a Merge "Add a OWNER file for per-app language" am: 38cb70ffd9 am: f9355dcc95
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1977704

Change-Id: I137701d26151296a0ef8e7401a1cfc3334952230
2022-02-10 10:06:56 +00:00
Yanting Yang
49f2385cde Fix NPE of UnrestrictedDataAccessPreference
Add null check for the DataUsageState to avoid NPE since it comes from
the extraInfo of AppEntry that possibly be null.

Fixes: 217250071
Test: manual
Change-Id: I1a41a49ed74bc6addc6b5dd0564973c210a6af74
2022-02-10 18:04:48 +08:00
Tom Hsu
f9355dcc95 Merge "Add a OWNER file for per-app language" am: 38cb70ffd9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1977704

Change-Id: I35dceb538404edcbe552b87c6c615c0c8d16c69b
2022-02-10 09:52:36 +00:00
Tom Hsu
38cb70ffd9 Merge "Add a OWNER file for per-app language" 2022-02-10 09:31:50 +00:00
SongFerng Wang
bdc9800f47 Merge "[MEP] Inserting a pSIM while user has 2 esims, showing the MEP dialog" 2022-02-10 07:48:07 +00:00
tom hsu
085e5fc946 Add a OWNER file for per-app language
Change-Id: I5b0d9491db1f1ba602306289d6df2e4282c2bece
2022-02-10 15:27:09 +08:00
Kaiqiang Wang
92827d0066 Merge "Add switch preference for Audio Description." 2022-02-10 07:17:49 +00:00
Wilson Wu
ddb5147649 Fix NPE if keyboard settings is launched by work apps
IME apps can request users to enable them by directly
launching the on-screen keyboard settings page.

If keyboard settings is launched by works apps, the
current userId would be work userId. There is no managed
profile for work user so the exception happened.

-. Use current userId if it's launched by work user
-. Use primary user info for personal fragment

Fix: 216395439
Test: Manual test with issue steps
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AvailableVirtualKeyboardFragmentTest
Change-Id: Iea573922ee789d9932c0de05bf71179c4f005eeb
2022-02-10 15:13:26 +08:00
Roman Kalukiewicz
669ebc9b89 Merge "Allow users to add profile owner after setup if the supervision role is set." 2022-02-10 02:24:17 +00:00
Zach Johnson
6b8ddccb7a Merge "Resolve bluetooth hidden API usages" 2022-02-09 21:49:04 +00:00
Roman Kalukiewicz
f6a7b65a98 Allow users to add profile owner after setup if the supervision role is
set.

Bug: 185905077
Test: manual
Change-Id: Ia267c9d4fa6d438fa9449c6f44031a3831e86fa1
2022-02-09 21:13:10 +00:00
Qi Cao
17ff2b25a5 Made following changes to Settings:
- Moved the Voice Input setting from Digital assistant app to Languages & input.
- Bundled Voice Input and Text-to-speech settings together under Speech
  category.

Bug: 218609449

Test: refactoring CL. Existing unit tests still pass.
Change-Id: I3107a410ed35685f5f1081cbe448b105b5c79c24
2022-02-09 19:31:08 +00:00
Derek Jedral
c1c39b6717 Fetch active trustagents from LockPatternUtils
LockPatternUtils is what drives the TrustAgentsPreferenceController, and
therefore should be used to determine how many active trust agents there
are. TrustAgentManager filters on whether preferences are displayable in
the advanced settings app, which does not represent if the agent is
actually active.

Test: make RunSettingsRoboTests
Bug: 217217034
Change-Id: I8cae74d322b8e0658aabfe7d4646e9a299af4934
2022-02-09 18:55:36 +00:00
Jonathan Scott
a2781721e2 Merge "Allow overriding of strings referenced in XML files." 2022-02-09 10:48:09 +00:00
Junyu Lai
a190aef9ef [automerger skipped] Merge "Remove dependencies on hidden network stats APIs" am: e299e37585 am: 35dea12973 am: 8576384cfb am: 1dd7274517 -s ours
am skip reason: Merged-In I4151b831fc83dee9b36292cd7991f9b294ed4ff2 with SHA-1 0dd1b46fcf is already in history

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

Change-Id: I28acb1aa21ea36fac656331e34d8287cca057b6e
2022-02-09 10:40:33 +00:00
Steven Ng
89ad2871c8 Merge "Show "Turns on at bedtime" in Dark theme setting based on feature flag" 2022-02-09 10:25:29 +00:00