Commit Graph

100843 Commits

Author SHA1 Message Date
Lucas Silva
eddf2b1345 Fix bug where dream preview image s not reset.
When the view is recycled, there may be an old preview image in the view
which should be cleared.

Bug: 222705951
Test: locally on device
Change-Id: I4bb1c176a9a6d04fd41780fa2da09ca685b87d26
2022-03-04 15:35:26 -05:00
Taran Singh
f4a312d1c5 Merge "Introduce developer option for Stylus handwriting" into tm-dev am: a10dc5280d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972176

Change-Id: Id0eb05463067ae69cddca56e2ffa80f8d62f4152
2022-03-04 18:32:29 +00:00
Yasin Kilicdere
4e31442a72 Update UI to show feedback while creating Guest from Settings.
Make UM.createGuest call async and show "Creating new guest" dialog during.

Bug: 219741250
Test: Manual
Change-Id: I7e3497fef283a4c13719a12b962866f88e9e5a50
2022-03-04 18:24:56 +00:00
Taran Singh
a10dc5280d Merge "Introduce developer option for Stylus handwriting" into tm-dev 2022-03-04 18:21:20 +00:00
Tsung-Mao Fang
6af43b1412 Remove no reference code
- Remove ControllerTask and ControllerFutureTask.
- Remove ControllerTaskTest and ControllerFutureTaskTest.

Fixes: 222661474
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.dashboard
Change-Id: I36f4e723c40aa59ecb3b087cab11f2a744540812
2022-03-04 20:28:28 +08:00
Xiao Ma
1bf408cb37 Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9 am: 39bc6f906f am: 60dfd4e89f am: 602ea501a6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: I6985a37c4ac53638c4c663f5f3c0a7d386a3a390
2022-03-04 09:23:14 +00:00
Xiao Ma
602ea501a6 Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9 am: 39bc6f906f am: 60dfd4e89f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: Ide96b958cd24eb08aac39fd58d6d9d681b9686b0
2022-03-04 09:01:52 +00:00
Xiao Ma
60dfd4e89f Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9 am: 39bc6f906f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: I87aa662e232eff08faa456b1de2507683684b564
2022-03-04 08:41:05 +00:00
Xiao Ma
39bc6f906f Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." am: ebebc5e1e9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2007411

Change-Id: Ica6d4fa97c90e7af1607b3bcb9ceddc6ff0d9c58
2022-03-04 08:19:17 +00:00
Xiao Ma
ebebc5e1e9 Merge "Remove InterfaceState and Role @IntDef from TetheredSettings." 2022-03-04 08:00:01 +00:00
Cn Chen
76c04b7202 Merge "Add dynamic color support" into tm-dev am: f578c547ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17077606

Change-Id: I24c12cf10c653f406e35935dabdb5dbdacb46802
2022-03-04 07:21:38 +00:00
Cn Chen
f578c547ad Merge "Add dynamic color support" into tm-dev 2022-03-04 07:03:17 +00:00
Amy Hsu
784bbc2cde Merge "Add summary and footer message for the ScreenResolutionFragment." into tm-dev am: c8f9f36273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17071745

Change-Id: If360c8fe27adfd629b982dc780d0846f80d1343a
2022-03-04 06:29:48 +00:00
Amy Hsu
c8f9f36273 Merge "Add summary and footer message for the ScreenResolutionFragment." into tm-dev 2022-03-04 06:24:08 +00:00
SongFerng Wang
791f961dcb Merge "[MEP] psim's logical slot index is 0" into tm-dev am: eeb16a306f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17070544

Change-Id: I99674c0307af607d6553db9785b35e4f5a89ecd9
2022-03-04 06:19:18 +00:00
Jason Chiu
6fbfe9474c Merge "Remove Flashlight from search results while the hardware is unavailable" into tm-dev am: 306964cc65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17077605

Change-Id: I96e44c4b0ee8468198b35204e1dc02c8b2ef1a79
2022-03-04 06:18:46 +00:00
Xiao Ma
bb0a8f2523 Remove InterfaceState and Role @IntDef from TetheredSettings.
@InterfaceState and @Role won't be exposed as module-lib APIs from
EthernetManager after migration, which are not visible for Settings
code, remove them as well.

