Commit Graph

51508 Commits

Author SHA1 Message Date
Fabian Kozynski
be2c2128ee Merge "Creates user_switcher_enabled setting to match setting" into qt-dev
am: 9eef4964a4

Change-Id: I313114405e3e00e99c48224e680db3b026b23104
2019-04-10 16:51:25 -07:00
Pavel Grafov
dcf6cb6fe6 Merge "Allow user without a password to clear credentials" into qt-dev
am: 0c6ead9e61

Change-Id: Iae5bd1947f29de0f3cff3080b3a3f0fc8cf5c99c
2019-04-10 16:49:03 -07:00
Raff Tsai
cc0cec4636 Merge "Remove old format contextual card log" into qt-dev 2019-04-10 23:42:48 +00:00
Antony Sargent
a6b87a24f2 Merge "Go to the correct subscription in WifiCallingSettings" into qt-dev
am: 3b7cdfb708

Change-Id: I1405532c1c400a2c7d7af1397dea701bb424239a
2019-04-10 16:19:15 -07:00
Brad Ebinger
c91d33798b Merge "Fix issue that user can't edit WFC mode for SIM2"
am: d2727d5d9f

Change-Id: I1bbbe7efe7f057dfcf55f9685f2b10ebd94e3f38
2019-04-10 16:17:17 -07:00
Salvador Martinez
a42fe30fc7 Merge "Update BS warning to follow through on action" into qt-dev 2019-04-10 22:46:10 +00:00
Raj Mojumder
70907f547f Update OWNERS for nfc folder.
BUG: 65294119
Test: gerrit upload
Change-Id: I71e6e39c61862529198378228d793d3a6ba14139
Signed-off-by: Raj Mojumder <rmojumder@google.com>
Exempt-From-Owner-Approval: Invalid owners.
2019-04-10 22:30:00 +00:00
Julia Reynolds
5cc78fc802 Merge "Use correct key value" into qt-dev am: b2bf285911
am: af2195bd98

Change-Id: Ia163053b5566950fb1cb5fec9b38b737af59e323
2019-04-10 15:28:35 -07:00
TreeHugger Robot
b027acfc6b Merge "Changes for renamed API" into qt-dev 2019-04-10 22:22:25 +00:00
Matthew Fritze
ec9bf86718 Merge "Fix up Network and Internet Slice" into qt-dev am: d79e9c498a
am: 7b5b8e620b

Change-Id: I8a94ce194a640d96f15903e083319e012fc68bcc
2019-04-10 15:20:19 -07:00
Naina Nalluri
dfbe891e39 Add background flag to CI system update intent
Add flag to allow KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING
intent. This is needed
as the receiver service is modified to use
latest target version SDK which introduces Background
broadcast limitations.

Bug: 78634470
Test: On Device, verified that the intents are
      received by the service
Change-Id: I140c1988b241885a737413bd5f0b9c3cc63c4ea8
2019-04-10 22:12:10 +00:00
Fan Zhang
0942837083 Merge "Gracefully handle the case where private volume may be unmountable" into qt-dev am: 6dd38b462f
am: 9be307720b

Change-Id: I0ef02e15d469144ba142d21c3e5a377c08dc4db7
2019-04-10 15:03:23 -07:00
Sean Stout
560b8b8a44 Merge "Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev 2019-04-10 22:02:41 +00:00
Brad Ebinger
d2727d5d9f Merge "Fix issue that user can't edit WFC mode for SIM2" 2019-04-10 21:57:56 +00:00
Julia Reynolds
af2195bd98 Merge "Use correct key value" into qt-dev
am: b2bf285911

Change-Id: I65e833cce5f840cae2d2dfd46526ee9e1f23d4c8
2019-04-10 14:32:42 -07:00
Matthew Fritze
7b5b8e620b Merge "Fix up Network and Internet Slice" into qt-dev
am: d79e9c498a

Change-Id: I4f7036c642a15c187ecd1bb067765396da40aae4
2019-04-10 14:27:50 -07:00
Mill Chen
04fd0e4173 Set IA background not transparent
The static IA is overlapping the Wi-Fi slice when expanding Wi-Fi slice.
This is caused by that Wi-Fi slice is expanding quickly and static IA
is moving down slowly. We set the background of IA not to transparent
and make IA not overlap slice cards.

Fixes: 129491990
Test: visual
Change-Id: Ib28a18df0016c8fb58bd400085cb658f3bd9d3e6
2019-04-10 14:26:30 -07:00
Fan Zhang
885036d1ef Merge "Batch rename: homepage_* to contextual_* or condtion_*" into qt-dev am: aa599e737a
am: 1e5d1ba5ff

