OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Disable icon for NetworkOperatorPreference" into qt-dev
Lei Yu [Fri, 12 Apr 2019 17:44:59 +0000 (17:44 +0000)]
Merge "Disable icon for NetworkOperatorPreference" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 06:11:17 +0000 (06:11 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Apr 2019 03:47:23 +0000 (20:47 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3f2592d8b31abc79f4bf4edc54f05ff24edede32

5 years agoMerge "Fix Wi-Fi QR code scanning icon disappears problem" into qt-dev
Arc Wang [Fri, 12 Apr 2019 02:44:33 +0000 (02:44 +0000)]
Merge "Fix Wi-Fi QR code scanning icon disappears problem" into qt-dev

5 years agoMerge "Fix can't share WEP Wi-Fi network via Wi-Fi QR code generator" into qt-dev
Arc Wang [Fri, 12 Apr 2019 02:36:21 +0000 (02:36 +0000)]
Merge "Fix can't share WEP Wi-Fi network via Wi-Fi QR code generator" into qt-dev

5 years agoMerge "Increasing char limited of skip dialog title to 48" into qt-dev
Pasty Chang [Fri, 12 Apr 2019 01:13:24 +0000 (01:13 +0000)]
Merge "Increasing char limited of skip dialog title to 48" into qt-dev

5 years agoDisable icon for NetworkOperatorPreference
Lei Yu [Thu, 11 Apr 2019 17:21:47 +0000 (10:21 -0700)]
Disable icon for NetworkOperatorPreference

When using old api, disable icon because data in CellInfo is wrong.

Fixes: 128393160
Test: RunSettingsRoboTests
Change-Id: Ide5b424e86d2f0a19cf1e0e6bf22edb270822690

5 years agoMerge "Fix conditionals not show up in homepage" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 23:14:30 +0000 (23:14 +0000)]
Merge "Fix conditionals not show up in homepage" into qt-dev

5 years agoMerge "Merge "Fix issue that user can't edit WFC mode for SIM2" am: d2727d5d9f am...
Brad Ebinger [Thu, 11 Apr 2019 22:54:28 +0000 (22:54 +0000)]
Merge "Merge "Fix issue that user can't edit WFC mode for SIM2" am: d2727d5d9f am: c91d33798b" into qt-dev

5 years agoMerge "Added activity with correct filter for DataSaver" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 22:20:13 +0000 (22:20 +0000)]
Merge "Added activity with correct filter for DataSaver" into qt-dev

5 years agoMerge "Change the owners of vpn2 settings again" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 21:48:53 +0000 (21:48 +0000)]
Merge "Change the owners of vpn2 settings again" into qt-dev

5 years agoFix conditionals not show up in homepage
Mill Chen [Wed, 3 Apr 2019 00:52:33 +0000 (17:52 -0700)]
Fix conditionals not show up in homepage

Settings will not refresh conditionals status if there is no condition
card in homepage when Settings homepage gets in/out of window focus.
Whether or not there are conditional cards in the homepage, Settings
should always refresh conditional cards.

Fixes: 129725565
Test: robotests, visual
Change-Id: I1ed309d3fd4f7a2ba911097ea6b049c2aff48c8a

5 years agoMerge "Update magnification icon in Accessibility" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 20:43:39 +0000 (20:43 +0000)]
Merge "Update magnification icon in Accessibility" into qt-dev

5 years agoMerge "Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 19:54:32 +0000 (19:54 +0000)]
Merge "Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView" into qt-dev

5 years agoAdded activity with correct filter for DataSaver
Fabian Kozynski [Thu, 11 Apr 2019 16:25:09 +0000 (12:25 -0400)]
Added activity with correct filter for DataSaver

Test: manual
Fixes: 122676059
Change-Id: Ia8507a3b608d19b93b1fcf3a65b499601136bd8e

5 years agoChange the owners of vpn2 settings again
Robin Lee [Thu, 11 Apr 2019 14:58:59 +0000 (16:58 +0200)]
Change the owners of vpn2 settings again

Test: N/A
Change-Id: I3fa4bc4101a5942bbd9c95d7b0a8456801ba75f7
Fix: 130346282

5 years agoMerge "Add OWNERS file for settings/vpn2" into qt-dev
Robin Lee [Thu, 11 Apr 2019 14:53:10 +0000 (14:53 +0000)]
Merge "Add OWNERS file for settings/vpn2" into qt-dev

