OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoImplement context menu for ConnectedAccessPointPreference
cosmohsieh [Tue, 2 Apr 2019 10:05:34 +0000 (18:05 +0800)]
Implement context menu for ConnectedAccessPointPreference

1) User wants to long press ConnectedAccessPointPreference to forget network if this
is a captive portal network.
2) Change context menu string

Bug: 113756562
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: If5c45c45fe126f627eeb53a6c1873a070ad23ae8
(cherry picked from commit 9f8522565ad82381b9270248054cdfb319656c8c)

5 years agoMerge "Remove error slice from Settings in rendering time" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 05:20:58 +0000 (05:20 +0000)]
Merge "Remove error slice from Settings in rendering time" into qt-dev

5 years agoMerge "Change Content Capture strings." into qt-dev
Felipe Leme [Tue, 16 Apr 2019 04:51:24 +0000 (04:51 +0000)]
Merge "Change Content Capture strings." into qt-dev

5 years agoMerge "Rename screen aware into screen attention" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 03:17:50 +0000 (03:17 +0000)]
Merge "Rename screen aware into screen attention" into qt-dev

5 years agoMerge ""Disallow adjust volume" restricted dialog didn't show" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 03:12:41 +0000 (03:12 +0000)]
Merge ""Disallow adjust volume" restricted dialog didn't show" into qt-dev

5 years agoMerge "Set WifiDialog to light theme in setup flow" into qt-dev
Pasty Chang [Tue, 16 Apr 2019 02:53:29 +0000 (02:53 +0000)]
Merge "Set WifiDialog to light theme in setup flow" into qt-dev

5 years agoMerge "Clean up DND slice in search." into qt-dev
Fan Zhang [Tue, 16 Apr 2019 02:50:10 +0000 (02:50 +0000)]
Merge "Clean up DND slice in search." into qt-dev

5 years ago"Disallow adjust volume" restricted dialog didn't show
Edgar Wang [Mon, 15 Apr 2019 04:50:47 +0000 (12:50 +0800)]
"Disallow adjust volume" restricted dialog didn't show

root casue: VolumeSeekBarPreference & SeekBarPreference will return
false when call isSelectable() then this preference won't perform Click

Fixes: 123745455
Test: Manual & robotest
Change-Id: Iba27b503e8a272260c80bd41aecdd5cdbc39f962

5 years agoRemove error slice from Settings in rendering time
Raff Tsai [Mon, 15 Apr 2019 09:33:55 +0000 (17:33 +0800)]
Remove error slice from Settings in rendering time

We filter error slice in EligibleCardChecker but not filter it in
SliceContextualCardRenderer, these two part should use the same
logic.

Fixes:128687331
Test: manual
Change-Id: I217bc6b578ceb36b0a67b44dc8a08ecd02771d82

5 years agoMerge "Make RadioInfo settings menu work for mSIM" into qt-dev
Jordan Liu [Mon, 15 Apr 2019 21:55:43 +0000 (21:55 +0000)]
Merge "Make RadioInfo settings menu work for mSIM" into qt-dev

5 years agoChange Content Capture strings.
Felipe Leme [Mon, 15 Apr 2019 15:21:46 +0000 (08:21 -0700)]
Change Content Capture strings.

Test: manual verification
Bug: 129403630

Change-Id: Idfc560c78e29a0557cb009dddf98f4e1ce879f25

5 years agoMerge "Hide app usage time in high usage dialog" into qt-dev
Lei Yu [Mon, 15 Apr 2019 17:54:39 +0000 (17:54 +0000)]
Merge "Hide app usage time in high usage dialog" into qt-dev

5 years agoRename screen aware into screen attention
Alex Salo [Sat, 13 Apr 2019 00:21:11 +0000 (17:21 -0700)]
Rename screen aware into screen attention

Bug: 111939367
Test: make RunSettingsRoboTests, manual
Change-Id: I4f65bd11a71db6601cea418a5d89b14d91858ab4

5 years agoSet WifiDialog to light theme in setup flow
pastychang [Mon, 15 Apr 2019 03:58:28 +0000 (11:58 +0800)]
Set WifiDialog to light theme in setup flow

Screenshot: https://screenshot.googleplex.com/X6tkxihEWFY

Test: Manual
Bug: 130507879
Change-Id: Icca6b827cdb62387fde4c91435d4df10e2ff4d04

5 years agoMerge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into...
Cosmo Hsieh [Sun, 14 Apr 2019 05:51:02 +0000 (05:51 +0000)]
Merge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into qt-dev

5 years agoMerge "Update intent in SimNotification" into qt-dev
TreeHugger Robot [Sun, 14 Apr 2019 05:11:58 +0000 (05:11 +0000)]
Merge "Update intent in SimNotification" into qt-dev

