Commit Graph

59218 Commits

Author SHA1 Message Date
kholoud mohamed
14a887fbf1 Add settings page to control cross profile appop
This does not have the final UX changes.
Strings are marked as non-translatable since they are not yet finalized.

Bug: 136249261
Bug: 140728653
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesDetailsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesSettingsTest
Change-Id: Ia3ebebc9bb53dcb5097bda71df9cfa5c4442fc59
2020-02-06 12:14:34 +00:00
menghanli
15cb5c1937 Add content descripiton to shortcut setting for meaningful labels.
Bug: 148965509
Test: Manual test
Change-Id: I771fa782f9acf76a60a0da9216f9b691b25583ca
2020-02-06 19:10:07 +08:00
Dianne Hackborn
95108c4b38 Reland: Rework platform version to hide codenames.
The public platform version no longer can be a codename, it is
always the most recently released platform.  A new build property
and API provides either the offical version or the current codename
as appropriate.  This will avoid breaking apps that look at the
platform version while development is under a codename.

Bug:  143175463
Test: manual
Exempt-From-Owner-Approval: Previously approved, no new changes.
Change-Id: Ifb6f6236aab2c40fd51abb9c6587eafcc8983857
2020-02-06 11:07:11 +00:00
Edgar Wang
0934babbfc Make the fragment title can’t searchable
we shouldn't take users so deep into the settings IA because it's easy
to feel lost in settings after clicking on a result without additional
context.

Bug: 143055215
Test: robotest & manual
Change-Id: I337cb5ead31e1e4e7bf9be78132e90630f83ee43
2020-02-06 19:07:11 +08:00
TreeHugger Robot
e903a24be5 Merge "Remove the announcement of accessibility event for PaletteListView." 2020-02-06 10:43:40 +00:00
SongFerng Wang
0533b1b307 Merge "Bug:PreferredNetworkModePreferenceController.java not being refreshed" 2020-02-06 10:43:33 +00:00
TreeHugger Robot
abec4def72 Merge "Show underline when text show a link" 2020-02-06 10:37:30 +00:00
TreeHugger Robot
ab06fc2454 Merge "Leverage the code from qt-qpr1-dev to master" 2020-02-06 10:29:39 +00:00
lesl
561d041f7b tether setting: Remove dual mode check for band convert
Some conutries don't support 5G only hotspot. Thus band convert should
not only work for dual mode device. It should general design since it
will be country dependency.

Bug: 148924644
Bug: 148764406
Test: Manual Test, use command to force country
1. adb root && adb shell cmd wifi force-country-code enabled GB
2. Change Band Setting to 5G prefer

Turn on hotspot to check log and make sure it will enable succeed.
Test:make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest

Change-Id: I7828c62ef399244531a72aa35c89b71549e0d623
2020-02-06 09:49:41 +00:00
Peter_Liang
a7a0e08241 Remove the announcement of accessibility event for PaletteListView.
Root cause: The color block of color correction have no any content
desciption and it also can't be tapped to trigger others behavior.
Goal: Remove accessibility event

Bug: 148957372
Test: manual test
Change-Id: I97425e24a54e983a49189389746540ed98af82f9
2020-02-06 17:24:30 +08:00
Sunny Shao
8d0d90096c Leverage the code from qt-qpr1-dev to master
Fixes: 147124412
Test: manual test

Change-Id: I6e937c6d34b635ecfdd2e29b22d0023f23f695e3
2020-02-06 17:20:58 +08:00
robertluo
ccc60d706c Modify Secure NFC function naming
Fixes: 148990198
Test: manual and check if new string is applied
Screenshot: https://screenshot.googleplex.com/TU6OpMdbJtW.png
Change-Id: Ia32e087e64069eee8ce871f63a9dfbc9bb527801
2020-02-06 09:12:49 +00:00
SongFerngWang
b5dcd35969 Bug:PreferredNetworkModePreferenceController.java not being refreshed
Bug: 146594872
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
PreferredNetworkModePreferenceControllerTest (PASS)

Change-Id: Ic3579e630c1d9422d7105a2d8fb619409a5823d6
Merged-In: Ib5cc06cdbfd2fa70cd115d70337b21500e362da6
2020-02-06 17:11:48 +08:00
Tsung-Mao Fang
4620cddba4 Merge "Use system-api lib to get badged, shadowed icons" 2020-02-06 09:01:21 +00:00
SongFerngWang
7164275393 Bug:PreferredNetworkModePreferenceController.java not being refreshed
Bug: 146594872
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
PreferredNetworkModePreferenceControllerTest (PASS)