5 years agoAdd OWNERS file for settings/vpn2
Robin Lee [Tue, 9 Apr 2019 13:48:37 +0000 (15:48 +0200)]
Add OWNERS file for settings/vpn2

Adds more people who can approve changes to the VPN Settings UI.

Test: repo upload .
Fix: 130346282
Change-Id: I8bb8a7559b5967189476406a00467c6b8bcdc52e

5 years agoTurn off LAYER_TYPE_SOFTWARE on BatteryMeterView
Evan Laird [Thu, 11 Apr 2019 14:52:14 +0000 (10:52 -0400)]
Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView

ThemedBatteryDrawable will no longer need it due to drawing more
betterer

Test: battery should look the same
Bug: 129014647
Change-Id: I6706cec2b3c3bfbdc0e0456c58191bc7152783e7

5 years agoIncreasing char limited of skip dialog title to 48
Pasty Chang [Thu, 11 Apr 2019 07:12:10 +0000 (07:12 +0000)]
Increasing char limited of skip dialog title to 48

Test: atest
Bug: 130272235
Bug: 130272154
Bug: 130271754
Change-Id: I200eca37e3bcb10969cc82f77a7a485f9f33cbb3

5 years agoMerge "Update some wordings under the Display page" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 05:26:52 +0000 (05:26 +0000)]
Merge "Update some wordings under the Display page" into qt-dev

5 years agoMerge "Add background flag to CI system update intent" into qt-dev
Naina Nalluri [Thu, 11 Apr 2019 04:42:28 +0000 (04:42 +0000)]
Merge "Add background flag to CI system update intent" into qt-dev

5 years agoMerge "Align with Bluetooth metadata API changes" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 03:37:58 +0000 (03:37 +0000)]
Merge "Align with Bluetooth metadata API changes" into qt-dev

5 years agoUpdate some wordings under the Display page
Sunny Shao [Thu, 11 Apr 2019 01:36:17 +0000 (09:36 +0800)]
Update some wordings under the Display page

-Sleep to Screen timeout
-Styles & Wallpapers to Styles & wallpapers
-Styles & Wallpapers, sleep, font size to Styles, wallpapers, screen timeout, font size

Fixes: 130240143
Fixes: 129885706
Test: Manual View
Change-Id: Icc4f18917961773a6435a23f32d06c5061c179eb

5 years agoMerge "Have dialogCornerRadius same as theme for panel" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 02:01:53 +0000 (02:01 +0000)]
Merge "Have dialogCornerRadius same as theme for panel" into qt-dev

5 years agoMerge "Update OWNERS for nfc folder." into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 01:48:30 +0000 (01:48 +0000)]
Merge "Update OWNERS for nfc folder." into qt-dev

5 years agoMerge "Enable/disable fingerprint for SUW suggestion activity" into qt-dev
Cn Chen [Thu, 11 Apr 2019 01:32:43 +0000 (01:32 +0000)]
Merge "Enable/disable fingerprint for SUW suggestion activity" into qt-dev

5 years agoMerge "Set IA background not transparent" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 00:41:33 +0000 (00:41 +0000)]
Merge "Set IA background not transparent" into qt-dev

5 years agoMerge "Fix issue that user can't edit WFC mode for SIM2" am: d2727d5d9f
Brad Ebinger [Thu, 11 Apr 2019 00:33:20 +0000 (17:33 -0700)]
Merge "Fix issue that user can't edit WFC mode for SIM2" am: d2727d5d9f
am: c91d33798b

Bug: 117193148
Test: manual CP
Merged-In: Icb3bd924f9e8e3e2e82845ab85ef25c2e38e13dc
Change-Id: Icb3bd924f9e8e3e2e82845ab85ef25c2e38e13dc
(cherry picked from commit ac4a495fc23ed7931d6c6ca956c20f9024e48ed7)

5 years agoHave dialogCornerRadius same as theme for panel
lindatseng [Thu, 11 Apr 2019 00:13:45 +0000 (17:13 -0700)]
Have dialogCornerRadius same as theme for panel

Should have DialogCornerRadius updated with theme

Test: Visual inspection
Fixes: 123833192
Change-Id: I2e9779122f01e8e36611ae95a69295aa81e931fe