Bug: 210586283
Test: m Settings
Change-Id: I49f0e8401681e66d6f5853c8eb3205fcef803c25
2022-03-04 06:09:33 +00:00
SongFerng Wang
eeb16a306f Merge "[MEP] psim's logical slot index is 0" into tm-dev 2022-03-04 05:57:55 +00:00
Jason Chiu
306964cc65 Merge "Remove Flashlight from search results while the hardware is unavailable" into tm-dev 2022-03-04 05:56:38 +00:00
TreeHugger Robot
5e5acb2dc6 Merge "Change magnify typing setting item's string." into tm-dev am: 1adba841e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17050395

Change-Id: If3cf747919bd0b74baa93efd86aeb40e1ebb6cab
2022-03-04 04:18:36 +00:00
TreeHugger Robot
1adba841e1 Merge "Change magnify typing setting item's string." into tm-dev 2022-03-04 04:00:14 +00:00
cnchen
3aff4b1513 Add dynamic color support
(before)https://hsv.googleplex.com/6220707954425856
(after)https://hsv.googleplex.com/6270261408038912

Bug: 209889556
Test: see the hsv above
Change-Id: Ifee0392c189dbe7210ba2561355e2c275e7cb7fe
2022-03-04 11:58:26 +08:00
Jason Chiu
705276771a Remove Flashlight from search results while the hardware is unavailable
Test: manual
Fix: 222599976
Change-Id: I353b872f9e56f5e00026e95933125c345636bbd2
2022-03-04 11:49:29 +08:00
Presubmit Automerger Backend
119ecdf838 [automerge] Use android.app.AlertDialog in SetupChooseLockGeneric 2p: cd517a654a am: e39120e45c am: 94e495c664
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17052922

Change-Id: I3a264afd379f6e682250de744b1b15f5c5141e2c
2022-03-04 03:11:53 +00:00
Presubmit Automerger Backend
94e495c664 [automerge] Use android.app.AlertDialog in SetupChooseLockGeneric 2p: cd517a654a am: e39120e45c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17052922

Change-Id: Iec0a0fb6c595a7e1f416dd3c3937085989caf4f5
2022-03-04 02:50:17 +00:00
Amy Hsu
372bbdcf9c 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
(cherry picked from commit d633cd6b32)
Merged-In: Iee1e74d3d4de81500b2abe62bc7e9bd69f55452c
2022-03-04 02:45:15 +00:00
PETER LIANG
278d6bb342 Merge "Fix that symbol at top left corner mismatch with remaining options in vision settings." into tm-dev am: ca3a45ebd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17046258

Change-Id: I7dbac3c2a168218a9830360448909f874be3fda8
2022-03-04 01:24:28 +00:00
Amy Hsu
b38fac221d Merge "Add ScreenResolutionController to Settings app" into tm-dev am: 27ad4dcf23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17046255

Change-Id: I586caad6daed97f3516e67a8c201af668e5b0634
2022-03-04 01:24:14 +00:00
TreeHugger Robot
5663decd9b [automerger skipped] Merge "[SafetyCenter] Update Settings to align with renamed SafetyCenterManager APIs" into tm-dev am: 5ccb07df85 -s ours
am skip reason: Merged-In Ieaa1c9d04a0a9805abb10025f170cd9283b4a906 with SHA-1 9540b9b15b is already in history

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

Change-Id: I185594dfe970883870d52fbe66305b2e159b3e34
2022-03-04 01:22:36 +00:00
Karishma Vakil
eafa5b0666 [automerger skipped] [SafetyCenter] Update Settings to align with renamed SafetyCenterManager APIs am: e23cd8ad0b -s ours
am skip reason: Merged-In Ieaa1c9d04a0a9805abb10025f170cd9283b4a906 with SHA-1 9540b9b15b is already in history

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

Change-Id: I581392bcef14d0834a5d67c766817d62131825a4
2022-03-04 01:22:34 +00:00
PETER LIANG
ca3a45ebd3 Merge "Fix that symbol at top left corner mismatch with remaining options in vision settings." into tm-dev 2022-03-04 01:21:58 +00:00
Amy Hsu
27ad4dcf23 Merge "Add ScreenResolutionController to Settings app" into tm-dev 2022-03-04 01:08:00 +00:00
TreeHugger Robot
5ccb07df85 Merge "[SafetyCenter] Update Settings to align with renamed SafetyCenterManager APIs" into tm-dev 2022-03-04 00:57:08 +00:00
Yasin Kilicdere
caf7556e20 Merge "Fix Guest string was not translated in UMS.userWithName()" into tm-dev am: 9f54f436d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17070265

