Commit Graph

99693 Commits

Author SHA1 Message Date
Michael Groover
a0dc31f3c5 Resolve test failure in WorkModePreferenceControllerTest
Android T introduced a new requirement that apps registering for
non-system broadcasts via Context#registerReceiver must specify a flag
indicating whether the receiver should be exported. This flag was
added to the receiver in WorkModePreferenceController, but this broke
a test since the signature of the registerReceiver method was changed.
This commit updates the signature of the method in the test to also
expect an int parameter for the flags.

Fixes: 214906107
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WorkModePreferenceControllerTest
Change-Id: I17061ab24ed3ec3def4062fe461803ad88bce9c8
2022-01-20 11:45:43 -08:00
TreeHugger Robot
423ea1825f Merge "Refine the plural strings design in Settings" 2022-01-18 19:46:49 +00:00
Lais Andrade
6b2e2e4cbb Merge "Introduce alarm and media vibration intensity settings" 2022-01-18 17:37:31 +00:00
Lais Andrade
eaaf5331d6 Introduce alarm and media vibration intensity settings
Introduce toggles and sliders to configure the alarm and media
vibrations in the "Vibration & haptics" settings app.

Also update the multiple intensities configuration flag into a integer,
where the device can specify how many distinct levels are supported.
Follow existing implementation to map the intensities to higher setting
values.

Bug: 198346559
Bug: 207477604
Test: [Alarm|Media]Vibration[Intensity|Toggle]PreferenceControllerTest
Change-Id: Ie3d570b72ba1229e613ecf0c45fac81233529e32
2022-01-18 16:03:01 +00:00
TreeHugger Robot
b81f2b77f0 Merge "Ignore/Fix broken tests" 2022-01-18 11:05:45 +00:00
Tsung-Mao Fang
aa19771a37 Ignore/Fix broken tests
Fix: 214943221
Fix: 215070875
Bug: 215071960
Bug: 215071948
Bug: 215072120
Test: run robo test
Change-Id: Id11c8461a2cb11cba96feebbfb0337b096eb3a17
2022-01-18 17:39:24 +08:00
TreeHugger Robot
35de64a646 Merge "Fix broken tests" 2022-01-18 09:21:26 +00:00
TreeHugger Robot
8613559120 Merge changes I74d84318,Ia5fb9bb8
* changes:
  Ignore tests in Battery package
  Ignore broken tests