5 years agoMerge "Fixed display name not saved after carrier changed" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 00:02:41 +0000 (00:02 +0000)]
Merge "Fixed display name not saved after carrier changed" into qt-dev

5 years agoMerge "Remove old format contextual card log" into qt-dev
Raff Tsai [Wed, 10 Apr 2019 23:42:48 +0000 (23:42 +0000)]
Merge "Remove old format contextual card log" into qt-dev

5 years agoMerge "Update BS warning to follow through on action" into qt-dev
Salvador Martinez [Wed, 10 Apr 2019 22:46:10 +0000 (22:46 +0000)]
Merge "Update BS warning to follow through on action" into qt-dev

5 years agoUpdate OWNERS for nfc folder.
Raj Mojumder [Wed, 10 Apr 2019 21:59:24 +0000 (14:59 -0700)]
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.

5 years agoMerge "Changes for renamed API" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 22:22:25 +0000 (22:22 +0000)]
Merge "Changes for renamed API" into qt-dev

5 years agoAdd background flag to CI system update intent
Naina Nalluri [Mon, 1 Apr 2019 23:03:20 +0000 (16:03 -0700)]
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

5 years agoMerge "Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev
Sean Stout [Wed, 10 Apr 2019 22:02:41 +0000 (22:02 +0000)]
Merge "Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev

5 years agoSet IA background not transparent
Mill Chen [Wed, 10 Apr 2019 00:28:46 +0000 (17:28 -0700)]
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

5 years agoMerge "Rename resource variable names: homepage_* -> contextual_*" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 20:57:23 +0000 (20:57 +0000)]
Merge "Rename resource variable names: homepage_* -> contextual_*" into qt-dev

5 years agoMerge "Creates user_switcher_enabled setting to match setting" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 20:46:22 +0000 (20:46 +0000)]
Merge "Creates user_switcher_enabled setting to match setting" into qt-dev

5 years agoMerge "Allow user without a password to clear credentials" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 20:36:22 +0000 (20:36 +0000)]
Merge "Allow user without a password to clear credentials" into qt-dev

5 years agoMerge "Go to the correct subscription in WifiCallingSettings" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 20:01:32 +0000 (20:01 +0000)]
Merge "Go to the correct subscription in WifiCallingSettings" into qt-dev

5 years agoChanges for renamed API
Julia Reynolds [Wed, 10 Apr 2019 16:44:10 +0000 (12:44 -0400)]
Changes for renamed API

Test: atest
Bug: 130224929
Change-Id: Ia5003a31153da74347a3251a71dfcd423e65a462

5 years agoMerge "Use correct key value" into qt-dev
Julia Reynolds [Wed, 10 Apr 2019 19:46:58 +0000 (19:46 +0000)]
Merge "Use correct key value" into qt-dev

5 years agoMerge "Fix up Network and Internet Slice" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 19:44:42 +0000 (19:44 +0000)]
Merge "Fix up Network and Internet Slice" into qt-dev

5 years agoMerge "Gracefully handle the case where private volume may be unmountable" into qt-dev
Fan Zhang [Wed, 10 Apr 2019 19:29:58 +0000 (19:29 +0000)]
Merge "Gracefully handle the case where private volume may be unmountable" into qt-dev

5 years agoRename resource variable names: homepage_* -> contextual_*
Fan Zhang [Wed, 10 Apr 2019 19:25:10 +0000 (12:25 -0700)]
Rename resource variable names: homepage_* -> contextual_*

Fixes: 130250419
Test: rebuild
Change-Id: I497f2d8e48fb6b5cd54b40e5f5b0691de0e19b1c

5 years agoCreates user_switcher_enabled setting to match setting
Fabian Kozynski [Wed, 10 Apr 2019 19:22:20 +0000 (15:22 -0400)]
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

5 years agoMerge "Batch rename: homepage_* to contextual_* or condtion_*" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 18:25:45 +0000 (18:25 +0000)]
Merge "Batch rename: homepage_* to contextual_* or condtion_*" into qt-dev

5 years agoUpdate magnification icon in Accessibility
Mill Chen [Wed, 10 Apr 2019 17:58:16 +0000 (10:58 -0700)]
Update magnification icon in Accessibility

Also, delete unused png files

Fixes: 129995155
Test: visual
Change-Id: Ie392abea4281beb4799c87d264548369c28940e1