Change-Id: I881c70632507d939c9cbacd8d2986d9226b7d998
2019-04-10 14:03:09 -07:00
TreeHugger Robot
8d9dadb1a2 Merge "Rename resource variable names: homepage_* -> contextual_*" into qt-dev 2019-04-10 20:57:23 +00:00
Jack Yu
826ad9451c Merge "Correct SecureNfc behavior in setting page" into qt-dev am: 0333b07a1e
am: f7422c7e68

Change-Id: Idf69029762175b412c75769d34ca8a22e7f8d41c
2019-04-10 13:57:13 -07:00
TreeHugger Robot
9eef4964a4 Merge "Creates user_switcher_enabled setting to match setting" into qt-dev 2019-04-10 20:46:22 +00:00
TreeHugger Robot
0c6ead9e61 Merge "Allow user without a password to clear credentials" into qt-dev 2019-04-10 20:36:22 +00:00
Lei Yu
8a09cb1c67 Merge "Override height of SliceView in Settings" into qt-dev am: 7c7dbe20c7
am: 01626fd7d5

Change-Id: Ic6fa39e3c3792e97369cc38a73894816ff8210f9
2019-04-10 13:32:40 -07:00
Fan Zhang
9be307720b Merge "Gracefully handle the case where private volume may be unmountable" into qt-dev
am: 6dd38b462f

Change-Id: I4354f0a2482891e95e89c6a15bd44b8633849dfd
2019-04-10 13:19:12 -07:00
TreeHugger Robot
3b7cdfb708 Merge "Go to the correct subscription in WifiCallingSettings" into qt-dev 2019-04-10 20:01:32 +00:00
Andrew Sapperstein
b61e1566ef Merge "Updates to data usage prefs" into qt-dev am: 8bd90f58bf
am: 028b2fec43

Change-Id: I071e491c6d0df447f331333c5c6a38cbe798c781
2019-04-10 12:56:07 -07:00
Julia Reynolds
002f8a09d3 Changes for renamed API
Test: atest
Bug: 130224929
Change-Id: Ia5003a31153da74347a3251a71dfcd423e65a462
2019-04-10 15:50:51 -04:00
Fan Zhang
1e5d1ba5ff Merge "Batch rename: homepage_* to contextual_* or condtion_*" into qt-dev
am: aa599e737a

Change-Id: Ib34b49b163c5753d5eda17a1e7521436fedd2678
2019-04-10 12:49:12 -07:00
Julia Reynolds
b2bf285911 Merge "Use correct key value" into qt-dev 2019-04-10 19:46:58 +00:00
TreeHugger Robot
d79e9c498a Merge "Fix up Network and Internet Slice" into qt-dev 2019-04-10 19:44:42 +00:00
Fan Zhang
6dd38b462f Merge "Gracefully handle the case where private volume may be unmountable" into qt-dev 2019-04-10 19:29:58 +00:00
Fan Zhang
b64d16dcad Rename resource variable names: homepage_* -> contextual_*
Fixes: 130250419
Test: rebuild
Change-Id: I497f2d8e48fb6b5cd54b40e5f5b0691de0e19b1c
2019-04-10 12:25:10 -07:00
Fabian Kozynski
a52961d803 Creates user_switcher_enabled setting to match setting
When the user enters UserSettings, the switch displays the setting as
on, but the setting is not created until the user modifies this for the
first time. This change makes sure that the setting is created when the
user enters UserSettings for the first time.

Fixes: 130270878
Test: manual, switch to second user and observe switcher icons.
Change-Id: I30bc5025c178da3668a76c828c34545c1d98b085
2019-04-10 15:22:20 -04:00
Jonathan Koo
af0f6960df Merge "Address UI change request for injected services" into qt-dev am: 82af1830d7
am: 42c1dc6da1

Change-Id: Icea5e21286af44576aa6445b06121e4e2ab43f0d
2019-04-10 12:07:44 -07:00
Raff Tsai
4bbb0542a2 Merge "Settings: fix the NullPointerException when initiating media player" into qt-dev am: cd576f15a3
am: a75795840e

Change-Id: I702d0d79277933e690c44f7d75d27b7ff98dd2f6
2019-04-10 12:06:46 -07:00
Jack Yu
f7422c7e68 Merge "Correct SecureNfc behavior in setting page" into qt-dev
am: 0333b07a1e

Change-Id: Icc9b9b84572ef063051ade9a2ffbd6c1a30088da
2019-04-10 11:56:38 -07:00
Lei Yu
01626fd7d5 Merge "Override height of SliceView in Settings" into qt-dev
am: 7c7dbe20c7

Change-Id: I8f3af9068bab3116e8f7738db5e343862d15058d
2019-04-10 11:55:41 -07:00
Andrew Sapperstein
028b2fec43 Merge "Updates to data usage prefs" into qt-dev
am: 8bd90f58bf

