Commit Graph

58853 Commits

Author SHA1 Message Date
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
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
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
Alex Johnston
f566da5b55 Fix LocationForWorkPreferenceControllerTest
* If the location is disabled by admin, then the
  preference is disabled and the toggle is no
  longer shown. This means that setChecked is no
  longer called and the verify statement can be removed.
* If the location is off, the summary should be
  'Location is off' rather than 'off'. The verify
  statement is now updated with the correct summary.

Bug: 148755845
Test: atest com.android.settings.location.LocationForWorkPreferenceControllerTest
Change-Id: I089be0c4f8e8ec8c10160771055730289d72c8ed
2020-02-05 11:32:03 +00:00
Arc Wang
a595c272fc Merge "[Wi-Fi] Improve contrast of edit text hint" 2020-02-05 11:16:20 +00:00
Arc Wang
a74473d2f8 [Wi-Fi] Improve contrast of edit text hint
Extend the style from TextAppearance.Widget.EditText which
has hint color of #808080 and contrast ratio 3.95

Bug: 146908018
Test: Manual visual
      Accessibility scanner shows contrast ratio 3.95

Change-Id: Ie20e750095af30a217166cdffeda2e29cec970e3
2020-02-05 19:15:18 +08:00
Florian Mayer
32b25ec7b0 Merge "Revert "[Settings] Avoid rename inactive subscription from NullPointerException"" 2020-02-05 11:11:29 +00:00
Florian Mayer
18b1a84e9c Revert "[Settings] Avoid rename inactive subscription from NullPointerException"
This reverts commit 1b71b5e601.

Bug: 148924129

Reason for revert: Broke tests

Change-Id: I27da954a105bb28f3f8c5f18961073a59c4d820f
2020-02-05 11:10:29 +00:00
Raff Tsai
55422c7517 Add TEST_MAPPING to schedule auto test
Test: atest :postsubmit
Change-Id: Ied8e241ef223ea5e87ca6ee0f04f4128c51ddb87
Merged-In: I0847d1dea352d0e3b87b1bb95d5c2600a80a7438
2020-02-05 10:40:01 +00:00
Menghan Li
0a832ffe10 Merge "Fix Startup fails when click "Color correction" of the selection menu in "Color correction" page" 2020-02-05 09:47:51 +00:00
Minche Li
bdba2a0427 Merge "Remove the entrance of magnification settings" 2020-02-05 09:46:20 +00:00
Menghan Li
497a736e5a Merge "Change the Settings to app name with settings" 2020-02-05 09:44:02 +00:00
Menghan Li
f37f0103e1 Merge "Dynamic Select-To-Speak and Talkback setFragment style on SUW Welcome Screen." 2020-02-05 09:43:37 +00:00