Commit Graph

78351 Commits

Author SHA1 Message Date
TreeHugger Robot
2228c642b8 Merge "Fix crash on "Connection preferences"" 2020-10-14 03:36:43 +00:00
Sally
904a8fa369 Add Bold Text to Accessibility settings screen
Bug: b/110991537
Test: setting appears, atest ForceBoldTextPreferenceControllerTest
Change-Id: I001b078cafd2b6da62929ffa1a7a09ddb28c9854
2020-10-13 16:57:00 +00:00
Yi Jiang
f5d1841c9d Merge Screen Attention and Screen timeout Settings.
Bug: 155051311
Test: atest
Change-Id: I6f6ee52618eab629a41b28982be32ead5f9ba08d
2020-10-13 00:47:13 -07:00
TreeHugger Robot
9c1f572646 [automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 4cee165533 -s ours am: e161ec59dc -s ours am: adf313878a -s ours am: 6208cbfd9d -s ours
am skip reason: Change-Id I8e3eb6c072488fdc33fae1ebabd17980a67f5d7d with SHA-1 064ba89fc3 is in history

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

Change-Id: If6a657422dbbca15909a1dbab0b3ffccb6be3be8
2020-10-13 05:01:12 +00:00
TreeHugger Robot
6208cbfd9d [automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 4cee165533 -s ours am: e161ec59dc -s ours am: adf313878a -s ours
am skip reason: Change-Id I8e3eb6c072488fdc33fae1ebabd17980a67f5d7d with SHA-1 064ba89fc3 is in history

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

Change-Id: I2a4a345f08f2b3423bbb9f1d9b0de95e0a994bfb
2020-10-13 04:50:31 +00:00
TreeHugger Robot
adf313878a [automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 4cee165533 -s ours am: e161ec59dc -s ours
am skip reason: Change-Id I8e3eb6c072488fdc33fae1ebabd17980a67f5d7d with SHA-1 064ba89fc3 is in history

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

Change-Id: I9c972593f7cdef6eb900fe6c0fd517685e7b0869
2020-10-13 04:22:40 +00:00
TreeHugger Robot
e161ec59dc [automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 4cee165533 -s ours
am skip reason: Change-Id I8e3eb6c072488fdc33fae1ebabd17980a67f5d7d with SHA-1 064ba89fc3 is in history

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

Change-Id: I74fc436ded08114312544556de5293486fc94442
2020-10-13 03:51:01 +00:00
TreeHugger Robot
4cee165533 Merge "Merge ab/6749736 in stage." into stage-aosp-master 2020-10-13 03:31:33 +00:00
TreeHugger Robot
2f6c333614 Merge "Hide the contextual home architecture." am: 38e8565b6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12803944

Change-Id: I6a39cb9c151f8ba4d67f6d0a8313ec473c6b7f99
2020-10-13 02:12:15 +00:00
TreeHugger Robot
38e8565b6e Merge "Hide the contextual home architecture." 2020-10-13 01:54:55 +00:00
android-build-team Robot
3945f309c8 Merge cherrypicks of [12820899, 12820921, 12820267, 12820924, 12820699, 12820781, 12821235, 12821236, 12820925, 12821237, 12820545, 12821039, 12820926, 12820927, 12820928, 12820929, 12820930, 12820590, 12820471, 12820591, 12820592, 12820593, 12820594, 12821255, 12821256, 12821257, 12820998, 12820932, 12821258, 12820546, 12820933, 12820934, 12820547, 12820548, 12821275, 12821238, 12821239, 12821240, 12821241, 12821199, 12821276, 12821277, 12821278, 12821279, 12821280] into rvc-qpr1-release
Change-Id: I45feeefbdb027cafe726330ec39b41dd91b838be
2020-10-13 01:15:42 +00:00
Taesu Lee
50ef14540d Add the extra "Ask every time" if supported only
Test: manual

Change-Id: Ie4bb150db41f1e654ea427a605050afbb57114cf
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-10-13 10:13:50 +09:00
Hugh Chen
b3640019f6 Hide tethering option when in a guest account
- Before this CL, users can share their mobile data through enabling
  tethering in the USB menu when in a guest account.
  It will cause main users to spend their money unexpectedly.

  This CL will hide the tethering option on the USB menu when in the
  guest account.
- Add test cases.

Bug: 166125765
Test: 1. make -j42 RunSettingsRoboTests. 2. Switch to a guest account
to verify whether the tethering option is hiding.

Change-Id: I7523b3f3c3a1372bb128a58a6a7fac973d27cfbe
Merged-In: I7523b3f3c3a1372bb128a58a6a7fac973d27cfbe
(cherry picked from commit bde627b263)
(cherry picked from commit a50f020c85)
2020-10-13 01:08:17 +00:00
Jeff DeCew
5bfe1d3f9c Update NotificationChannelSettings Preferences in place to prevent re-layout.
(cherry picked from commit b409b64045)

Fixes: 110093185
Test: ChannelListPreferenceControllerTest
Change-Id: If6acf305c44085e502a3304ea57e409ce049b40f
Merged-In: If6acf305c44085e502a3304ea57e409ce049b40f
2020-10-12 20:06:48 -04:00
Yi-Ling Chuang
985825edbf Hide the contextual home architecture.
The contextual home will default to being disabled in Android S.
Changing the feature flag could reenable it.

Fixes: 168179764
Test: launch Settings and don't see contextual cards
Change-Id: I9591b50c4fe882c8605a71490f56aef4156b3e80
2020-10-12 19:17:05 +08:00
Taesu Lee
7e0a1522c9 Remove dup READ_PRIVILEGED_PHONE_STATE permission
Test: build

Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: I877ac1631869e804a28a0f0d4c218ff1a8746dfd
2020-10-12 17:48:34 +09:00
Hugh Chen
3c33b6ea41 Add string for text of bluetooth switch
Bug: 153888620
Test: manually test
Change-Id: I60a791190abf535162f7ed1b80fe265482515137
2020-10-12 16:42:01 +08:00
Hugh Chen
84fe29ae79 Fix crash on "Connection preferences"
This CL adds a null check condition to avoid crash for
some device not support PrintManager.

Bug: 159848003
Test: make -j42 SettingsGoogle
Change-Id: Ic6c4c17bb563458f4f5a61dc0d93ae22b05f8763
2020-10-12 15:58:55 +08:00
jasonwshsu
fee9c2663a Set the minimum height to the CheckBox
Root Cause: Touch target of "container" is too small, reported by
accessibility scanner. Suggest to enlarge bigger than 48dp.

Solution: Set the minimum height to the CheckBox layout. If the
container text in CheckBox is bigger than 48dp, it will follow the
layout_height="wrap_content".

Bug: 168264410
Test: manual test
Change-Id: I50362baefd692e6bfbef1778eb2a5b72dd35ab7a
2020-10-12 15:00:35 +08:00
Stanley Wang
604c607dc1 Merge "Fix the DUS Loader item can't be searched." am: e94d2581f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771902

Change-Id: Ia680bb8090bd57a0f37f484620d623b530896005
2020-10-12 06:16:48 +00:00
Stanley Wang
e94d2581f8 Merge "Fix the DUS Loader item can't be searched." 2020-10-12 06:05:16 +00:00
Jason Chiu
fd8e9d4115 [automerger skipped] Reduce the flickering of injected items when package is changed am: e4b2b77452 am: 4b3d851f41 am: 615e2493ac -s ours am: cdfd8cc103 -s ours
am skip reason: Change-Id I77745b60f84510554bff1870a5bb7a8013eab528 with SHA-1 e4b2b77452 is in history

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

Change-Id: I0eaf6207792507b88b410fe2c61a55a66c474919
2020-10-12 05:20:19 +00:00
Jason Chiu
b57a755c90 [automerger skipped] Reduce the flickering of injected items when package is changed am: e4b2b77452 am: fe66e87832 am: 3e5ce2c8e6 -s ours am: b9769e8f0b -s ours
am skip reason: Change-Id I77745b60f84510554bff1870a5bb7a8013eab528 with SHA-1 20df25e6b9 is in history

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

Change-Id: Ia5a27740bf19b88f3ed2de38b3945a7c4711080b
2020-10-12 05:19:46 +00:00
Jason Chiu
cdfd8cc103 [automerger skipped] Reduce the flickering of injected items when package is changed am: e4b2b77452 am: 4b3d851f41 am: 615e2493ac -s ours
am skip reason: Change-Id I77745b60f84510554bff1870a5bb7a8013eab528 with SHA-1 e4b2b77452 is in history

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

Change-Id: I27e371d678720285b90f0e3597ec2920a2f20d58
2020-10-12 05:06:13 +00:00
Jason Chiu
b9769e8f0b [automerger skipped] Reduce the flickering of injected items when package is changed am: e4b2b77452 am: fe66e87832 am: 3e5ce2c8e6 -s ours
am skip reason: Change-Id I77745b60f84510554bff1870a5bb7a8013eab528 with SHA-1 20df25e6b9 is in history

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

Change-Id: I2086b8de2ef85d5398ea6e4f7fa5b67fa85cddf0
2020-10-12 05:05:36 +00:00
Jason Chiu
615e2493ac Reduce the flickering of injected items when package is changed am: e4b2b77452 am: 4b3d851f41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771880

Change-Id: I2407804b97257385d6ddf7c7a1a11365d66db00d
2020-10-12 04:49:08 +00:00
Jason Chiu
3e5ce2c8e6 Reduce the flickering of injected items when package is changed am: e4b2b77452 am: fe66e87832
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771880

Change-Id: I51833ab9e852bedd3c5bb28dc233f142e66a3238
2020-10-12 04:49:02 +00:00
Jason Chiu
fe66e87832 Reduce the flickering of injected items when package is changed am: e4b2b77452
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771880

Change-Id: Ia334ab14dd3aa48c0d48ad6adcfd50ecfcb3400a
2020-10-12 04:32:12 +00:00
Jason Chiu
4b3d851f41 Reduce the flickering of injected items when package is changed am: e4b2b77452
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771880

Change-Id: Ib2ff68b59e8aa9567d1f6f7c7281832dd323c2dc
2020-10-12 04:31:57 +00:00
Jason Hsu
2d3f431f8a Merge changes I02f03ccb,I0ee46dd9 am: a5085443ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12188904

Change-Id: I4fb623ef80809c584855b34131bdf622414c1dce
2020-10-12 04:27:04 +00:00
Jason Hsu
a5085443ff Merge changes I02f03ccb,I0ee46dd9
* changes:
  Extract UserShortcutType functions from ToggleFeaturePreferenceFragment
  Add data class PreferredShortcut to replace inner class UserShortcutType
2020-10-12 03:56:20 +00:00
tim peng
4739a8b791 Merge "Fix java.lang.ArrayIndexOutOfBoundsException in RemoteVolumeGroupController" am: 84b956ca03
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771881

Change-Id: Ic262bd420d6206f0217df9b6bf1a71d89253fe1b
2020-10-12 01:21:05 +00:00
tim peng
2678ff50e2 Merge changes from topic "update_entry" am: e5deddbe47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12763648

Change-Id: Ic2f71e2a54a995a8e3e71e70c3ee197ea22ae216
2020-10-12 01:20:54 +00:00
timhypeng
57bba89582 Update OutputSwitcher from MediaOutputSlice to MediaOutputDialog in Settings am: 3084d063f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12698447

Change-Id: Ief46356498c80a18df3aefbbd045af6bff07864c
2020-10-12 01:20:48 +00:00
tim peng
84b956ca03 Merge "Fix java.lang.ArrayIndexOutOfBoundsException in RemoteVolumeGroupController" 2020-10-12 01:04:18 +00:00
tim peng
e5deddbe47 Merge changes from topic "update_entry"
* changes:
  Update rule of launching media output dialog
  Update OutputSwitcher from MediaOutputSlice to MediaOutputDialog in Settings
2020-10-12 01:03:27 +00:00
Hall Liu
cd83e053de Merge "Replace TelephonyManager methods for mobile data" am: 9d39cc3d63
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12700389

Change-Id: I5b985f01d40f044d019c500f674a0c17ddc65e21
2020-10-09 17:10:24 +00:00
Jiashen Wang
f5a9cc2f03 Merge "[SIM Dialog Migration] Migrate eSIM erase dialog" am: 6265cf8e6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12750116

Change-Id: Ic49f018c26eb61708036e0fb936acec35182d713
2020-10-09 17:09:50 +00:00
Hall Liu
9d39cc3d63 Merge "Replace TelephonyManager methods for mobile data" 2020-10-09 17:03:16 +00:00
Jiashen Wang
6265cf8e6c Merge "[SIM Dialog Migration] Migrate eSIM erase dialog" 2020-10-09 16:38:58 +00:00
Bill Yi
b23a9efaf1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: de21809c01 -s ours am: 32105e95d1 -s ours am: b094391c1e -s ours am: 17eed892cb -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie5429745aaaf3ff9415e41789dc00c96f8af35d4
2020-10-09 14:53:14 +00:00
Bill Yi
17eed892cb [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: de21809c01 -s ours am: 32105e95d1 -s ours am: b094391c1e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibe5d769356cdac155cd4e9fe27fc3d906f02ee9d
2020-10-09 14:37:46 +00:00
Bill Yi
d7e4b6368d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2b4bb4554f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6588f3111877362bf59c09a488f6700a1b5da978
2020-10-09 14:09:02 +00:00
Bill Yi
b094391c1e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: de21809c01 -s ours am: 32105e95d1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9cf8504ce4b8ae2347f9c877d5855a99908af577
2020-10-09 13:52:30 +00:00
Bill Yi
32105e95d1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: de21809c01 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I17ae8fd63ae635042a95f0bd6bf44e0fda74c426
2020-10-09 13:32:50 +00:00
Xin Li
8656492241 Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: I8e3eb6c072488fdc33fae1ebabd17980a67f5d7d
Change-Id: I0411c2f1dbc2fa47b23ff52cacca990f3141f52f
2020-10-08 23:40:50 -07:00
Jiashen Wang
ff311a2107 [SIM Dialog Migration] Migrate eSIM erase dialog
Bug: 160819390
Test: Manually tested eSIM profile disabling.
Design: https://docs.google.com/document/d/1wb5_hoBkZVbkXGNWHbx4Jf61swjfxsJzkytiTzJosYo/edit?usp=sharing
Change-Id: I9523ee5dbab5b6a5ea020647a20992ac0b1aea86
2020-10-08 22:31:53 -07:00
Sarah Chin
f3d7860c70 Hide 'View plan' button in data usage settings
There are currently no callers of the setSubscriptionPlan() API that
have a MDP app set up. Remove the button when SubscriptionPlans are
defined, since it does nothing and causes confusion for users.

Test: manually verify button does not exist when a plan is defined
Test: make RunSettingsRoboTests
Bug: 169806315
Change-Id: Ieda020bfa692e9465d6297e50cf338deff91a8a9
2020-10-08 21:03:39 -07:00
Bill Yi
de21809c01 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b4ef8198075875b40875e95144cb7d130f10a70
2020-10-08 20:51:34 -07:00
Bill Yi
2b4bb4554f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1bc10c0ca6fc4f6b21da0a5384182d973404da02
2020-10-09 03:01:53 +00:00