Change-Id: I1e50944c0dd9e6b67f2d9435268ac98c89d2f0e5
2019-04-10 11:54:08 -07:00
TreeHugger Robot
aa599e737a Merge "Batch rename: homepage_* to contextual_* or condtion_*" into qt-dev 2019-04-10 18:25:45 +00:00
Mill Chen
0c63de2612 Update magnification icon in Accessibility
Also, delete unused png files

Fixes: 129995155
Test: visual
Change-Id: Ie392abea4281beb4799c87d264548369c28940e1
2019-04-10 11:20:14 -07:00
Jordan Liu
728e186441 Do not reuse phonestatelistener
Due to b/117555407, the same PhoneStateListener object can not be used
to register on different subIds, so we workaround this by recreating
the PhoneStateListener when reregistering.

Fixes: 129989656
Test: manual
Change-Id: I9d6631da628351511e285afeb5b6d4331aaab7e5
Merged-In: I9d6631da628351511e285afeb5b6d4331aaab7e5
(cherry picked from commit 9bc2a584f6)
2019-04-10 18:13:06 +00:00
Jonathan Koo
42c1dc6da1 Merge "Address UI change request for injected services" into qt-dev
am: 82af1830d7

Change-Id: Iaec7f7ee83f4bc764940b22343b2c7556cb2b8a6
2019-04-10 11:10:16 -07:00
Raff Tsai
a75795840e Merge "Settings: fix the NullPointerException when initiating media player" into qt-dev
am: cd576f15a3

Change-Id: Id176c6e8e413cc7c85a0ac502f6086aca42cc940
2019-04-10 11:08:54 -07:00
Julia Reynolds
1507891548 Use correct key value
Test: manual with pre O and O+ apps
Fixes: 130179408
Change-Id: I6a3f815dc441f99509eb334f028f42948e8f9c9e
2019-04-10 17:53:29 +00:00
TreeHugger Robot
0333b07a1e Merge "Correct SecureNfc behavior in setting page" into qt-dev 2019-04-10 17:18:03 +00:00
Shibin George
a2f013dacb Gracefully handle the case where private volume may be unmountable
If sdcard was removed while format(as phone storage) was
under progress, blkid can fail to identify the UUID of the
private volume. The PrivateStorageInfo.getTotalSize() API
assumes UUID to be always valid which could simply be not the case.
Avoid calling getTotalSize() on private volume when its state
is unmountable.

Bug: 130203877

Test: 1) Insert sdcard as "portable" storage.
      2) Format it as "phone" storage.
      3) Remove the sdcard while format is in progress.
      4) Insert sdcard again -> blkid may fail to id the sdcard.
         In such case, the fsUuid of the private-volume will be reported as "".
      5) Open "Storage Settings". Settings app crashes:

       FATAL EXCEPTION: main
       Process: com.android.settings, PID: 3700
       ...
       Caused by: java.lang.IllegalArgumentException: Invalid UUID string:
       at java.util.UUID.fromString(UUID.java:194)
       at android.os.storage.StorageManager.convert(StorageManager.java:2139)
       at android.app.usage.StorageStatsManager.getTotalBytes(StorageStatsManager.java:121)
       at com.android.settingslib.deviceinfo.PrivateStorageInfo.getTotalSize(PrivateStorageInfo.java:64)

         However, with this CL, "Storage Settings" can be opened
         and the private volume's state is correctly reflected as "Corrupted".
         User can choose to format the volume again.

Copyright (c) 2019 Qualcomm Innovation Center, Inc. All Rights Reserved.

Change-Id: I764603b5806f43f0c6d398f9d6803646774cd912
2019-04-10 10:07:44 -07:00
Lei Yu
7c7dbe20c7 Merge "Override height of SliceView in Settings" into qt-dev 2019-04-10 16:56:28 +00:00
Pavel Grafov
0a67bbf89f Allow user without a password to clear credentials
Currently the code assumes that the user always has a pin or
password or pattern. If there's no password confirmKeyGuard() will
return false, so the acttivity will finish without doing anything.
With this change if there's no PIN/password/pattern, the credential
clearing task will be launched straightaway as the user presses "OK"
the confirmation prompt.

Bug: 127697771
Test: manual
Change-Id: Iac4af0abfc7430ed197e04f833bf203c3f66f52e
2019-04-10 17:53:32 +01:00
Andrew Sapperstein
8bd90f58bf Merge "Updates to data usage prefs" into qt-dev 2019-04-10 16:49:49 +00:00
Jonathan Koo
82af1830d7 Merge "Address UI change request for injected services" into qt-dev 2019-04-10 16:46:16 +00:00