2022-01-18 09:21:22 +00:00
TreeHugger Robot
85e8199c62 Merge "Ignore broken tests" 2022-01-18 09:21:17 +00:00
Tsung-Mao Fang
7be195f15a Fix broken tests
Test: Run robo test
Change-Id: I0d466e95c8d63703e05d5b6f0e2a81e43b468ed7
2022-01-18 15:37:30 +08:00
TreeHugger Robot
a2cd3a32e3 Merge "Fix broken settings tests" 2022-01-18 07:19:30 +00:00
Tsung-Mao Fang
c6c9e2eb16 Ignore tests in Battery package
Bug: 215064709
Test: run robo test
Change-Id: I74d84318a1546e934579d23c79a6a43805880a99
2022-01-18 15:07:08 +08:00
Tsung-Mao Fang
13a3af7f07 Ignore broken tests
Test: run robo test
Bug: 215062934
Bug: 215062846
Bug: 215056068
Change-Id: Ia5fb9bb8d28bf745d69f3cc83cfeb07b982d029c
2022-01-18 14:53:34 +08:00
Hugh Chen
99000589be Fix broken settings tests
Bug: 214907472
Bug: 214907514
Test: make -j64 RunSettingsRoboTests
Change-Id: If87b1041f2e6357241963240efb5337ab31610bc
2022-01-18 05:50:28 +00:00
Bonian Chen
13f22fd6c5 Merge "[Settings] Adjust code for performance" 2022-01-18 04:46:06 +00:00
Tsung-Mao Fang
69a3271556 Ignore broken tests
Test: run robo tests
Bug: 215047192
Bug: 215047320
Bug: 215047319
Bug: 215046294
Bug: 215046609
Bug: 215047177
Bug: 215046603
Bug: 215046286
Change-Id: I6cfdcde663fa531754ee473421577357890ab540
2022-01-18 12:43:59 +08:00
TreeHugger Robot
1002473fc2 Merge "Ignore broken tests" 2022-01-18 02:58:04 +00:00
TreeHugger Robot
d1f8c2772e Merge "Ignore broken tests" 2022-01-18 02:57:45 +00:00
TreeHugger Robot
dd8e167a10 Merge "Ignore broken tests related to wifi tracker lib" 2022-01-18 02:57:23 +00:00
PETER LIANG
0bcd9d1b20 Merge "New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (5/n)." 2022-01-17 14:44:14 +00:00
Weng Su
cfe2804647 Merge "Enable Carrier-Config cache for Settings" 2022-01-17 14:24:50 +00:00
Tsung-Mao Fang
297fcb4031 Ignore broken tests
Test: Run tests
Bug: 214943221
Bug: 214944418
Bug: 214944992
Bug: 214944423
Bug: 214945263
Bug: 214945259
Change-Id: I958c003a15866a03b7d0c24210ae2c99f4ee2c47
2022-01-17 22:01:50 +08:00
Tsung-Mao Fang
6225be70dd Ignore broken tests
Test: Run robo test
Bug: 214941315
Change-Id: I986924465a391f4dc3f6196b84ebd36e76a14834
2022-01-17 21:43:30 +08:00
Tsung-Mao Fang
8498760b07 Ignore broken tests related to wifi tracker lib
Test: Run entire robo tests
Bug: 214938188
Change-Id: Ic23c758737786c2294c400fd2746583fef426f2f
2022-01-17 21:27:25 +08:00
Tsung-Mao Fang
99c4cabe14 Ignore broken tests
Test: Run all robo tests
Bug: 214906480
Bug: 214906101
Bug: 214906504
Bug: 214907514
Bug: 214907475
Bug: 214907472
Bug: 214907388
Bug: 214906107
Change-Id: I47dd81ee72f3a55b2f2a30a7a5cb5c68758fbc9a
2022-01-17 18:31:04 +08:00
Bonian Chen
033d46c71c [Settings] Adjust code for performance
Reorder code flow to reduce redundent work.

Bug: 213836977
Change-Id: Ie83e41dd2664f0d7828c1e13060e669496c41591
Test: Junit VpnPreferenceControllerTest
2022-01-17 09:04:13 +00:00
Bonian Chen
88bb28fc50 Merge "[Settings] Adjust code for performance" 2022-01-17 08:07:01 +00:00
Bonian Chen
47096af791 Merge "[Settings] SIM colors are referenced by getIntArray() within source code" 2022-01-17 07:53:31 +00:00
Bonian Chen
0aad71968a Merge "[Settings] Rollback the text break hyphen strategy" 2022-01-17 07:16:49 +00:00
Peter_Liang
4cf3e8199e New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (5/n).
- Create the app grid preview layout xml.
1) To avoid being large patch size, the preview component will be separated into sub patches, this patch would be one layout of all previews.
2) The layout will be integrated with the TextReadingPreviewPreference and TextReadingPreferenceFragment in the next patches.

Bug: 211503117
Test: make
Change-Id: I5e9048ce4d6f07ac8c1a1bc77d19e6ceb536da49
2022-01-17 05:05:49 +00:00
Weng Su
072755ef02 Refine the plural strings design in Settings
- Use MessageFormat instead of getQuantityString().

Bug: 199229953
Test: manual test
See b/199229953#comment2 for a screenshot result.

