Commit Graph

84354 Commits

Author SHA1 Message Date
Sally Yuen
9281ab108a Merge "Add labels to intensity slider and flip labels" into sc-dev am: afd77763b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14970080

Change-Id: I94773c1e42aedeaad78cd8b539cdccb43591e336
2021-06-17 15:51:41 +00:00
Sally Yuen
afd77763b9 Merge "Add labels to intensity slider and flip labels" into sc-dev 2021-06-17 15:37:32 +00:00
Julia Reynolds
0d937afbb8 Add a11y text for disappearing preference
Test: Talkback
Fixes: 182241259
Change-Id: I99c1ce635c5717e22ee28bc86b51bd3be4b83d91
2021-06-17 14:28:35 +00:00
Jason Chang
afff67ebc4 Merge "Fix One-handed mode Settings Main Switch does not update its state correctly" into sc-dev am: 55d7d938bb am: f920a39c43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15001651

Change-Id: I579c8dc562ccc9b8357f914f77fcccd28ac72452
2021-06-17 13:29:12 +00:00
Jason Chang
c1c33bdd5d Merge "Fix One-handed mode Settings Main Switch does not update its state correctly" into sc-dev am: 55d7d938bb am: 056e930c37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15001651

Change-Id: I178f54b756d0b906304e7d5b228f9844f3dc9b8b
2021-06-17 13:28:49 +00:00
Jason Chang
056e930c37 Merge "Fix One-handed mode Settings Main Switch does not update its state correctly" into sc-dev am: 55d7d938bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15001651

Change-Id: I7c972f2242b5b16fa4892efce02b1aae0adcecf1
2021-06-17 13:19:30 +00:00
Jason Chang
f920a39c43 Merge "Fix One-handed mode Settings Main Switch does not update its state correctly" into sc-dev am: 55d7d938bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15001651

Change-Id: Ica8c8aacb4dd5124d7e19338814a30fc70d08294
2021-06-17 13:18:28 +00:00
Jason Chang
55d7d938bb Merge "Fix One-handed mode Settings Main Switch does not update its state correctly" into sc-dev 2021-06-17 13:00:52 +00:00
Tsung-Mao Fang
c9ffe47342 Collapse app bar while doing search in app page
Prior to this cl, user can see a large space on app bar
while user is doing search on app bar.

In this cl, we enforce to collapse the tool bar in
search case, and we don't allow user can scroll app bar as well.

Fix: 187016306
Test: Play around the search behavior in app page.
Change-Id: I25ba3ef24949cc43989fec4a80f75a24a8d92c07
2021-06-17 20:10:33 +08:00
Tom Hsu
85147d949b Merge "[Settings] Prevent crash from abnormal behavior." into sc-dev am: 0279a99e43 am: 6627a79a69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980880

Change-Id: I63d1276c61ed9831bdc525f86f6021aa36f75e0c
2021-06-17 11:35:25 +00:00
Tom Hsu
1955bbed28 Merge "[Settings] Prevent crash from abnormal behavior." into sc-dev am: 0279a99e43 am: d332493def
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980880

Change-Id: I2f111cc95560ebf54459bec4c601e699a70c427d
2021-06-17 11:34:45 +00:00
Tom Hsu
d332493def Merge "[Settings] Prevent crash from abnormal behavior." into sc-dev am: 0279a99e43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980880

Change-Id: If5720ff1bd460f7a311a5c87d0366282a51cf8fc
2021-06-17 11:33:21 +00:00
Tsung-Mao Fang
232b3ac12a Disable the scrollable ability on app bar area
As title, we do not allow user can scroll app bar while
the search menu is expanding.
So, we can ignore all drag events on app bar.

Test: Can not scroll on the app bar area
Fix: 181741353
Change-Id: I20c0b69059cdc4d13a15abd810a725d4591f6396
2021-06-17 19:29:25 +08:00
Tom Hsu
6627a79a69 Merge "[Settings] Prevent crash from abnormal behavior." into sc-dev am: 0279a99e43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980880

Change-Id: Ibbc6055e51e67b590df4cffb0f9d2f17a62e1748
2021-06-17 11:25:40 +00:00
Tom Hsu
0279a99e43 Merge "[Settings] Prevent crash from abnormal behavior." into sc-dev 2021-06-17 11:23:12 +00:00
TreeHugger Robot
a1ff011ded Merge "Fix dialog color problem in night mode." into sc-dev am: f026108de5 am: b001f45b3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008367

Change-Id: I4cbf11b28c96def10ae3b9f0eb6f4a572d1bec29
2021-06-17 11:22:06 +00:00
TreeHugger Robot
d95b63c4e7 Merge "Fix dialog color problem in night mode." into sc-dev am: f026108de5 am: 8d5d40f30c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008367