5 years agoUse correct key value
Julia Reynolds [Wed, 10 Apr 2019 17:49:03 +0000 (13:49 -0400)]
Use correct key value

Test: manual with pre O and O+ apps
Fixes: 130179408
Change-Id: I6a3f815dc441f99509eb334f028f42948e8f9c9e

5 years agoMerge "Correct SecureNfc behavior in setting page" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 17:18:03 +0000 (17:18 +0000)]
Merge "Correct SecureNfc behavior in setting page" into qt-dev

5 years agoGracefully handle the case where private volume may be unmountable
Shibin George [Tue, 9 Apr 2019 11:16:20 +0000 (16:46 +0530)]
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

5 years agoMerge "Override height of SliceView in Settings" into qt-dev
Lei Yu [Wed, 10 Apr 2019 16:56:28 +0000 (16:56 +0000)]
Merge "Override height of SliceView in Settings" into qt-dev

5 years agoAllow user without a password to clear credentials
Pavel Grafov [Wed, 10 Apr 2019 15:12:55 +0000 (16:12 +0100)]
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

5 years agoMerge "Updates to data usage prefs" into qt-dev
Andrew Sapperstein [Wed, 10 Apr 2019 16:49:49 +0000 (16:49 +0000)]
Merge "Updates to data usage prefs" into qt-dev

5 years agoMerge "Address UI change request for injected services" into qt-dev
Jonathan Koo [Wed, 10 Apr 2019 16:46:16 +0000 (16:46 +0000)]
Merge "Address UI change request for injected services" into qt-dev

5 years agoMerge "Settings: fix the NullPointerException when initiating media player" into...
TreeHugger Robot [Wed, 10 Apr 2019 16:42:03 +0000 (16:42 +0000)]
Merge "Settings: fix the NullPointerException when initiating media player" into qt-dev

5 years agoMerge "Fix visibility of settings on channel page" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 15:31:35 +0000 (15:31 +0000)]
Merge "Fix visibility of settings on channel page" into qt-dev

5 years agoMerge "Should go to wifi page from wifi panel "See more"" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 15:18:08 +0000 (15:18 +0000)]
Merge "Should go to wifi page from wifi panel "See more"" into qt-dev

5 years agoFixed display name not saved after carrier changed
Jack Yu [Wed, 10 Apr 2019 05:25:00 +0000 (22:25 -0700)]
Fixed display name not saved after carrier changed

The caller needs to specify the name changing source, otherwise
telephony resets it to default after SIM swapped.

Bug: 130237749
Test: Manual
Change-Id: Iaa46db7bf22a35cb583faae069c9f2519ba4f94f

5 years agoMerge "Enable heavy theme for setupwizard pages" into qt-dev
Pasty Chang [Wed, 10 Apr 2019 14:23:00 +0000 (14:23 +0000)]
Merge "Enable heavy theme for setupwizard pages" into qt-dev

5 years agoFix visibility of settings on channel page
Julia Reynolds [Wed, 10 Apr 2019 13:57:02 +0000 (09:57 -0400)]
Fix visibility of settings on channel page

Properly hide fields if the parent app or group
is blocked. This is needed because apps can link
directly to this screen.

Test: atest
Fixes: 130184191
Change-Id: I8c39410574940615fbb607a201e20e480ec02d87

5 years agoSettings: fix the NullPointerException when initiating media player
Raff Tsai [Wed, 10 Apr 2019 10:28:29 +0000 (18:28 +0800)]
Settings: fix the NullPointerException when initiating media player

If the input media resource is invalid, MediaPlayer create calling may
fail and returns null, so trigger one NullPointerException.

Add the null pointer judegement when calling seekto and so on.

Test: manual
Fixes: 130032215

Change-Id: I38cb08584aa4e4c2ce4dc58a5a095960c7bd1948
Signed-off-by: Hoff Cheng <hoffc@qti.qualcomm.com>
5 years agoMerge "ConfirmDeviceCredential should respond to cancel when launched through BP...
Kevin Chyn [Wed, 10 Apr 2019 08:34:34 +0000 (08:34 +0000)]
Merge "ConfirmDeviceCredential should respond to cancel when launched through BP" into qt-dev

5 years agoRemove old format contextual card log
Raff Tsai [Wed, 10 Apr 2019 07:16:17 +0000 (15:16 +0800)]
Remove old format contextual card log