Change-Id: Ib5cc06cdbfd2fa70cd115d70337b21500e362da6
2020-02-06 17:00:58 +08:00
Tsung-Mao Fang
605218c57b Show underline when text show a link
Hyperlinked text should have underline instead of using color only,
such that color blind users are able to compare to the surrounding text.

Change-Id: I7e93f76ebd40077710385e8670176e878b021ef8
Fix: 148839397
Test: visual see link in "Skip songs", "Silence interruptions", "Reach to check phone".
2020-02-06 16:36:59 +08:00
Tsung-Mao Fang
323347afcc Use system-api lib to get badged, shadowed icons
In order to prevent DoS attack from icon size, we're using
a system lib to help convert any loaded drawable into a flattened
bitmap with an appropriate size.

Test: Open recent app screen and then no crash
Change-Id: Ie148890fbbbf71f42863a8fe727a90615158b8c1
Fix: 33646131
2020-02-06 15:02:56 +08:00
TreeHugger Robot
07d9557b29 Merge "Make tether preference controllers extend BasePreferenceController" 2020-02-06 06:56:21 +00:00
Bonian Chen
fdd3a1fce9 Merge "[Settings] Fix Java Doc" 2020-02-06 06:51:18 +00:00
Automerger Merge Worker
3965675afe [automerger skipped] Merge "[Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replace" am: 814b7c40cb am: 23fab9be21 am: 139c108a03 -s ours
am skip reason: Change-Id I8b948d1d416e1eb79e34be073b8ad81645d5ebb1 with SHA-1 73038f556d is in history

Change-Id: I621b637776584d1c51e9794d7b3d8a44d887c2b2
2020-02-06 06:43:00 +00:00
timhypeng
b266fa6029 Add remote media slice in volume panel
-Add test cases

Bug: 142772656
Test: make -j42 RunSettingsRoboTests
Change-Id: I62d3054a4343ed2c7fbb0b4d7aeb5a48da194b02
2020-02-06 14:38:13 +08:00
Automerger Merge Worker
139c108a03 Merge "[Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replace" am: 814b7c40cb am: 23fab9be21
Change-Id: I7fa1fa40e29f0eccdc05fff69ef4b0c17da3b3e1
2020-02-06 06:33:53 +00:00
Automerger Merge Worker
23fab9be21 Merge "[Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replace" am: 814b7c40cb
Change-Id: I42233960cd715d506fc899f845ba7818a56e6886
2020-02-06 06:19:24 +00:00
Automerger Merge Worker
43190bf92b [automerger skipped] Add whitelist in ResetAppsHelper am: 74ded43527 am: 07f9393486 -s ours
am skip reason: Change-Id Ie2f527309f9159babe79636a69ff13fe3ceb64d9 with SHA-1 b54d2f90f2 is in history

Change-Id: I80ec62b13bc64387e3dcbc858631b357730dcccd
2020-02-06 06:14:15 +00:00
Zoey Chen
814b7c40cb Merge "[Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replace" 2020-02-06 06:11:50 +00:00
Automerger Merge Worker
07f9393486 Add whitelist in ResetAppsHelper am: 74ded43527
Change-Id: I8d784426362d6e9d523b262c25ef2d3c663f3373
2020-02-06 06:03:18 +00:00
TreeHugger Robot
f63f55afc6 Merge "Rename some resource values for graphics driver preferences dashboard." 2020-02-06 05:17:08 +00:00
Paul Chang
21bc28cae7 Merge "Don't label non-system default handling app with sub text if there is only one profile." 2020-02-06 05:12:36 +00:00
Robert Luo
3e78df55a0 Merge "Merge Tap & Pay settings entries with NFC" 2020-02-06 05:03:39 +00:00
robertluo
81c79bb239 Merge Tap & Pay settings entries with NFC
Bug: 142231537
Test: make -j42 RunSettingsRoboTests
Change-Id: I54ea0cdf711f2c381f5bba8575fc22bd6329f3c6
2020-02-06 12:15:39 +08:00
hughchen
4d94a32482 Update profile api
The profile will auto connect / disconnect when set enable / disable
profile. This CL remove connect / disconnect method.