5 years agoMerge "Launch correct enrollment activity from ChooseLock" into qt-dev
Kevin Chyn [Sun, 14 Apr 2019 04:03:54 +0000 (04:03 +0000)]
Merge "Launch correct enrollment activity from ChooseLock" into qt-dev

5 years agoMerge "Set suw description textview to fixed id" into qt-dev
Pasty Chang [Sun, 14 Apr 2019 03:53:16 +0000 (03:53 +0000)]
Merge "Set suw description textview to fixed id" into qt-dev

5 years agoLaunch correct enrollment activity from ChooseLock
Kevin Chyn [Fri, 12 Apr 2019 22:19:12 +0000 (15:19 -0700)]
Launch correct enrollment activity from ChooseLock

Test: no noticable difference when setting up fingeprint work profile

Fixes: 130397083
Change-Id: I34be5262cc52052ce25a188f19bbcc13f938ac92

5 years agoMerge "Update search bar background drawable for dark mode" into qt-dev
Fan Zhang [Sat, 13 Apr 2019 00:01:12 +0000 (00:01 +0000)]
Merge "Update search bar background drawable for dark mode" into qt-dev

5 years agoMerge changes from topic "Hide notification channel slice" into qt-dev
Fan Zhang [Fri, 12 Apr 2019 23:38:27 +0000 (23:38 +0000)]
Merge changes from topic "Hide notification channel slice" into qt-dev

* changes:
  Log interacted package from ContextualNotificationChannelSlice
  Hide notification channel slice that is interacted

5 years agoMerge "Make RadioInfo settings menu work for mSIM" into qt-dev
Jordan Liu [Fri, 12 Apr 2019 23:27:45 +0000 (23:27 +0000)]
Merge "Make RadioInfo settings menu work for mSIM" into qt-dev

5 years agoClean up DND slice in search.
Fan Zhang [Fri, 12 Apr 2019 22:31:25 +0000 (15:31 -0700)]
Clean up DND slice in search.

- Remove the controller in SoundSettings, just use the common one.
- Update a bunch of IDs so ZenModeSliceBuilder maps to the toggle
  button in zen_mode_settings.xml

This is needed so the slice intent (left target when shown in search)
is the same as what we index from search side. Previously the search
indexer is finding zen_mode from sound page but the slice itself is
reporting a deep link into zenModeSettings page.

Fixes: 130437726
Test: robotest

Change-Id: Ic41d2d93afa1f748e3282e23010199a0fa078645

5 years agoUpdate intent in SimNotification
Antony Sargent [Fri, 12 Apr 2019 23:10:52 +0000 (16:10 -0700)]
Update intent in SimNotification

When you add/remove a SIM, telephony notifies settings and we pop up a
notification. Tapping on that notification was still leading to our old
SIM cards page, but should instead lead to the Network & internet page
where we've added a bunch of new UI for doing the same sorts of
operations.

Bug: 128859223
Test: manual (remove a SIM or add a SIM in DSDS mode; a notification
telling you that sim cards have changed should pop up, clicking that
should lead to Network & internet page in settings)

Change-Id: I9c1e656dcc3e8fc9147bb99861d8fdc15ed09be9

5 years agoHide app usage time in high usage dialog
Lei Yu [Fri, 12 Apr 2019 20:03:57 +0000 (13:03 -0700)]
Hide app usage time in high usage dialog

Also update strings a little bit

Bug: 112285389
Test: Manual
Change-Id: I5c4f3e2de635eb0b880d2d3d5a1550e1af41d931

5 years agoMerge "Misc bug fixes around search bar in app list UI." into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 22:33:33 +0000 (22:33 +0000)]
Merge "Misc bug fixes around search bar in app list UI." into qt-dev

5 years agoMerge "Update panel logging to include all hide page cases" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 22:33:24 +0000 (22:33 +0000)]
Merge "Update panel logging to include all hide page cases" into qt-dev

5 years agoMake RadioInfo settings menu work for mSIM
Jordan Liu [Tue, 2 Apr 2019 19:13:31 +0000 (12:13 -0700)]
Make RadioInfo settings menu work for mSIM

Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

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.

Test: manual test (on single sim)
Fixes: 128033739
Change-Id: I9d6631da628351511e285afeb5b6d4331aaab7e5
Merged-In: I9d6631da628351511e285afeb5b6d4331aaab7e5

5 years agoMake RadioInfo settings menu work for mSIM
Jordan Liu [Tue, 2 Apr 2019 19:13:31 +0000 (12:13 -0700)]
Make RadioInfo settings menu work for mSIM

Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

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.

Test: manual test (on single sim)
Fixes: 128033739
Change-Id: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
Merged-In: I9d6631da628351511e285afeb5b6d4331aaab7e5