These logs are replaced by SettingsIntelligenceLogWriter

Test: rebuild
Fixes: 124701288
Change-Id: Id93143a1f291878b7c212c35ed8683ca38d5fe17

5 years agoAlign with Bluetooth metadata API changes
Ugo Yu [Tue, 5 Mar 2019 08:43:08 +0000 (16:43 +0800)]
Align with Bluetooth metadata API changes

* Align with the changes of Bluetooth metadata APIs.
* Move metadata utils from Settings to SettingsLib.

Bug: 124448651
Test: make RunSettingsRoboTests
Change-Id: Ic9ad91536ef3ff6807a08bbffa3dd796ef1ad523

5 years agoFix Wi-Fi QR code scanning icon disappears problem
Arc Wang [Wed, 10 Apr 2019 03:46:49 +0000 (11:46 +0800)]
Fix Wi-Fi QR code scanning icon disappears problem

Should not do one time initialization for the View in
Preference#onBindViewHolder. Because A view setup in
PreferenceViewHolder may be recycled.

Bug: 127502788
Test: manual
Change-Id: Iedf023fa00d2745a02521b65e5c12165c2bc025b

5 years agoFix can't share WEP Wi-Fi network via Wi-Fi QR code generator
Arc Wang [Tue, 9 Apr 2019 09:46:08 +0000 (17:46 +0800)]
Fix can't share WEP Wi-Fi network via Wi-Fi QR code generator

For a WEP Wi-Fi network, we should get the password from
WifiConfiguration#wepKeys instead of WifiConfiguration#preSharedKey.

Bug: 130204717
Test: manual
Change-Id: I766a767f3d605c7fbf0b71d263fd111f159c7cde

5 years agoShould go to wifi page from wifi panel "See more"
lindatseng [Wed, 10 Apr 2019 01:07:46 +0000 (18:07 -0700)]
Should go to wifi page from wifi panel "See more"

Redirect to wifi intent instead of network & internet page
when user clicks on See more button on wifi only panel.

Test: Manual
Fixes: 130245318
Change-Id: Ic1ddb5d91cbcabfbe8ee57a5d7ec0994204f9386

5 years agoAddress UI change request for injected services
Lifu Tang [Fri, 5 Apr 2019 20:47:21 +0000 (13:47 -0700)]
Address UI change request for injected services

- Remove icons from injected items
- Create a separate section for work profile

Bug: 129948280
Test: build, flash, and test manually
Change-Id: Ia64af349c8dd1575d629debd574cdb3ae6eb650d

5 years agoEnable/disable fingerprint for SUW suggestion activity
cnchen [Fri, 22 Mar 2019 11:48:04 +0000 (19:48 +0800)]
Enable/disable fingerprint for SUW suggestion activity

Bug: 115251237
Test: atest RunSettingsRoboTests, manually test enable/disable situations
Change-Id: Ia53d2723fca5d7e3093e79037cb9053d11e4babc

5 years agoMerge "Add icon for sign in" into qt-dev
Clown SHEN [Wed, 10 Apr 2019 02:48:20 +0000 (02:48 +0000)]
Merge "Add icon for sign in" into qt-dev

5 years agoUpdates to data usage prefs
Antony Sargent [Tue, 9 Apr 2019 23:52:22 +0000 (16:52 -0700)]
Updates to data usage prefs

-Remove 'Data Usage' pref from Network & internet homepage
-Add 'Data warning & limit' to mobile network details page

Fixes: 127535879
Fixes: 130241963
Test: robotests

Change-Id: I28b3de34dcf11140762b4e3ee5b465f842ac48d4

5 years agoBatch rename: homepage_* to contextual_* or condtion_*
Fan Zhang [Tue, 9 Apr 2019 23:33:58 +0000 (16:33 -0700)]
Batch rename: homepage_* to contextual_* or condtion_*

Contextual cards are not bound to homepage. Remove prefix homepage from
layout and theme names.

Next step: update names for some resource values (dimen/color etc)

Bug: 130250419
Test: rebuild

Change-Id: I5e901268462aaa37e00493080ae09af001784823

5 years agoMerge "Record all contextual card log to MetricsFeatureProvider" into qt-dev
Fan Zhang [Tue, 9 Apr 2019 23:39:46 +0000 (23:39 +0000)]
Merge "Record all contextual card log to MetricsFeatureProvider" into qt-dev