Bug: 141582844
Test: make -j42 RunSettingsRoboTests
Change-Id: Ib875d126be0d8483fb539e7ba950242a4f38cf81
Merged-In: Ib875d126be0d8483fb539e7ba950242a4f38cf81
2020-02-06 11:20:09 +08:00
Peiyong Lin
d03dd5ce2a Rename some resource values for graphics driver preferences dashboard.
Bug: b/148626177
Test: make RunSettingsRoboTests ROBOTEST_FILTER=GameDriver
Change-Id: I1f63bd40d5de0cd762bf34a75c7eebd9865a13dd
2020-02-05 18:01:59 -08:00
TreeHugger Robot
cf4e12bbd9 Merge "Update profile api" 2020-02-06 01:47:19 +00:00
Yiwen Chen
950023fc36 Device config flag clean up.
Test: built and tested on device
Change-Id: I4e64cceca629c0b4c0a5d0a5ec23bc2d75f4aead
2020-02-05 16:15:35 -08:00
TreeHugger Robot
3de4dc273c Merge "Remove oneSelectableTwoDisabledPSimsOneAbsent_twoResults" 2020-02-05 22:18:25 +00:00
Curtis Belmonte
82431abfd9 Merge "Add curtislb@ to settings/biometrics OWNERS file" 2020-02-05 21:38:55 +00:00
Malcolm Chen
dc1dd56b41 Remove oneSelectableTwoDisabledPSimsOneAbsent_twoResults
It's not needed as logic of detecting disabled pSIM is moved to
Telephony.

Bug: 147791865
Test: sanity
Change-Id: I158243bcf59e6c39fb55421632e7013ebc80ae80
2020-02-05 20:13:29 +00:00
Xin Li
8c472e240f DO NOT MERGE - Merge QQ1A.200205.002 into master
Bug: 147428392
Change-Id: I37f2fe376d2feaf5e6e3e640c3eef6bb42f14c52
2020-02-05 10:45:13 -08:00
Zhen Zhang
258fb7f672 Make tether preference controllers extend BasePreferenceController
These controllers extended AbstractPreferenceController, which is not
quite compatible with some of the present framework. Especially for
indexable keys of settings search.

TetherEnabler and AllInOneTetherSettings are refactored based on the
change. Tests are updated.

Bug: 147272749
Test: CodeInspectionTest and other tests of classes touched by this CL
Change-Id: Ic3ad13e735d133c0959a0a309319a6fd5165b015
2020-02-05 10:18:57 -08:00
Jay Aliomer
105624cf14 Merge "Custom restrictions Missing period" 2020-02-05 17:36:39 +00:00
Curtis Belmonte
9262b0aefe Add curtislb@ to settings/biometrics OWNERS file
Test: Presubmit
Change-Id: Ibad058207cd28ac8e10a0ab6c9c57a9d10bc566f
2020-02-05 09:35:37 -08:00
Alex Johnston
1b2670fae4 Merge "Fix LocationForWorkPreferenceControllerTest" 2020-02-05 14:49:00 +00:00
timhypeng
da96aeb33d Update preferenceSlice layout rule for new volume panel design
-show icon at left side of Slice if the mapping preference contains icon
-align MediaOutputIndicatorSlice layout with other volume slice

Bug: 148821795
Test: make -j42 RunSettingsRoboTests
Change-Id: I5b0cf7f32f355503942cb62ccf36f77ceeb1b30d
2020-02-05 14:20:03 +00:00
timhypeng
0c4db3170d Add title and icon in output switcher panel header
-title shows artist
-subtitle shows album
-add test cases

Bug: 147776885
Test: make -j42 RunSettingsRoboTests
Change-Id: Ib33e5550e668d8cc5d70051ea2e7dd74d61c767a
2020-02-05 21:52:03 +08:00
Bonian Chen
a3bd86ce01 [Settings] Fix Java Doc
Fix Java doc from @code to @link

Bug: 140542283
Test: build pass
Change-Id: I51a34d575e5260dbb4c0fb3228b4ce4a70e515f4
2020-02-05 13:04:28 +00:00
Automerger Merge Worker
bc5e1646d5 [automerger skipped] Merge "Add TEST_MAPPING to schedule auto test" am: 5c262a92de am: 374153a5cc am: d4a5fc58c6 -s ours
am skip reason: Change-Id I0847d1dea352d0e3b87b1bb95d5c2600a80a7438 with SHA-1 80d9fcbf1b is in history

Change-Id: I51eb0db82ff5e0f55e9d3f09c79e0f5aaaef42bc
2020-02-05 12:56:07 +00:00
Automerger Merge Worker
d4a5fc58c6 Merge "Add TEST_MAPPING to schedule auto test" am: 5c262a92de am: 374153a5cc
Change-Id: Ibc8da453623946b48b0b0cb8b9ad05295a1ad80c
2020-02-05 12:47:00 +00:00
Automerger Merge Worker
374153a5cc Merge "Add TEST_MAPPING to schedule auto test" am: 5c262a92de
Change-Id: I39ce2533de78c0529c8a705f173303e713b51cb6
2020-02-05 12:37:30 +00:00
Treehugger Robot
5c262a92de Merge "Add TEST_MAPPING to schedule auto test" 2020-02-05 12:22:33 +00:00
Julia Reynolds
1cba784014 Merge "Support new conversation DND options" 2020-02-05 12:21:25 +00:00