5 years agoMerge "Fix null App name in Wi-Fi scanning prompt dialog" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 21:27:37 +0000 (21:27 +0000)]
Merge "Fix null App name in Wi-Fi scanning prompt dialog" into qt-dev

5 years agoMisc bug fixes around search bar in app list UI.
Fan Zhang [Fri, 12 Apr 2019 20:27:20 +0000 (13:27 -0700)]
Misc bug fixes around search bar in app list UI.

- Turn off DEBUG log flag, it's spammy and is a potential PII risk.
- Save search bar expand state so it stays open during screen rotation.
- Introduce a intent extra so callers can deep link into this UI with
  search bar pre-expanded.

Fixes: 130422388
Test: robotest
Change-Id: Ib81080733707306de516c49340571c543e70874e

5 years agoUpdate panel logging to include all hide page cases
lindatseng [Fri, 12 Apr 2019 17:42:09 +0000 (10:42 -0700)]
Update panel logging to include all hide page cases

The old logging only include see_more, done, and clicked_out when hiding
the panel page.  We were missing many cases that user might use back
button, app switch button to close the page.

Update the hide page keys to change the clicked_out to others to
include all the other cases which hide the page.

Test: Manual verification
Test: atest PanelFragmentTest SettingsPanelActivityTest
Fixes: 130169553
Change-Id: Icede9a8dcb84565cba183963c9fb554507631c98

5 years agoMerge "Set the theme in BiometricEnrollIntroduction" into qt-dev
Maurice Lam [Fri, 12 Apr 2019 17:59:42 +0000 (17:59 +0000)]
Merge "Set the theme in BiometricEnrollIntroduction" into qt-dev

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 agoFix null App name in Wi-Fi scanning prompt dialog
cosmohsieh [Tue, 9 Apr 2019 06:02:07 +0000 (14:02 +0800)]
Fix null App name in Wi-Fi scanning prompt dialog

App name of the dialog msg is null because getCallingPackage() is null
when calling activity does not use startActvitiyForResult().

Bug: 112248584
Test: manual
Change-Id: If5ba9eb62f895c66ac1839b4be5c372ecba6699c

5 years ago[PasspointV2] Clear feature flag settings_wifi_details_saved_screen
cosmohsieh [Thu, 11 Apr 2019 03:21:10 +0000 (11:21 +0800)]
[PasspointV2] Clear feature flag settings_wifi_details_saved_screen

Clear feature flag settings_wifi_details_saved_screen

Bug: b/128369527
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Ib8fc9c9eb52bee12d6501a2041c32aa60c80e70e

5 years agoUpdate search bar background drawable for dark mode
Yanting Yang [Thu, 11 Apr 2019 15:30:31 +0000 (23:30 +0800)]
Update search bar background drawable for dark mode

Bug: 129996634
Test: visual

Change-Id: I1657b1b570bf79ad776ae80b2f2878e4f4d72481

5 years agoSet suw description textview to fixed id
pastychang [Fri, 12 Apr 2019 08:22:17 +0000 (16:22 +0800)]
Set suw description textview to fixed id

Heavy theme supports to costomize description text style. Modify it to fixed id
that can be customized by partner resource.

Heavy theme screenshot: https://screenshot.googleplex.com/TL4M7wmTaPg
Set fixed id screenshot: https://screenshot.googleplex.com/CA6QHoNTQBZ

Test: atest
Bug: 121988926
Change-Id: I8882acd49e7d57f24afa9dd6f3e9abfd06556053

5 years agoLog interacted package from ContextualNotificationChannelSlice
Yanting Yang [Thu, 28 Mar 2019 16:38:56 +0000 (00:38 +0800)]
Log interacted package from ContextualNotificationChannelSlice

Fixes:129726858
Test: visual, robotests
Change-Id: Ife4043fe0bcb52445e8e2efec20781ce43c54fef

5 years agoHide notification channel slice that is interacted
Yanting Yang [Mon, 8 Apr 2019 12:30:02 +0000 (20:30 +0800)]
Hide notification channel slice that is interacted

- Ignore interacted package in ContextualNotificationChannelSlice.
- Regularly clear package record with background worker.

Bug:129726858
Test: visual, robotests

Change-Id: I94661a53bcbbe4a15479224c33cfb2eff345aa67

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 agoSet the theme in BiometricEnrollIntroduction
Maurice Lam [Thu, 11 Apr 2019 03:26:30 +0000 (20:26 -0700)]
Set the theme in BiometricEnrollIntroduction

So the theme used will be consistent throughout the flow.

Test: Manual
Bug: 130277993
Change-Id: I496767dca858f7b69cfa061c026733567b5e7361

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