Commit Graph

57923 Commits

Author SHA1 Message Date
Mehdi Alizadeh
3ea61b66af Rename methods to reflect the correct names of nav modes
Bug: 146004827
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationGestureSettingsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationPreferenceControllerTest

Change-Id: I00602c41aed5e675b8e0d3df7a3b3b318e6ec903
2019-12-17 11:39:40 -08:00
Jay Aliomer
d7da4436b2 Merge "Refine the DarkModeScheduleSelectorController" 2019-12-17 17:26:19 +00:00
Bernardo Rufino
9e32620854 Report if app-specific SAW intent
Log using PlatformCompat framework if the app tried to deep-link into
the app-specific screen for managing SAW permission.

Bug: 146327570
Bug: 135920175
Test: 1. adb shell am start -a
android.settings.action.MANAGE_OVERLAY_PERMISSION -d package:com.foo.bar
      2. adb logcat -s -v color CompatibilityChangeReporter:*
      3. Verify compat change id reported 135920175 and state LOGGED

Change-Id: I1d6c571d524d70c11156aeea27a8800d2a0ba42b
2019-12-17 14:49:00 +00:00
SongFerngWang
c13da87416 [mainline] Decouple ServiceState.bitmaskHasTech and getBitmaskForTech
Bug: 146314969
Test: Build pass.
      make RunSettingsRoboTests ROBOTEST_FILTER=ApnEditorTest

Change-Id: I1e9eeab9d886a2910c7db8b59cfe267c51c5920c
Merged-In: I1600a96a729fc3b555eab5bc80b069663c8eb00a
2019-12-17 12:19:52 +00:00
SongFerng Wang
b222676505 Merge "[mainline] decouple ServiceState.bitmaskHasTech and getBitmaskForTech" 2019-12-17 12:18:19 +00:00
Stanley Wang
96dc223f0c Merge "Index Caption preferences page" 2019-12-17 10:20:02 +00:00
Automerger Merge Worker
83c64c3a3c Merge "Fix volume slider color is not correct" am: d1489d2f1f am: 9bb1c631ae am: 96c32711b8
Change-Id: Ibb3508f910e6d913135f5370b47376155f69f7ca
2019-12-17 09:42:04 +00:00
Automerger Merge Worker
96c32711b8 Merge "Fix volume slider color is not correct" am: d1489d2f1f am: 9bb1c631ae
Change-Id: I66e7bb3c06891d092d6ec4b49372ab977670beee
2019-12-17 09:22:59 +00:00
Menghan Li
64295adb27 Merge "Color correction improvement (3/n)" 2019-12-17 09:20:30 +00:00
TreeHugger Robot
2e2532077d Merge "Fix UI issue in LocationSettings" 2019-12-17 09:06:38 +00:00
Raff Tsai
9bb1c631ae Merge "Fix volume slider color is not correct"
am: d1489d2f1f

Change-Id: I6d638ec272cfac5be07e817bbac8c287896fdc4d
2019-12-17 01:04:45 -08:00
Raff Tsai
d1489d2f1f Merge "Fix volume slider color is not correct" 2019-12-17 08:46:46 +00:00
Raff Tsai
37860d4299 Fix volume slider color is not correct
Fixes: 140990940
Test: 1. Switch to dark theme
      2. adb shell am start -a android.settings.panel.action.VOLUME
      3. check volume slider color is identical to color in "Done"
      4. Switch to light theme
      5. adb shell am start -a android.settings.panel.action.VOLUME
      6. Check volume slider color is identical to color in "Done"

Change-Id: If783d5c5f8604a23cfaaa28cf42b916763f9c9e8
2019-12-17 14:34:29 +08:00
TreeHugger Robot
a90c5186b1 Merge "Add developer option for bluetooth Gabeldorche feature" 2019-12-17 06:19:14 +00:00
Automerger Merge Worker
5921312f43 Merge "Add feature provider for face unlock" into qt-qpr1-dev am: 8472279900 am: 619d8b3418
Change-Id: I61ae5ff018d97c84fcdcccaefa1159d0ee3716d0
2019-12-17 05:51:13 +00:00
menghanli
657189062f Color correction improvement (3/n)
1. Add summary in accessibility settings page by controller
2. Fix "XmlControllerAttributeTest" for ColorCorrection