Change-Id: I907e35d4fd9e7d62af73c9ce3e8dcf291efc70b6
2021-06-17 11:21:45 +00:00
TreeHugger Robot
8d5d40f30c Merge "Fix dialog color problem in night mode." into sc-dev am: f026108de5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008367

Change-Id: I92baa048a53a322b9a09eff8a27430dd76752807
2021-06-17 11:16:41 +00:00
TreeHugger Robot
b001f45b3a Merge "Fix dialog color problem in night mode." into sc-dev am: f026108de5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008367

Change-Id: I7d06f1009b0f94bf2b8143416790e675493b1a0c
2021-06-17 11:16:40 +00:00
TreeHugger Robot
7f2a01ecce Merge "Add click tile event for tracking" into sc-dev am: a5556a6e9c am: 33d7e63d82
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980885

Change-Id: Ib2714fe3d2dba298d57d715cde7bdef71735fd52
2021-06-17 11:16:32 +00:00
TreeHugger Robot
d31c9deed5 Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 152a82ebb2 am: 2755824a12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008365

Change-Id: Idef9c11d434345b2a68a1765a67e03d8d5f22ef4
2021-06-17 11:16:28 +00:00
TreeHugger Robot
a947bfa37e Merge "Improve the animation while opening search" into sc-dev am: 709d37e27e am: ed9a764c39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008366

Change-Id: I44a237e7b949f317aec2d82e1b421fac98afae43
2021-06-17 11:16:23 +00:00
TreeHugger Robot
f026108de5 Merge "Fix dialog color problem in night mode." into sc-dev 2021-06-17 11:13:33 +00:00
TreeHugger Robot
06e98e6377 Merge "Add click tile event for tracking" into sc-dev am: a5556a6e9c am: 51776aceb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980885

Change-Id: I8b373287ff9f3f17a2299035cd0ffa4ff32c31e8
2021-06-17 11:13:08 +00:00
TreeHugger Robot
2b0639e19b Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 152a82ebb2 am: d921ba9f19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008365

Change-Id: I494e9f4f208696dee4df553990bb8a3784793386
2021-06-17 11:13:03 +00:00
TreeHugger Robot
3e058ff811 Merge "Improve the animation while opening search" into sc-dev am: 709d37e27e am: 54fab44c31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008366

Change-Id: Iebf0d5369059316bdbb9c3922f4edf81aee02e6c
2021-06-17 11:12:59 +00:00
TreeHugger Robot
33d7e63d82 Merge "Add click tile event for tracking" into sc-dev am: a5556a6e9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980885

Change-Id: I2c38ffd966ff07dfccb598d53d75f758376bf5ab
2021-06-17 11:07:09 +00:00
TreeHugger Robot
51776aceb5 Merge "Add click tile event for tracking" into sc-dev am: a5556a6e9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980885

Change-Id: Ia7e852fbab1440acbf53baba61c300bba02bc9c3
2021-06-17 11:06:16 +00:00
TreeHugger Robot
a5556a6e9c Merge "Add click tile event for tracking" into sc-dev 2021-06-17 11:02:55 +00:00
TreeHugger Robot
2755824a12 Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 152a82ebb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008365

Change-Id: Ic861bf735aec392f2d85b9b31d150108f206e8ef
2021-06-17 11:01:18 +00:00
TreeHugger Robot
ed9a764c39 Merge "Improve the animation while opening search" into sc-dev am: 709d37e27e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008366

Change-Id: I1edd5baacf2ce05aa95fbbe305fcc4508a75cf9c
2021-06-17 11:01:12 +00:00
TreeHugger Robot
d921ba9f19 Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 152a82ebb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008365

Change-Id: I9d6f994cbe95d1d747adc7a89c853724b91dc57a
2021-06-17 11:00:34 +00:00
TreeHugger Robot
54fab44c31 Merge "Improve the animation while opening search" into sc-dev am: 709d37e27e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15008366

Change-Id: Ia732a3e23490889dea9942c1a1dda345120223c7
2021-06-17 11:00:25 +00:00
TreeHugger Robot
152a82ebb2 Merge "Fix Learn more link placement is wrong problem" into sc-dev 2021-06-17 10:59:14 +00:00
TreeHugger Robot
709d37e27e Merge "Improve the animation while opening search" into sc-dev 2021-06-17 10:49:34 +00:00
Tsung-Mao Fang
1e8a907d91 Fix dialog color problem in night mode.
Assign the suface light and dark color for Dialog.