Change-Id: I4fc9cecc83f503203ec5dbc1af638036d7026e07
2022-01-16 22:33:12 +08:00
TreeHugger Robot
4fa5b15dba [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 9b153e3bd4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I13b8bd66ab0457d22f849631127f7c5695542f30
2022-01-15 20:05:22 +00:00
TreeHugger Robot
b0154297f9 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-15 19:45:52 +00:00
TreeHugger Robot
9b153e3bd4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod 2022-01-15 19:45:22 +00:00
TreeHugger Robot
23c342a861 Merge changes from topic "presubmit-am-117cc0bdb9364bc09989f23d5c7cb022"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 1ec6a5c572
  Import translations. DO NOT MERGE ANYWHERE
2022-01-15 19:45:22 +00:00
TreeHugger Robot
c236f36c26 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-15 19:43:56 +00:00
Daniel Hsieh
0c229fdb4d Merge "Support following typing focus in window mode [3/n]." 2022-01-15 15:18:46 +00:00
TreeHugger Robot
13f37c5b1a Merge "Fix notif log header overlap" 2022-01-14 21:30:50 +00:00
Julia Reynolds
3e7cff024e Fix notif log header overlap
By matching it to notification history

Test: with low screen density and large text
Fixes: 209635125
Change-Id: I8e4334b7ed0585986d4a38b4877ba8c23458e8a9
2022-01-14 14:43:24 -05:00
TreeHugger Robot
aa1ef64f02 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 572b59c465 -s ours am: e7e23fad18 -s ours am: 7f1e201765 -s ours am: 51e3455fb3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6eb1af9432d7b32aa243ed286f82653fd5ecf406
2022-01-14 18:57:15 +00:00
Bill Yi
342fa3983c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a6f38c19f8 -s ours am: bbf27131c6 -s ours am: 9a7585cd87 -s ours am: 3f8aa72445 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I080421118c07bdc665a6e2f05ad3e37e78f03f97
2022-01-14 18:57:08 +00:00
TreeHugger Robot
a9aa51e6a3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 87e5157b5a -s ours am: 5714ee98e2 -s ours am: 38fcd6362d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4b192ee14b0be45f4d17dcc8d08ef59ec327c433
2022-01-14 18:57:02 +00:00
Bill Yi
c9aed5c01d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9d56130c5e -s ours am: 64c5aafe71 -s ours am: ed8abb4c03 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If7ad3dd1f06c56bd38fb7e4f9e2d487e9156027b
2022-01-14 18:56:54 +00:00
TreeHugger Robot
37bf9c7659 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 572b59c465 -s ours am: e7e23fad18 -s ours am: d24b5e76b7 -s ours am: 11b7ceed5f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3a6054ecd8ac6dda8f0b618ce862811e8c77df99
2022-01-14 18:56:40 +00:00
Bill Yi
c24002ff4b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a6f38c19f8 -s ours am: bbf27131c6 -s ours am: ed6a7764e0 -s ours am: cef21b1f0d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1a8687a35bfcbc1b0291dd27c7dbecc2a0913ad5
2022-01-14 18:56:20 +00:00
TreeHugger Robot
873cdc1a59 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 87e5157b5a -s ours am: dc9cf72aab -s ours am: 71a6671e1f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I89a2effde0cc1ab2b647533bf2b4ddc692351bb0
2022-01-14 18:56:01 +00:00
Bill Yi
12ac114b70 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9d56130c5e -s ours am: 9af90ac95e -s ours am: a8d53dc128 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibe267fdc89c051921a7a7f4031de36cb55ebc2f4
2022-01-14 18:55:38 +00:00
Bill Yi
fcf4311262 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 0179fc901f -s ours am: 0806182787 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8d978a34bbe8d6449ff2122bb90f23d29af1cfe3
2022-01-14 18:53:11 +00:00
TreeHugger Robot
51e3455fb3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 572b59c465 -s ours am: e7e23fad18 -s ours am: 7f1e201765 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iabf003db6b4a69d391de7558ca0c2abedec339ab
2022-01-14 18:52:24 +00:00
Bill Yi
3f8aa72445 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a6f38c19f8 -s ours am: bbf27131c6 -s ours am: 9a7585cd87 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic4c3335464f421bdd11cd0b1eac33fd07635ab8c
2022-01-14 18:52:19 +00:00