5 years agoGo to the correct subscription in WifiCallingSettings
Antony Sargent [Tue, 9 Apr 2019 22:32:39 +0000 (15:32 -0700)]
Go to the correct subscription in WifiCallingSettings

For subscriptions that support wifi calling, we have a preference on the
mobile network details page which leads to a Wifi Calling page. That
page already supports the concept of multiple subscriptions with a
header strip containing a tab for each subscription that supports wifi
calling. However, we were not necessarily selecting the *correct* tab
when going to this page. So you might be viewing the mobile network
details for subscription B and click on "Wifi Calling", only to land on
the page with the tab for subscription A selected.

This CL fixes the problem by adding an extra with the current
subscription id to the Preference's intent in
WifiCallingPreferenceController, and then reads that extra in
WifiCallingSettings and uses it to select the appropriate tab.

Fixes: 117135894
Test: make RunSettingsRoboTests
Change-Id: I3aec30072712247d14fe0fb6b61207535f9e981c

5 years agoMerge "Show Styles & Wallpaper in Settings" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 22:48:04 +0000 (22:48 +0000)]
Merge "Show Styles & Wallpaper in Settings" into qt-dev

5 years agoFix up Network and Internet Slice
Matthew Fritze [Tue, 9 Apr 2019 22:05:11 +0000 (15:05 -0700)]
Fix up Network and Internet Slice

- Fix pref key for Airplane mode
- Return null when no mobile data is available

Test: robotests
Fixes: 130244854
Change-Id: I88806cb9215af159114ac150c20cdb8fb413befe

5 years agoMerge "Treat mode_default as denied for install_unknown_apps" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 22:02:30 +0000 (22:02 +0000)]
Merge "Treat mode_default as denied for install_unknown_apps" into qt-dev

5 years agoMerge "Do not retrive app detail if the fragment is exiting." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 21:19:24 +0000 (21:19 +0000)]
Merge "Do not retrive app detail if the fragment is exiting." into qt-dev

5 years agoMerge "Use helper method for determining whether eSIM is supported" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:45:10 +0000 (20:45 +0000)]
Merge "Use helper method for determining whether eSIM is supported" into qt-dev

5 years agoAdd android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL
Sean Stout [Fri, 5 Apr 2019 19:34:44 +0000 (12:34 -0700)]
Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL

This intent action opens the advanced power usage details screen for
a provided application.

Test: adb shell am start -a \
"android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" -d \
"package:com.google.android.deskclock" --ez \
"request_ignore_background_restriction" 1
Bug: 129901520

Test: None
Bug: 129901520
Change-Id: Ib19228111c71ef1cfb5888f859a7efcf92a01754

5 years agoOverride height of SliceView in Settings
Lei Yu [Tue, 9 Apr 2019 20:26:25 +0000 (13:26 -0700)]
Override height of SliceView in Settings

Fixes: 129012281
Test: Manual
Change-Id: I99ad80ea03a52f4a9edc0a7532ad4a0f2d33779e

5 years agoMerge "Move bitmap recycle to onDestroy()" into qt-dev
Lei Yu [Tue, 9 Apr 2019 20:23:48 +0000 (20:23 +0000)]
Merge "Move bitmap recycle to onDestroy()" into qt-dev

5 years agoMerge "Treat mcx apn type as not wild-cardable." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:18:03 +0000 (20:18 +0000)]
Merge "Treat mcx apn type as not wild-cardable." into qt-dev

5 years agoRecord all contextual card log to MetricsFeatureProvider
Raff Tsai [Fri, 29 Mar 2019 09:17:08 +0000 (17:17 +0800)]
Record all contextual card log to MetricsFeatureProvider

Use ContextualCardLogUtils to serialize contextual card event to
string, and records the string using regular MetricFeatureProvider
logging APIs.

Bug: 124701288
Test: Robolectric, integrating test with SettingsIntelligence
Change-Id: Ie139b4f4b8a2b0f0dcc4bb8df9bdec8f5fd824a6

5 years agoUpdate BS warning to follow through on action
Salvador Martinez [Fri, 5 Apr 2019 20:07:23 +0000 (13:07 -0700)]
Update BS warning to follow through on action