Change-Id: I7df4cec3b8687f4fdfabb892db8e626086dacc85
2022-03-04 00:29:07 +00:00
Yasin Kilicdere
9f54f436d1 Merge "Fix Guest string was not translated in UMS.userWithName()" into tm-dev 2022-03-04 00:03:00 +00:00
Presubmit Automerger Backend
e39120e45c [automerge] Use android.app.AlertDialog in SetupChooseLockGeneric 2p: cd517a654a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17052922

Bug: 216442969
Change-Id: I8b98a48ad8d34b965f0d3dadb06247fdb84572bf
2022-03-03 23:37:07 +00:00
Edgar Wang
cd517a654a Use android.app.AlertDialog in SetupChooseLockGeneric
androidx.appcompat.app.AlertDialog will cause postiveButton and negativeButton become too close when the texts are longer.

Bug: 216442969
Change-Id: I39e84c1007c817399902034e853b2aeee1343adc
Test: visual verify
2022-03-03 23:36:55 +00:00
Aaron Liu
b4f80d69f3 Merge "Home Controls: Update subtitle for setting." into tm-dev am: b5fe96719c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16991603

Change-Id: I6d463669c7108abe80ec4341e7ac0936dbc72b9e
2022-03-03 22:25:51 +00:00
Aaron Liu
b5fe96719c Merge "Home Controls: Update subtitle for setting." into tm-dev 2022-03-03 22:20:54 +00:00
Menghan Li
3ac2e14863 Merge "Polish humanize strings for one-handed mode page" into tm-dev am: c5e6cfdc17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932279

Change-Id: I55f37f5514185ef3e1715acb83ae8ab4ca9bc1c9
2022-03-03 22:14:52 +00:00
Menghan Li
c5e6cfdc17 Merge "Polish humanize strings for one-handed mode page" into tm-dev 2022-03-03 21:25:02 +00:00
Karishma Vakil
bc84aad406 Merge "[SafetyCenter] Update Settings to align with renamed SafetyCenterManager APIs" into tm-mainline-prod 2022-03-03 20:09:15 +00:00
Aaron Liu
ea34e9ab42 Home Controls: Update subtitle for setting.
Change subtitle for device controls setting to be less generic. Need to address merge conflicts here.

Bug: 216110204
Test: Manual
Change-Id: I848d052461f412c51109c39b811252c64b19440a
(cherry picked from commit d0b77425a3)
2022-03-03 19:56:57 +00:00
Yasin Kilicdere
3fc4642ab4 Fix Guest string was not translated in UMS.userWithName()
This CL reverts the changes made in ag/14282598 since the issue is
solved from the source and removes 'String name' parameter from
UM.createGuest() calls.

Bug: 185309160
Test: atest UserDetailsSettingsTest
Change-Id: I92acad938d79e21b45af99cc76ff411022b61f1b
Merged-In: I92acad938d79e21b45af99cc76ff411022b61f1b
(cherry picked from commit ae871ba823)
2022-03-03 18:32:48 +00:00
SongFerngWang
0b948c827b [MEP] psim's logical slot index is 0
psim's logical slot index is 0, so changing the API and adding test
cases.

Bug: 221839363
Test: atest UiccSlotUtilTest
Change-Id: I1588bd4a2f552a6b41844883b6ad50f1bfec95de
(cherry picked from commit b162438b5d)
2022-03-03 17:14:44 +00:00
TreeHugger Robot
3dc1a0a3b7 Merge "Ignore test case of SetupSkipDialogTest" into tm-dev am: 02589e8b66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17069323

Change-Id: Ic144b00f6dcd546e3a51e6d99c4f45ee8ce8fd35
2022-03-03 16:40:03 +00:00
TreeHugger Robot
02589e8b66 Merge "Ignore test case of SetupSkipDialogTest" into tm-dev 2022-03-03 16:17:25 +00:00
PETER LIANG
5f0fe18050 Merge "Polish and humanize the summaries for "Remove animations" and "Large mouse pointer"." into tm-dev am: eb0a69cfcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17050387

Change-Id: I435d1bde06f082e133519554d0910e72fa3fd78e
2022-03-03 15:46:35 +00:00
PETER LIANG
eb0a69cfcc Merge "Polish and humanize the summaries for "Remove animations" and "Large mouse pointer"." into tm-dev 2022-03-03 15:25:44 +00:00
Menghan Li
357a64ddb2 Merge "Remove font size & screen size setup flow instance" into tm-dev am: d3ec64104d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17049975

Change-Id: I783bc27f99f3233bbd4cd42ec6e017fb741d677c
2022-03-03 15:12:16 +00:00