Commit Graph

83533 Commits

Author SHA1 Message Date
Tom Hsu
0279a99e43 Merge "[Settings] Prevent crash from abnormal behavior." into sc-dev 2021-06-17 11:23:12 +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
f026108de5 Merge "Fix dialog color problem in night mode." into sc-dev 2021-06-17 11:13:33 +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
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
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
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
4af87c0cbd 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: I788449f044000739ce5084b361a4091163799e27
2021-06-17 05:01:34 +00:00
TreeHugger Robot
2110a5b95e Merge "Update "Unused apps" load-in UI" into sc-dev 2021-06-17 04:52:08 +00:00
Yanting Yang
7ee7fc159f Merge "Improve flicker when open app info page" into sc-dev am: 186254c6bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14999191

Change-Id: I1d808cb4571d0aff2252646bc920f451c937da53
2021-06-17 03:39:41 +00:00
Yanting Yang
186254c6bc Merge "Improve flicker when open app info page" into sc-dev 2021-06-17 03:28:22 +00:00
Jeremy Goldman
1585e6726c Close AirplaneModeEnabler once lifecycle classes are destroyed.
The AirplaneModeEnabler is a ContentObserver, and it must be closed when
the object containing it is deleted. Otherwise, it will continue to
exist and cause a memory leak.

Test: atest -c SettingsUnitTest
Bug: 177265744

Change-Id: Idd48b601be1133ee02010e23d8dcb394d1e29bd3
2021-06-17 10:26:09 +08:00
Kevin Chyn
f721b1d9a6 Merge "Pass context and enforcedAdmin to onClickListener" into sc-dev am: 5a8476a709
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14984578

Change-Id: I5b7e86c7745b89ec5d1b0ae673a182eca594edc8
2021-06-17 02:01:44 +00:00
Kevin Chyn
83a8b9141d Merge changes from topic "kchyn-unicorn4a" into sc-dev am: 678a57b0df
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14991599

Change-Id: I216f08fd5182096e96debe88674d466edb93f680
2021-06-17 02:00:40 +00:00
Kevin Chyn
e70ec6e388 Add biometric strings to DeviceAdminStringProviderImpl am: fc19953d28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14984754

Change-Id: I7ba4cfa16a8154d482f193aa2713b5b06b21e7a4
2021-06-17 02:00:38 +00:00
Kevin Chyn
5a8476a709 Merge "Pass context and enforcedAdmin to onClickListener" into sc-dev 2021-06-17 01:28:17 +00:00
Kevin Chyn
678a57b0df Merge changes from topic "kchyn-unicorn4a" into sc-dev
* changes:
  Show biometric-specific dialog when appropriate
  Add biometric strings to DeviceAdminStringProviderImpl
2021-06-17 01:27:00 +00:00
Julia Reynolds
393134f9b1 Validate config activities with their rule owners
Test: RoboTests
Bug: 189332346
Change-Id: Iee1b1caca4d6eb2729feb872c3e4954b6c16519c
2021-06-16 15:40:34 -04:00
Abel Tesfaye
839f9e6319 Merge "Fix battery saver not disabling adaptive sleep switch" into sc-dev am: b8c610b188
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14923591

Change-Id: I57c511d4bbebeb18c57b51009e3e1c7fda232467
2021-06-16 17:39:15 +00:00
Abel Tesfaye
b8c610b188 Merge "Fix battery saver not disabling adaptive sleep switch" into sc-dev 2021-06-16 17:25:48 +00:00
Joe Bolinger
a8808f7368 Add plumbing and placeholder screens for parental consent flow.
Bug: 188847063
Test: adb shell am start -a android.settings.BIOMETRIC_ENROLL --ez require_consent true
Test: atest com.android.settings.biometrics.ParentalConsentHelperTest
Change-Id: Ie136036d5f550775fd0b021979581a5d222f1b68
2021-06-16 09:58:19 -07:00
Treehugger Robot
e7e7c33de7 Merge "Settings: use framework text colors for SwitchBar" am: b09a17bc9e am: b34692c2b5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1708559

Change-Id: I15cef0a16d846f68ea331b550b1926caa952d8f6
2021-06-16 15:29:29 +00:00
Treehugger Robot
b34692c2b5 Merge "Settings: use framework text colors for SwitchBar" am: b09a17bc9e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1708559