Test: Rebuilt apk, and see color works well on wifi dialog.
Fix: 190142194
Change-Id: I43d010c70e22639a29a571bfadb4351f41e1a240
2021-06-17 10:08:32 +00:00
Tsung-Mao Fang
22b50de9f4 Add click tile event for tracking
- Search bar in homepage.
- Avatar icon in homepage.
- More personal safety in Safety & emergency.

Test: Rebuilt rom
Fix: 190341976
Change-Id: I14297211e4b7424f5fdeb46c360b3913101251d7
2021-06-17 17:50:34 +08:00
Menghan Li
706a786c49 Merge "Fix "Left" & "Right" in the wrong sides for LTR language" into sc-dev am: 88c518b2ca am: 8989c203fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980889

Change-Id: I2d2e942df073ef8a02def2a48a5ea4272781bc59
2021-06-17 09:28:58 +00:00
Menghan Li
0760d654af Merge "Fix "Left" & "Right" in the wrong sides for LTR language" into sc-dev am: 88c518b2ca am: 3012b28394
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980889

Change-Id: Icd45f4239b35d2d15c90422930a68916ea9e0d7c
2021-06-17 09:27:49 +00:00
Yi-Ling Chuang
b684a8dbdf Improve the animation while opening search
Remove the exit transition on the homepage.

Fixes: 189390497
Test: robotest and launch search seeing the y-axis transition
Change-Id: Ia791757e0fef51eeefc7442e04369016a6200f84
2021-06-17 17:26:43 +08:00
Menghan Li
3012b28394 Merge "Fix "Left" & "Right" in the wrong sides for LTR language" into sc-dev am: 88c518b2ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980889

Change-Id: Id8d745b00f73fa54f898e39ef00f801d1f1cc652
2021-06-17 09:15:50 +00:00
Menghan Li
8989c203fd Merge "Fix "Left" & "Right" in the wrong sides for LTR language" into sc-dev am: 88c518b2ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980889

Change-Id: I890ff57a26978e113df381f15716cf4f5edb13f9
2021-06-17 09:15:01 +00:00
Jason Chang
9837ce4a24 Fix One-handed mode Settings Main Switch does not update
its state correctly

Add Settings.Secure.ONE_HANDED_MODE_ENABLED key observer when
its state changes.

Bug: 191267388

Test: Manual verified on Settings > System > Gestures
> Use One-handed mode.
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedMainSwitchPreferenceControllerTest"

Change-Id: I264fda3a8ab0a76e6234199346b6720895b95cd6
2021-06-17 17:03:00 +08:00
Menghan Li
88c518b2ca Merge "Fix "Left" & "Right" in the wrong sides for LTR language" into sc-dev 2021-06-17 09:00:39 +00:00
Yi-Ling Chuang
07775c5c28 Remove FLAG_ACTIVITY_NEW_TASK when startActivityAsUser
In the previous CL, we only remove the flag when the transition is
enabled. This CL remove it entirely regardless of the existing of the
transition since we'll be using the default transition.

Bug: 186858442
Test: click on any work profile app and don't see task transition.
Change-Id: Ie93e87156ca49e4bccef28d75afc54161919da62
2021-06-17 16:29:15 +08:00
tom hsu
a2402aba83 [Settings] Prevent crash from abnormal behavior.
- The problem is user remove SIM when stop in ApnSettings page, and do
 unexpected operation.

 - To figure out this problem, listen SIM absent event and make activity
 finish at this moment.

Bug: 189909956
Test: Manual test.
Change-Id: I179c708debcbc31ba9a93e4e434ae810051f5004
2021-06-17 07:28:53 +00:00
Sunny Shao
073addda54 Fix Learn more link placement is wrong problem
- Use the new style of the FooterPreference.

Fixes: 190951058
Test: manual test
Change-Id: I33d30f00b3785f5195e38e3e26524dd93971d486
2021-06-17 13:47:32 +08:00
TreeHugger Robot
a3b3cdc885 Merge "Update "Unused apps" load-in UI" into sc-dev am: 2110a5b95e am: 4af87c0cbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14970514

Change-Id: Ia08a495a735beb7403b7860e87e4ae93dc64b41c
2021-06-17 05:17:18 +00:00
TreeHugger Robot
27d58c9496 Merge "Update "Unused apps" load-in UI" into sc-dev am: 2110a5b95e am: f689ab0d53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14970514

Change-Id: Idf6e1a7e2559ad3b3887fe90044b2b727e477c74
2021-06-17 05:15:38 +00:00
TreeHugger Robot
f689ab0d53 Merge "Update "Unused apps" load-in UI" into sc-dev am: 2110a5b95e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14970514

Change-Id: I4be2a6012969c2ceffb945632bb0cadd752720b0
2021-06-17 05:02:14 +00:00