Bug: 145968068
Bug: 146319816
Test: make RunSettingsRoboTests2
Change-Id: Ia4dfb2290953eea33c266bd9f7c825c956bcc93a
2019-12-17 13:44:40 +08:00
Automerger Merge Worker
619d8b3418 Merge "Add feature provider for face unlock" into qt-qpr1-dev am: 8472279900
Change-Id: I3334a10c25af3b5a8ed125495c7012fe46516485
2019-12-17 05:38:36 +00:00
Kevin Chyn
8472279900 Merge "Add feature provider for face unlock" into qt-qpr1-dev 2019-12-17 05:27:01 +00:00
Sunny Shao
7f086c0e81 Refine the DarkModeScheduleSelectorController
- move the initial part to the displayPreference.
- use indext compared instead of the direct string compared.

Bug: 141567787
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ROBOTEST_FILTER=com.android.settings.display
Change-Id: I49ccc248bc1f5f9659f8543793ea502ac3e2ea6f
2019-12-17 13:15:11 +08:00
Raff Tsai
5ec8efe7e0 Fix UI issue in LocationSettings
- Add WorkPreferenceController to support directly use work profile
related feature in xml
- Get only work/personal infos in RecentLocationRequestPreferenceController
and RecentLocationRequestSeeAllPreferenceController
- Remove ProfileSelectStorageFragment

Bug: 141601408
Fixes: 146080649
Test: manual, robolectric
Change-Id: Ide39c7a3796e16421f3a5690309c3d746a956de8
2019-12-17 04:25:49 +00:00
Automerger Merge Worker
11b1642c82 Merge "[Settings] Suspend some test case(s)" am: a70e45b03c am: 9bd271763e am: 1bacc5697b
Change-Id: I5d301b54ce7b9c7dab72d713eeef1ffbf748ed14
2019-12-17 03:52:40 +00:00
Automerger Merge Worker
1bacc5697b Merge "[Settings] Suspend some test case(s)" am: a70e45b03c am: 9bd271763e
Change-Id: Iecbace1215fa4c150a44cc462c7157bc044250f4
2019-12-17 03:37:08 +00:00
Stanley Wang
5b580d5d00 Index Caption preferences page
- Add indexable raw data.
- Add dynamic indexable raw data.

Fixes: 146390416
Test: make RunSettingsGoogleRoboTests -j & manual
Change-Id: Ic48b05b5ee74518f944e4d1ef1b19122ceb484dd
2019-12-17 11:35:19 +08:00
Paul Chang
df9501ba62 Merge "Have a setting in Developer Options to choose bug report handler" 2019-12-17 03:20:19 +00:00
Bonian Chen
9bd271763e Merge "[Settings] Suspend some test case(s)"
am: a70e45b03c

Change-Id: Icaddf7a6f31d938af3f4a748f81c4890dc06fd52
2019-12-16 19:06:42 -08:00
TreeHugger Robot
361ecac41f Merge "Finish Activity when account is changed" 2019-12-17 03:04:35 +00:00
Bonian Chen
a70e45b03c Merge "[Settings] Suspend some test case(s)" 2019-12-17 02:37:15 +00:00
Kevin Chyn
15f241b296 Add feature provider for face unlock
Bug: 146085546

Test: Builds
Change-Id: If5c7d57c12a3f679d81cee22fb94a53fce1de29a
2019-12-16 18:19:20 -08:00
Xiangyu/Malcolm Chen
e0f40d5948 Merge "Mainline: remove usage of hiddepn API SubscriptionManager#getPhoneId" 2019-12-17 01:59:43 +00:00
Jayachandran C
d5df7b9655 Settings: Remove usage of hidden APIs
This CL uses TelephonyManager instead of TelephonyIntent for
ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS

Bug: 146240041
Change-Id: I45bf3295badb49a571ab13fea2c6218768533835
2019-12-16 16:52:25 -08:00
Chris Manton
60777c01e1 Add developer option for bluetooth Gabeldorche feature
Bug: 146383030
Test: Manually verified toggling on crosshatch
Change-Id: I8871855f0bafd74cec7fb73c4d8bae22764f354a
2019-12-16 16:48:36 -08:00
Ahmed ElArabawy
5120a342ca Wifi: Handle adding 6GHz band to SoftAP
With the support of 6GHz in Android, BAND_ANY is no longer equivalent
to 2GHz+5GHz.
This commit makes the changes to adapt with this.

