OSDN Git Service

android-x86/packages-apps-Settings.git
4 years ago[Settings] hide preferred network mode UI
Bonian Chen [Mon, 14 Oct 2019 07:33:34 +0000 (00:33 -0700)]
[Settings] hide preferred network mode UI
am: 92eb42c69e

Change-Id: Id16ca111b0fe79b83bc0eff0ebdaca03875718dc

4 years ago[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting...
Antony Sargent [Mon, 14 Oct 2019 07:33:09 +0000 (00:33 -0700)]
[automerger skipped] Make EnabledNetworkModePreferenceController listen to setting changes
am: aa88b8cee6 -s ours
am skip reason: change_id I5dfe4843a681c613f49caf4584e9dbebc54e708a with SHA1 6d910e8608 is in history

Change-Id: Ieb25eb9b4d1c9d85bcaa6e0532f8814339070f4c

4 years ago[Settings] hide preferred network mode UI
Bonian Chen [Thu, 22 Aug 2019 09:13:06 +0000 (17:13 +0800)]
[Settings] hide preferred network mode UI

Hide preferred network mode UI no matter home, roaming or no service
when KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL been enabled.

Bug: 137681413
Test: atest PreferredNetworkModePreferenceControllerTest
      atest EnabledNetworkModePreferenceControllerTest
      Manual with AT&T SIM card in out of servce and in service

Change-Id: Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968
Merged-In: Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968

4 years agoMake EnabledNetworkModePreferenceController listen to setting changes
Antony Sargent [Tue, 30 Jul 2019 17:10:57 +0000 (10:10 -0700)]
Make EnabledNetworkModePreferenceController listen to setting changes

The controller for the "Preferred network type" preference on the SIM
details page wasn't listening for changes to the underlying global
setting, so changes to the setting would be reflected in SysUI but not
on this page if it happened to be showing.

Bug: 135667565
Test: make RunSettingsRoboTests
Change-Id: I5dfe4843a681c613f49caf4584e9dbebc54e708a
Merged-In: I5dfe4843a681c613f49caf4584e9dbebc54e708a

4 years agoMerge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"
Paul Hu [Tue, 1 Oct 2019 10:03:36 +0000 (03:03 -0700)]
Merge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"
am: a67ca4cfd7

Change-Id: I7a2a4d76d1e0092188121d390c75c12eac20cdab

4 years agoMerge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"
Paul Hu [Tue, 1 Oct 2019 09:50:28 +0000 (09:50 +0000)]
Merge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"

4 years agoMerge "Fix to show eUICC preference in eng build"
Taesu Lee [Thu, 26 Sep 2019 06:14:10 +0000 (23:14 -0700)]
Merge "Fix to show eUICC preference in eng build"
am: e825c30137

Change-Id: Ie6ca5a575e5c5caa4c841286421d037649765397

4 years agoMerge "Fix to show eUICC preference in eng build"
Treehugger Robot [Thu, 26 Sep 2019 05:53:10 +0000 (05:53 +0000)]
Merge "Fix to show eUICC preference in eng build"

4 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 25 Sep 2019 01:54:26 +0000 (18:54 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0f9786915ebc5c168487e7a5386d4f2060d27a12
Auto-generated-cl: translation import

4 years agoMerge "In sim1 APN settings interface and hot plug out/in sim2, APN information chang...
Daniel Huang [Tue, 24 Sep 2019 09:32:29 +0000 (02:32 -0700)]
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's"
am: 51cb777530

Change-Id: I7d6675734eed90cbfb0ccda46c047883e460962f

4 years agoMerge "In sim1 APN settings interface and hot plug out/in sim2, APN information chang...
Daniel Huang [Tue, 24 Sep 2019 09:21:51 +0000 (09:21 +0000)]
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's"

4 years agoMerge "Enable dismissal feature on legacy suggestions."
Yi-Ling Chuang [Mon, 23 Sep 2019 03:03:21 +0000 (20:03 -0700)]
Merge "Enable dismissal feature on legacy suggestions."
am: ee39335edc

Change-Id: Ibce2403de032bd3d7fce750f6cd80191a8b14441

4 years agoMerge "Enable dismissal feature on legacy suggestions."
Treehugger Robot [Mon, 23 Sep 2019 02:45:25 +0000 (02:45 +0000)]
Merge "Enable dismissal feature on legacy suggestions."

4 years agoEnable dismissal feature on legacy suggestions.
Yi-Ling Chuang [Thu, 19 Sep 2019 20:39:53 +0000 (13:39 -0700)]
Enable dismissal feature on legacy suggestions.

Add back the close button for legacy suggestions.

Fixes: 140786274
Test: robotest
Change-Id: Iaf0376bd482db4c4ff7d04a68131071c29c01ced

4 years agoIn sim1 APN settings interface and hot plug out/in sim2, APN information change to...
苗苗 (Miao Miao) [Tue, 17 Sep 2019 01:14:08 +0000 (09:14 +0800)]
In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's

STEPS TO REPRODUCE:
1. Insert two sim into device, sim1 is CUCC, sim2 is CMCC
2. Goto Settings-Network & Internet-sim1-MobileNetworkSettings-Access Point Names. It shows CUCC APN information
3. Hot plug out sim2
4. Hot plug in sim2, APN information changes to CMCC APN information

EXPECTED RESULTS:
When hot plug out/in sim2, sim1 APN settings interface should still keep its APN information instead of changing to sim2 APN information

Change-Id: I04c769f60ba1686b2c9bebcd07e3a04685979442
Bug: 141087659
Test:In sim1 APN settings interface, hot plug out/in sim2, it shows sim1 APN information all the time, test pass.

4 years agoMerge "Remove use of deprecated Time class"
Neil Fuller [Tue, 17 Sep 2019 16:56:45 +0000 (09:56 -0700)]
Merge "Remove use of deprecated Time class"
am: b3f8696c4d

Change-Id: Ie6dcfcde7ec223ed83b2d8d33f059924e3a566e9

4 years agoMerge "Remove use of deprecated Time class"
Treehugger Robot [Tue, 17 Sep 2019 16:32:47 +0000 (16:32 +0000)]
Merge "Remove use of deprecated Time class"

4 years agoRemove use of deprecated Time class
Neil Fuller [Tue, 17 Sep 2019 12:53:17 +0000 (13:53 +0100)]
Remove use of deprecated Time class

Remove a use of the deprecated Time class.

Bug: 16550209
Test: treehugger only
Change-Id: If97b0d8ea78a76d613652ab623c3a48f5aa9aabb

4 years ago[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED
paulhu [Fri, 23 Aug 2019 09:18:58 +0000 (17:18 +0800)]
[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED

Settings is using CONNECTIVITY_INTERNAL to restrict launching
tether provisoning activity by provioning apps only. However,
CONNECTIVITY_INTERNAL will be deprecated from Android R, replace
the permission to TETHER_PRIVILEGED.

Bug: 32963470
Test: atest TetherServiceTest
Change-Id: I4c8312b92de8d5d9c9090c572e54622dc4fcf9d4

4 years agoMerge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
Xin Li [Sun, 8 Sep 2019 20:06:57 +0000 (13:06 -0700)]
Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master

Bug: 135460123
Change-Id: Ifbb4b45d2d592e4a4ede265d2c882dc1cb4a0410
Merged-In: Idcc078c0e541c04633db6d94c613ac4c861ba963

4 years agoFix to show eUICC preference in eng build
Taesu Lee [Mon, 22 Jul 2019 10:20:05 +0000 (19:20 +0900)]
Fix to show eUICC preference in eng build

DEVELOPMENT_SETTINGS_ENABLED is not set before entering Developer
options in settings app even if it is in eng build. To show eUICC
preference in eng build, uses isDevelopmentSettingsEnabled() instead.

Test: Manual and make RunSettingsRoboTests

Change-Id: Ia1f46fad94bc62ca48dcfef7cd5d6188766aa380
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
4 years agoMerge "DO NOT MERGE - Merge Android 10 into master"
Xin Li [Thu, 5 Sep 2019 16:53:18 +0000 (16:53 +0000)]
Merge "DO NOT MERGE - Merge Android 10 into master"

4 years agoDO NOT MERGE - Merge Android 10 into master
Xin Li [Wed, 4 Sep 2019 20:34:43 +0000 (13:34 -0700)]
DO NOT MERGE - Merge Android 10 into master

Bug: 139893257
Change-Id: Idcc078c0e541c04633db6d94c613ac4c861ba963

5 years agoDO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master
Xin Li [Fri, 23 Aug 2019 06:45:17 +0000 (06:45 +0000)]
DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master

Bug: 139893257
Change-Id: I54b340294458df6016b7893838e1b0f6e61daf11

5 years agoDO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history
Xin Li [Fri, 23 Aug 2019 06:42:10 +0000 (06:42 +0000)]
DO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history

Bug: 139893257
Change-Id: Iff267db7ff7312a786dc5004a7421b395da178a9

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Tue, 20 Aug 2019 20:36:38 +0000 (13:36 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: ba8880dd87 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic0805579cd91f4ec10fb11c34dfe3ca652a43f50

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 20 Aug 2019 17:52:47 +0000 (10:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 139484065
Change-Id: I6c50b4480bec5326951eb809eabc7194d1d06b65

5 years agoMerge "Remove attention controller" into qt-r1-dev
Kevin Chyn [Tue, 20 Aug 2019 02:57:37 +0000 (19:57 -0700)]
Merge "Remove attention controller" into qt-r1-dev
am: 41aafab963

Change-Id: I31966ea8f672f664a4d1feae8be30eb47d0a2d32

5 years agoMerge "Remove attention controller" into qt-r1-dev
TreeHugger Robot [Tue, 20 Aug 2019 02:37:20 +0000 (02:37 +0000)]
Merge "Remove attention controller" into qt-r1-dev

5 years agoMerge "Remove delay from enroll start button" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 22:09:00 +0000 (15:09 -0700)]
Merge "Remove delay from enroll start button" into qt-r1-dev
am: ca2bbdfeca

Change-Id: Ide066e65d76c70175ade9ebeaf94e471cb11c806

5 years agoMerge "Remove delay from enroll start button" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 21:50:22 +0000 (21:50 +0000)]
Merge "Remove delay from enroll start button" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Sat, 17 Aug 2019 16:45:16 +0000 (09:45 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 7892f729a5 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia2280686d74a66951529c333f5c7e6a05d989208

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 16:30:21 +0000 (16:30 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings...
Arc Wang [Sat, 17 Aug 2019 14:18:03 +0000 (07:18 -0700)]
Merge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem" into qt-r1-dev
am: 54dbed859d

Change-Id: I0d5071d429dbd82d420e1199bd5baed0b687e2ae

5 years agoMerge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings...
TreeHugger Robot [Sat, 17 Aug 2019 13:58:53 +0000 (13:58 +0000)]
Merge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Aug 2019 08:35:46 +0000 (01:35 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie3771d039d46900090a8a4f58f325b9a5eb29e0a

5 years agoRemove delay from enroll start button
Kevin Chyn [Fri, 16 Aug 2019 23:40:39 +0000 (16:40 -0700)]
Remove delay from enroll start button

Fixes: 139554930

Test: manual, button no longer delayed
Change-Id: I365308c2a00c122b80f70c904d11bb4a5d6cf404
Merged-in: I365308c2a00c122b80f70c904d11bb4a5d6cf404

5 years agoMerge "Update attention string" into qt-r1-dev
Kevin Chyn [Sat, 17 Aug 2019 02:43:00 +0000 (19:43 -0700)]
Merge "Update attention string" into qt-r1-dev
am: e218dc0517

Change-Id: Id6f6bb10ef8a9bcb96e03da291df3f054bda5f32

5 years agoMerge "Update attention string" into qt-r1-dev
Kevin Chyn [Sat, 17 Aug 2019 02:01:31 +0000 (02:01 +0000)]
Merge "Update attention string" into qt-r1-dev

5 years ago[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing...
Arc Wang [Mon, 12 Aug 2019 12:11:13 +0000 (20:11 +0800)]
[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem

Context#getResources loading is done based on the last SIM to
come up, we may get wrong customization settings.

This fix check the setting of active subscription and shows the preference.

Bug: 138956509
Test: CellularFallbackPreferenceControllerTest
      manual test:
          1. Insert feature supported SIM and check UI.
          2. Remove feature supported SIM and check UI.
          3. Turn airplane mode on and check 1. and 2..

Change-Id: I72b6db415429181395a02f163889bb1b9c0f070f
Merged-In: I72b6db415429181395a02f163889bb1b9c0f070f

5 years agoRemove attention controller
Kevin Chyn [Thu, 15 Aug 2019 23:48:39 +0000 (16:48 -0700)]
Remove attention controller

Bug: 139484065

Test: manual
Change-Id: Ideed761c978ba0831b04ed2cc294e9655dddb01c

5 years agoUpdate attention string
Kevin Chyn [Fri, 16 Aug 2019 23:34:01 +0000 (16:34 -0700)]
Update attention string

Bug: 139484065

Test: manual
Change-Id: Ie4619fb51709ba2651866b7841dd4d6b51f165d1

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801...
Xin Li [Thu, 15 Aug 2019 07:50:19 +0000 (00:50 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master" am: 1e53efc4c4 -s ours am: b03fdd4dcf -s ours
am: e66eb255ee

Change-Id: I34d560cf4bdd6b47e0a45c070185ba3f4eaa1f52

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801...
Xin Li [Thu, 15 Aug 2019 07:40:41 +0000 (00:40 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master" am: 1e53efc4c4 -s ours
am: b03fdd4dcf -s ours
am skip reason: subject contains skip directive

Change-Id: I8b48996bdb25fda1adb55fcb63a3956dddbb8710

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801...
Xin Li [Thu, 15 Aug 2019 07:25:54 +0000 (00:25 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"
am: 1e53efc4c4 -s ours
am skip reason: subject contains skip directive

Change-Id: I1898ca933b111068bd8b7eafbe5421096c313d9e

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002)...
Xin Li [Thu, 15 Aug 2019 07:16:41 +0000 (00:16 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master am: c3ef16882d -s ours am: f8c25b6ac4 -s ours
am: f62f61cbfb

Change-Id: I6b798a4044f146cad1f6824e17aa82f80521251f

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002)...
Xin Li [Thu, 15 Aug 2019 06:52:30 +0000 (23:52 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master am: c3ef16882d -s ours
am: f8c25b6ac4 -s ours
am skip reason: subject contains skip directive

Change-Id: Ieeffd5db1009f7dda5b595f3a6790ec1f2ce6db8

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002)...
Xin Li [Thu, 15 Aug 2019 06:32:21 +0000 (23:32 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master
am: c3ef16882d -s ours
am skip reason: subject contains skip directive

Change-Id: I1d1b46e30a9ec5b4e01f351342fe45ac64994d47

5 years agoMerge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"
Treehugger Robot [Thu, 15 Aug 2019 06:13:48 +0000 (06:13 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"

5 years ago[automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463...
Xin Li [Wed, 14 Aug 2019 20:56:58 +0000 (13:56 -0700)]
[automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master am: 9821df1b1f -s ours
am: 8cabf84832

Change-Id: I8501d7bdfb3c8bb5e6ddf5e19aeb8335f81d18bf

5 years ago[automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463...
Xin Li [Wed, 14 Aug 2019 20:32:06 +0000 (13:32 -0700)]
[automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master
am: 9821df1b1f -s ours
am skip reason: subject contains skip directive

Change-Id: If1da8066529d53cf10298533987f7d7f7c57d405

5 years agoDO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master
Xin Li [Wed, 14 Aug 2019 18:35:21 +0000 (11:35 -0700)]
DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master

Bug: 134405016
Change-Id: I80e9ac9e5e6a21ebd94543865b8f75c20020360d

5 years agoMerge "Allow radio info on phones with no subscription" am: 19d1f890a0 am: b377a593b7
Jordan Liu [Wed, 14 Aug 2019 02:01:30 +0000 (19:01 -0700)]
Merge "Allow radio info on phones with no subscription" am: 19d1f890a0 am: b377a593b7
am: 1fc63fc444

Change-Id: I114db364c10315dca50b75270fc14da7eaf1d354

5 years agoMerge "Allow radio info on phones with no subscription" am: 19d1f890a0
Jordan Liu [Wed, 14 Aug 2019 01:48:49 +0000 (18:48 -0700)]
Merge "Allow radio info on phones with no subscription" am: 19d1f890a0
am: b377a593b7

Change-Id: Ibe68e60583fdf2bd08d6d8f62b5c942878dd160e

5 years agoMerge "Allow radio info on phones with no subscription"
Jordan Liu [Wed, 14 Aug 2019 01:37:15 +0000 (18:37 -0700)]
Merge "Allow radio info on phones with no subscription"
am: 19d1f890a0

Change-Id: Ia63778cf83212b2670413e2567c068bf92f6ff05

5 years agoMerge "Allow radio info on phones with no subscription"
Jordan Liu [Wed, 14 Aug 2019 00:22:42 +0000 (00:22 +0000)]
Merge "Allow radio info on phones with no subscription"

5 years agoDO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master
Xin Li [Tue, 13 Aug 2019 23:36:39 +0000 (16:36 -0700)]
DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master

Bug: 139369544
Change-Id: I483962d870c69d1c454d5bc04c76d9f7d7a12520

5 years agoSnap for 5674421 from 4a949c0640373471f5699c7a5cf490731394c574 to pi-platform-release
android-build-team Robot [Tue, 13 Aug 2019 16:25:08 +0000 (16:25 +0000)]
Snap for 5674421 from 4a949c0640373471f5699c7a5cf490731394c574 to pi-platform-release

Change-Id: Idb0d7d08f9581908c2f5e2881a73b1c806f1ddb9

5 years agoAllow radio info on phones with no subscription
Jordan Liu [Wed, 7 Aug 2019 23:51:36 +0000 (16:51 -0700)]
Allow radio info on phones with no subscription

Some info is still helpful for debugging in these cases.

Bug: 139074613
Test: manual
Change-Id: Idbde691c60b53e0ab755df229a3a9dc77406934d
Merged-In: Idbde691c60b53e0ab755df229a3a9dc77406934d

5 years agoMerge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
Christine Franks [Sun, 4 Aug 2019 07:55:55 +0000 (00:55 -0700)]
Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
am: 37b38f872f

Change-Id: I298f71e7db0840e83af06f5662d6af2d5c60bbac

5 years ago[DO NOT MERGE] Update title for null uri when setting changes
Christine Franks [Sun, 4 Aug 2019 07:55:33 +0000 (00:55 -0700)]
[DO NOT MERGE] Update title for null uri when setting changes
am: ea14373666

Change-Id: I8f542126d98beefe8f221266b7f25bc9d7b0f4d5

5 years agoMerge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
Christine Franks [Sat, 3 Aug 2019 14:47:40 +0000 (14:47 +0000)]
Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev

5 years ago[DO NOT MERGE] Update title for null uri when setting changes
Christine Franks [Thu, 1 Aug 2019 18:09:16 +0000 (11:09 -0700)]
[DO NOT MERGE] Update title for null uri when setting changes

Currently, the title will not update at all if set to silent.

Bug: 130445562
Test: make RunSettingsRoboTests -j48
Change-Id: Id8fc0182adb37c05436f5924b7dcdffb9d994e0d

5 years agoMerge "Add skip lock screen in Notification & security lock screen settings" into...
Edgar Wang [Fri, 2 Aug 2019 05:49:22 +0000 (22:49 -0700)]
Merge "Add skip lock screen in Notification & security lock screen settings" into qt-r1-dev
am: 8e3b202070

Change-Id: Ic8c1eb744a1612fedd187902e65d7718500f4e8d

5 years agoMerge "Add skip lock screen in Notification & security lock screen settings" into...
Edgar Wang [Fri, 2 Aug 2019 05:38:23 +0000 (05:38 +0000)]
Merge "Add skip lock screen in Notification & security lock screen settings" into qt-r1-dev

5 years agoMerge "Settings: change the color mode preview image" into qt-r1-dev
Daniel Solomon [Thu, 1 Aug 2019 20:37:33 +0000 (13:37 -0700)]
Merge "Settings: change the color mode preview image" into qt-r1-dev
am: c5fbd7b669

Change-Id: Icfc151ca32fa3ab44a68acc4732e3e9307372f22

5 years agoMerge "Settings: change the color mode preview image" into qt-r1-dev
TreeHugger Robot [Thu, 1 Aug 2019 19:58:47 +0000 (19:58 +0000)]
Merge "Settings: change the color mode preview image" into qt-r1-dev

5 years agoCheck the missing useHomeWfMode case
Youming Ye [Thu, 1 Aug 2019 18:24:55 +0000 (11:24 -0700)]
Check the missing useHomeWfMode case
am: b7923f5a3f

Change-Id: I8ffa6acb13e07b4a28b8f46b348ffc47c143a317

5 years agoAdd skip lock screen in Notification & security lock screen settings
Edgar Wang [Mon, 29 Jul 2019 08:55:31 +0000 (16:55 +0800)]
Add skip lock screen in Notification & security lock screen settings

Users may have trouble finding this setting in face auth.
Heard this from dogfood/executive feedback and customer support discussion.
So add Skip Lock Screen preference in
Display > Lock screen display > What to show >
and
App & Notifications > Notifications > Lock Screen >

Bug: 138458558
Test: robotest & manual

Change-Id: I10e420821423821743d65b00c8b7e6d4d1224e00

5 years agoCheck the missing useHomeWfMode case
Youming Ye [Tue, 11 Jun 2019 22:25:52 +0000 (15:25 -0700)]
Check the missing useHomeWfMode case

Bug: 133812904
Test: Build
Change-Id: If89c67c0595808a1339517c6084f1d1e23f5974b
Merged-In: If89c67c0595808a1339517c6084f1d1e23f5974b

5 years agoMerge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev
Antony Sargent [Wed, 31 Jul 2019 23:04:54 +0000 (16:04 -0700)]
Merge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev
am: 4685c785b9

Change-Id: I1ce1afeee9ab139ff47a1deec14d536c8c9529ad

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Wed, 31 Jul 2019 22:53:13 +0000 (15:53 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 5a690f3c4c -s ours
am skip reason: subject contains skip directive

Change-Id: Ibc64425d1a731f6cbd45d44b18537edfdd88acbd

5 years agoMerge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 22:39:22 +0000 (22:39 +0000)]
Merge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev

5 years agoProtect entry points to add an eSIM when admin restricted
Antony Sargent [Wed, 31 Jul 2019 19:53:39 +0000 (12:53 -0700)]
Protect entry points to add an eSIM when admin restricted

If the DISALLOW_CONFIG_MOBILE_NETWORKS admin policy is set, we were
accidentally still allowing access to the flow where you add an eSIM
subscription via the "plus" button on the Network & internet page. While
fixing this, I also noticed that the mobile networks list page (which
only becomes available if you have multiple subscriptions) has a link at
the bottom to start the flow as well, and that wasn't being protected.

The fix for the plus button on the Network & internet page was just to
make sure not to call setEnabled(true) if the preference was already
disabled by admin policy, since that has the effect of overriding the
admin-disabling.

The fix for the mobile networks list page just needed to add the
relevant tags in the layout XML, and then we get it for free.

Fixes: 137627845
Test: make RunSettingsRoboTests
Change-Id: I896ac248f50aaeecc157791938a0a0a98265aa07

5 years agoSettings: change the color mode preview image
Daniel Solomon [Wed, 31 Jul 2019 18:46:39 +0000 (11:46 -0700)]
Settings: change the color mode preview image

Change the color mode preview image to better illustrate the difference
between Natural and Boosted color modes.

Bug: 138126243
Test: manual testing on Pixel
Change-Id: I367b383f9f2da9b2e2d5960e51c3ec7821d4915b

5 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 31 Jul 2019 19:09:08 +0000 (12:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3e51c61d9bdff182bc83a04242ccd6e1e4f9629d

5 years agoMerge "Default MAC address should display "Not Available" in network details" into...
Quang Luong [Wed, 31 Jul 2019 00:12:17 +0000 (17:12 -0700)]
Merge "Default MAC address should display "Not Available" in network details" into qt-r1-dev
am: 17908b1e8f

Change-Id: I0adf1cc87a31b4daa762baf67e2e99415b35491a

5 years agoMerge "Default MAC address should display "Not Available" in network details" into...
TreeHugger Robot [Tue, 30 Jul 2019 23:33:22 +0000 (23:33 +0000)]
Merge "Default MAC address should display "Not Available" in network details" into qt-r1-dev

5 years agoMerge "Make EnabledNetworkModePreferenceController listen to setting changes" into...
Antony Sargent [Tue, 30 Jul 2019 22:43:32 +0000 (15:43 -0700)]
Merge "Make EnabledNetworkModePreferenceController listen to setting changes" into qt-r1-dev
am: 66208e734b

Change-Id: Ifb4c387a8663fda3a642b03b68777079d1c5a619

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Tue, 30 Jul 2019 22:42:26 +0000 (15:42 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 67afe87617 -s ours
am skip reason: subject contains skip directive

Change-Id: Iaf9f87ae5aab01ba07c15825d8551460ae810354

5 years agoMerge "Make EnabledNetworkModePreferenceController listen to setting changes" into...
TreeHugger Robot [Tue, 30 Jul 2019 22:33:32 +0000 (22:33 +0000)]
Merge "Make EnabledNetworkModePreferenceController listen to setting changes" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 21:39:43 +0000 (21:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMake EnabledNetworkModePreferenceController listen to setting changes
Antony Sargent [Tue, 30 Jul 2019 17:10:57 +0000 (10:10 -0700)]
Make EnabledNetworkModePreferenceController listen to setting changes

The controller for the "Preferred network type" preference on the SIM
details page wasn't listening for changes to the underlying global
setting, so changes to the setting would be reflected in SysUI but not
on this page if it happened to be showing.

Bug: 135667565
Test: make RunSettingsRoboTests
Change-Id: I5dfe4843a681c613f49caf4584e9dbebc54e708a

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 18:55:38 +0000 (11:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id8561f757b8520ebbd976cc9b06fa833b68575d8

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours
Bill Yi [Tue, 30 Jul 2019 18:53:10 +0000 (11:53 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours
am: f5c8056f7a -s ours
am skip reason: subject contains skip directive

Change-Id: Ia98dea474d8c568821fe7612181a039f48bf9580

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours
Bill Yi [Tue, 30 Jul 2019 18:43:41 +0000 (11:43 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours
am: e5dd9176ca -s ours
am skip reason: subject contains skip directive

Change-Id: Ib09846428898767c3745f7b17e81f09de19eda66

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 18:34:43 +0000 (11:34 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 9af3e6a625 -s ours
am skip reason: subject contains skip directive

Change-Id: I30d1996db7f73e5e38515fad56ea9bc9d8f44450

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Tue, 30 Jul 2019 18:32:38 +0000 (11:32 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: f63cb669ff -s ours
am skip reason: subject contains skip directive

Change-Id: I3a24b910fa6a98e131419c738600296abdca963b

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 18:32:37 +0000 (11:32 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 9af3e6a625 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic131b3c52fc5f2c0bd1b735a376df65108490f5e

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 18:09:15 +0000 (18:09 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Refesh mobile network details page on carrier config changes" into qt-r1-dev
Antony Sargent [Tue, 30 Jul 2019 16:54:25 +0000 (09:54 -0700)]
Merge "Refesh mobile network details page on carrier config changes" into qt-r1-dev
am: 985d3d570d

Change-Id: I02252dd85f3b11aef3109e1a0193faba8bb9c240

5 years agoMerge "Refesh mobile network details page on carrier config changes" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 16:41:29 +0000 (16:41 +0000)]
Merge "Refesh mobile network details page on carrier config changes" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 00:02:13 +0000 (17:02 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie730f2fa36caf0c3d99159cc649ed7e24ca2ceec

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 29 Jul 2019 23:46:49 +0000 (16:46 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Idbe888a8bb4d386d7d8e883cc530561c1a5806ad

5 years agoMerge cherrypicks of [9007561, 9007562, 9007563, 9007600, 9007801, 9007895, 9007389...
android-build-team Robot [Sun, 28 Jul 2019 22:26:53 +0000 (22:26 +0000)]
Merge cherrypicks of [9007561900756290075639007600900780190078959007389] into qt-release

Change-Id: Ib68db973c7a9b5875ecd65bcb683793978020065

5 years agoDo not request cancel authentication unless currently authenticating
Kevin Chyn [Fri, 26 Jul 2019 18:20:10 +0000 (11:20 -0700)]
Do not request cancel authentication unless currently authenticating

Currently we always send cancel() if ConfirmDeviceCredentialActivity
goes into the background. However, if the biometric state is no longer
authenticating, requesting cancel() in this state will result in an
inconsistent state between BiometricService/client and
ConfirmDeviceCredentials.

BiometricService/client will receive the ERROR_CANCELED message incorrectly,
while ConfirmDeviceCredential is showing / pending user password. When
the password is entered, its result is ignored.

The correct behavior is for ConfirmDeviceCredentialActivity to invoke
cancel() only if it's still authenticating. Otherwise BiometricService
and its client will receive ERROR_CANCELED, instead of the actual password
auth result.

Bug: 138279856

Test: BiometricPromptDemo, enable device credential fallback, get into
      lockout state, successfully enter password. API result is
      success instead of "canceled" now.

Change-Id: I6521e896d0402fe856dc85476f51149c9b3084a8
Merged-In: I6521e896d0402fe856dc85476f51149c9b3084a8
(cherry picked from commit 49c7d0765090750f88f11153dfcf9ec378b0c84d)

5 years agoMerge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings...
Jason Chiu [Sat, 27 Jul 2019 01:45:07 +0000 (18:45 -0700)]
Merge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings" into qt-r1-dev
am: 04ad8c905a

Change-Id: Id2ee2415fffd70bcf94aa2a305125d983ae5bd9e

5 years agoMerge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings...
TreeHugger Robot [Sat, 27 Jul 2019 01:29:55 +0000 (01:29 +0000)]
Merge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings" into qt-r1-dev

5 years ago[automerger skipped] Do not request cancel authentication unless currently authentica...
Kevin Chyn [Sat, 27 Jul 2019 01:14:54 +0000 (18:14 -0700)]
[automerger skipped] Do not request cancel authentication unless currently authenticating am: 49c7d07650 -s ours
am: 587d8d7005 -s ours
am skip reason: change_id I6521e896d0402fe856dc85476f51149c9b3084a8 with SHA1 0a33d62a17 is in history

Change-Id: I2ed1d97f1fa5104e1c381babc2625cb69b147b6c

5 years agoAdd ability to finish() ConfirmDeviceCredential if it loses foreground
Kevin Chyn [Sat, 27 Jul 2019 01:13:32 +0000 (18:13 -0700)]
Add ability to finish() ConfirmDeviceCredential if it loses foreground
am: e27a304b97

Change-Id: Idcc2dab10c42016f0f440cbf495974bf3ee1ba94