The BS warning only had support for following through when a user
wanted to toggle battery saver. This also makes it so that if
the warning is shown for routines it will finish whatever action
it interrupted once confirmed.

Test: robotests pass, manual verification
Bug: 129696128
Change-Id: I2c34ed678b19d95f3c7d1094ab8f79cc0c23252e

5 years agoUse helper method for determining whether eSIM is supported
Antony Sargent [Tue, 9 Apr 2019 16:49:57 +0000 (09:49 -0700)]
Use helper method for determining whether eSIM is supported

It turns out to be more complicated than I had thought to determine if a
device should be considered to support eSIM. But the good news is that
we already had a helper method for this - this CL switches to using it
in some code for DSDS UI.

Fixes: 129061243
Test: make RunSettingsRoboTests
Change-Id: I41e500eb70b6c6b725c0ddf09fe1ca1a69df4563

5 years agoMerge "Use active instead of available subscriptions in 2 places" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 18:01:30 +0000 (18:01 +0000)]
Merge "Use active instead of available subscriptions in 2 places" into qt-dev

5 years agoShow Styles & Wallpaper in Settings
Amin Shaikh [Mon, 8 Apr 2019 19:39:07 +0000 (15:39 -0400)]
Show Styles & Wallpaper in Settings

Show "Styles & Wallpaper" in Settings based on whether the ThemePicker
component is availalable. Also update dashboard summary for display.

Bug: 129874298
Test: m RunSettingsRoboTests
Change-Id: Id7e0bb9cbc689bb9e637919a10a7d1006397afab

5 years agoMerge "Remove viewFlipper used in contextual card dismissal." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 17:11:40 +0000 (17:11 +0000)]
Merge "Remove viewFlipper used in contextual card dismissal." into qt-dev

5 years agoMerge "Inflate dismissal background instead of drawing while swiping" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 17:11:11 +0000 (17:11 +0000)]
Merge "Inflate dismissal background instead of drawing while swiping" into qt-dev

5 years agoMerge "Only enable feedback dialog in debuggable build." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 17:00:13 +0000 (17:00 +0000)]
Merge "Only enable feedback dialog in debuggable build." into qt-dev

5 years agoMerge "Fix panel slices title not updated when locale changed" into qt-dev
Linda Tseng [Tue, 9 Apr 2019 16:57:26 +0000 (16:57 +0000)]
Merge "Fix panel slices title not updated when locale changed" into qt-dev

5 years agoEnable heavy theme for setupwizard pages
Pasty Chang [Tue, 9 Apr 2019 11:37:45 +0000 (11:37 +0000)]
Enable heavy theme for setupwizard pages

Stencil heavy theme is ready. Enable by setting the attribute to true.
light & heavy theme screenshot: https://screenshot.googleplex.com/15SXBK66NZX

Bug: 130208067
Test: atest
Change-Id: Ic3843b5f6724ed2f4fcdadf1ad634d918596c2ae

5 years agoCorrect SecureNfc behavior in setting page
Jack Yu [Tue, 9 Apr 2019 10:40:21 +0000 (18:40 +0800)]
Correct SecureNfc behavior in setting page

1. String under SecureNfc should update immediately when NFC toggle
2. SecureNfc state should remain the same after NFC toggle

Bug: 129037278
Test: Toggle NFC/SecureNfc option and check behavior
Change-Id: I9cbac4951f0c70accd92c43fc62658cb5dbb5c9b

5 years agoMerge "Move NAS selection to 'special app access'" into qt-dev
Julia Reynolds [Tue, 9 Apr 2019 12:56:40 +0000 (12:56 +0000)]
Merge "Move NAS selection to 'special app access'" into qt-dev

5 years agoMerge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev
Pasty Chang [Tue, 9 Apr 2019 11:53:00 +0000 (11:53 +0000)]
Merge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev

5 years agoRemove viewFlipper used in contextual card dismissal.
Yi-Ling Chuang [Mon, 1 Apr 2019 14:53:10 +0000 (22:53 +0800)]
Remove viewFlipper used in contextual card dismissal.

- Use view's visibility to control which view we should show.
- Slice view can be built with normal height after removing viewFlipper.

Bug: 129438972
Bug: 128689305
Test: robotests
Change-Id: If7e9bd30d5cb5bcd3b9ff9f09cc2eae36543b9e9