Bug: 139354972
Test: Manual
Change-Id: I29263573fb900a560494a84df5a16ac0e6948f59
2019-12-16 15:40:57 -08:00
Automerger Merge Worker
93b2bfe37e [automerger skipped] Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev am: 58bffb7f71 am: 1cd39a3fb9 -s ours
am skip reason: subject contains skip directive

Change-Id: I195d0040944eae7bafc19fce92f39221765ea43b
2019-12-16 22:00:58 +00:00
Automerger Merge Worker
4b7a5135cb [automerger skipped] [DO NOT MERGE] Add country blacklist support am: d4420d4ce4 am: 34c41cdadb -s ours
am skip reason: subject contains skip directive

Change-Id: I3ec034c60a70fc78a92e5971d9f76604715f6c62
2019-12-16 22:00:14 +00:00
Automerger Merge Worker
1cd39a3fb9 Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev am: 58bffb7f71
Change-Id: I2b25e18e176a7399ce4c7149a87b2014fceecb69
2019-12-16 21:55:09 +00:00
Automerger Merge Worker
34c41cdadb [DO NOT MERGE] Add country blacklist support am: d4420d4ce4
Change-Id: I2924df987a2a0efc9e4f9f9f2e2fd838ed01f19d
2019-12-16 21:54:11 +00:00
Automerger Merge Worker
520c27cf72 [automerger skipped] Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev-plus-aosp am: 62487aed51 -s ours
am skip reason: subject contains skip directive

Change-Id: If5d0a3eed0132307fe92e070d7554403baf76b9c
2019-12-16 21:53:34 +00:00
Alex Lin
58bffb7f71 Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev 2019-12-16 21:34:45 +00:00
Alex Lin
62487aed51 Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev-plus-aosp 2019-12-16 21:34:45 +00:00
Steven Liu
6c1efb0a80 Merge "Remove those stuff about CarrierAp, they are removed from FW." 2019-12-16 21:33:23 +00:00
Mehdi Alizadeh
84a23d37fb Merge "New strings for the gesture navigation settings page" 2019-12-16 21:22:17 +00:00
Malcolm Chen
26e5dbdbfd Mainline: remove usage of hiddepn API SubscriptionManager#getPhoneId
Bug: 140908357
Test: build
Change-Id: Idaa206c7659717a269738c0121a31d957f7d90d0
2019-12-16 11:43:00 -08:00
Steve Elliott
da4a874d84 Merge "New toggle for peoplehub in Notification settings" 2019-12-16 16:41:46 +00:00
Automerger Merge Worker
79c698f801 Merge "[Settings] Remove access of TelecomManager.from()" am: 90544355cd am: 0871f6bc97 am: 0419bccadc
Change-Id: I09b6f3bb2990d0b13c9cb58e4bfd7ad12d4178cd
2019-12-16 14:36:25 +00:00
Automerger Merge Worker
0419bccadc Merge "[Settings] Remove access of TelecomManager.from()" am: 90544355cd am: 0871f6bc97
Change-Id: I992dfff13cca63e070a74066a78b53fb8fefe01d
2019-12-16 14:23:54 +00:00
Bonian Chen
0871f6bc97 Merge "[Settings] Remove access of TelecomManager.from()"
am: 90544355cd

Change-Id: I4fe4009ffd33e2610d0c4bc8382ae8534c07a661
2019-12-16 06:12:53 -08:00
Treehugger Robot
90544355cd Merge "[Settings] Remove access of TelecomManager.from()" 2019-12-16 13:04:24 +00:00
TreeHugger Robot
d04ad97133 Merge "Only show Condtionals when the feature flag is on." 2019-12-16 10:36:49 +00:00
Yi-Ling Chuang
9bda9af186 Only show Condtionals when the feature flag is on.
We plan to deprecate Settings Conditionals as it seems
duplicated with quick settings. For now, we set the default
value of this flag to false to disalbe it. OEMs could still
enalbe this feature by setting the flag on.

Bug: 142927361
Test: robotests
Change-Id: Ifaf710caf0045cb185b3a8c3b04f1ce537f67896
2019-12-16 17:13:21 +08:00
Jason Chiu
d955ebcd61 Merge "[Settings] Add preference click metric log" 2019-12-16 08:58:35 +00:00