Change-Id: I84406695c1822ccda20b74b35ea18a2d51487119
2021-06-16 15:18:06 +00:00
Treehugger Robot
b09a17bc9e Merge "Settings: use framework text colors for SwitchBar" 2021-06-16 14:59:18 +00:00
Yanting Yang
b492aa369e Improve flicker when open app info page
The Battery item moves down because the summary of Screen time is
loading in the background, we should put a summary placeholder to
avoid item shifting.

Fixes: 191115152
Test: robotests & visual
Change-Id: Iee297a7350726f02c3569231d37112f8911b1b35
2021-06-16 21:03:25 +08:00
Stanley Wang
2773b42560 Merge "Fix the problem that the "Turn off SIM" dialog will be displayed when the MobileNetwork page is slid to to top." into sc-dev am: d0adfa7b3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14964824

Change-Id: I9425dd8d67aa65b90ea6ccc080a305d1bd263dcf
2021-06-16 11:45:05 +00:00
TreeHugger Robot
b48c3f5aa6 Merge "Fix the issue of permanent loading when Wi-Fi is disabled" into sc-dev am: 1803aead52
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980888

Change-Id: I7c1501692a5d09bd4fad1369ac50eb7c6f9d7f2a
2021-06-16 11:44:59 +00:00
TreeHugger Robot
b848c52f5b Merge "Add One-handed mode entry point in a11y system controls" into sc-dev am: 1da2a5390a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980884

Change-Id: I79f741d31a30c68bdabafee75ff9d10d9ec523d8
2021-06-16 11:44:52 +00:00
Stanley Wang
d0adfa7b3e Merge "Fix the problem that the "Turn off SIM" dialog will be displayed when the MobileNetwork page is slid to to top." into sc-dev 2021-06-16 11:42:00 +00:00
TreeHugger Robot
1803aead52 Merge "Fix the issue of permanent loading when Wi-Fi is disabled" into sc-dev 2021-06-16 11:38:32 +00:00
TreeHugger Robot
1da2a5390a Merge "Add One-handed mode entry point in a11y system controls" into sc-dev 2021-06-16 11:35:43 +00:00
TreeHugger Robot
bf2fae3df5 Merge "Fix the toggle button flicker problem when display" into sc-dev am: c0b23b03c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819349

Change-Id: I7ec1c5fe717c5103dcb43fe48672724bc2abba77
2021-06-16 11:32:06 +00:00
TreeHugger Robot
c0b23b03c3 Merge "Fix the toggle button flicker problem when display" into sc-dev 2021-06-16 11:19:22 +00:00
TreeHugger Robot
6976661295 Merge "Fix testGetDeviceOwnerDisclosure test case fail" into sc-dev am: bcc49f1fe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14980886

Change-Id: I6b0d8fe110983769365aad5369173ff6e23bb02e
2021-06-16 10:14:03 +00:00
TreeHugger Robot
bcc49f1fe0 Merge "Fix testGetDeviceOwnerDisclosure test case fail" into sc-dev 2021-06-16 10:06:12 +00:00
Alex Johnston
96dfbcc3b0 Merge "RequestManageCredentials foldable view" into sc-dev am: 71786f9775
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14964381

Change-Id: Ib5f302ebc3c898085e429861fe81fbf41f81f9a8
2021-06-16 09:38:49 +00:00
Stanley Wang
5da70e5205 Merge "Update the illustrations to Lottie format." into sc-dev am: 51308300ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934762

Change-Id: I0b6ddf29b264a60aab78bc8c7de65235a837ead0
2021-06-16 09:38:25 +00:00
menghanli
25ee0a7438 Fix "Left" & "Right" in the wrong sides for LTR language
Root cause: In the LTR language, the "Left" & "Right" options should be in the opposite sides -- currently "Left" is in the right side and "Right" is in the left side (Same as the English version) and should be changed.
Solution: Keep ltr layout direction.

Bug: 190354990
Test: Manual test
Change-Id: I47b71b3db7c834984202513e2cac6c4d787518dc
2021-06-16 09:38:17 +00:00
Alex Johnston
71786f9775 Merge "RequestManageCredentials foldable view" into sc-dev 2021-06-16 09:27:03 +00:00