OSDN Git Service

android-x86/packages-apps-Settings.git
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 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 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 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 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 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 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 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 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

5 years agoInflate dismissal background instead of drawing while swiping
Yi-Ling Chuang [Fri, 29 Mar 2019 14:44:27 +0000 (22:44 +0800)]
Inflate dismissal background instead of drawing while swiping

- Only swipe the foreground out to have the background revealed.
- Inflate dismissal_swipe_background.xml while swiping.
- Fix the fly-in transition.
- Fix the overlapping problem.

Bug: 129742618
Test: robotests
Change-Id: I5311e50332d0ea0437d1693d075d5c3a2176a443

5 years agoOnly enable feedback dialog in debuggable build.
Yi-Ling Chuang [Tue, 9 Apr 2019 09:23:06 +0000 (17:23 +0800)]
Only enable feedback dialog in debuggable build.

Bug: 129881534
Test: robotests
Change-Id: I0dbd8c06f650cc7b3c32697f0c3af055912fab59

5 years agoMerge "Should not decode Wi-Fi QR code after onPause" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 08:30:33 +0000 (08:30 +0000)]
Merge "Should not decode Wi-Fi QR code after onPause" into qt-dev

5 years agoAdd icon for sign in
clownshen [Tue, 9 Apr 2019 06:22:13 +0000 (14:22 +0800)]
Add icon for sign in

Bug: 130188624
Test: manual test
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I58a6c411a31e5cb0fe05eba486ba38774c078070

5 years agoMerge "Redraw WiFi detail page's header icon" into qt-dev
Clown SHEN [Tue, 9 Apr 2019 06:45:49 +0000 (06:45 +0000)]
Merge "Redraw WiFi detail page's header icon" into qt-dev

5 years agoFix panel slices title not updated when locale changed
lindatseng [Mon, 8 Apr 2019 22:11:58 +0000 (15:11 -0700)]
Fix panel slices title not updated when locale changed

When calling getSliceData from SliceDataConverter, we were returning
the old version of List<SliceData> if there's one already existed.
So when the Locale get changed and we are re-indexing data, we
are still inserting the old List<SliceData> in database.  We should
reconstruct the List of SliceData instead of reusing the old
version here, since we only call SliceDataConverter#getSliceData
when we need to reindex.

Test: Manual verification
Fixes: 126732022
Change-Id: I42a3cf93dc313efefe50a34faabac9e1d616ef6c

5 years agoMerge changes from topic "role-replace" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 05:33:21 +0000 (05:33 +0000)]
Merge changes from topic "role-replace" into qt-dev

* changes:
  Remove old default apps code and use roles instead.
  Move default payment app to special app access.

5 years agoShould not decode Wi-Fi QR code after onPause
Arc Wang [Mon, 8 Apr 2019 11:22:44 +0000 (19:22 +0800)]
Should not decode Wi-Fi QR code after onPause

Bug: 130141694
Test: manual
      atest WifiDppQrCodeScannerFragmentTest

Change-Id: I412fb7c06220c23bddc7b3c448fcc72a00bdecc3

5 years agoRemove old default apps code and use roles instead.
Hai Zhang [Sat, 6 Apr 2019 07:45:42 +0000 (15:45 +0800)]
Remove old default apps code and use roles instead.

Default apps are moved into PermissionController.

Bug: 124452117
Bug: 124457823
Test: presubmit & manual
Change-Id: I5f68e5b77cd6163d093590185314270706d75391

5 years agoMove default payment app to special app access.
Hai Zhang [Sat, 6 Apr 2019 08:21:32 +0000 (16:21 +0800)]
Move default payment app to special app access.

Bug: 124452117
Bug: 124522992
Test: build
Change-Id: I58e7127920d939dc3635bcc2e608cee6baa21998

5 years agoMerge "Add null check in UserPreference" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 05:24:21 +0000 (05:24 +0000)]
Merge "Add null check in UserPreference" into qt-dev

5 years agoMerge "Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code genera...
TreeHugger Robot [Tue, 9 Apr 2019 04:18:09 +0000 (04:18 +0000)]
Merge "Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator" into qt-dev

5 years agoSupports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator
Arc Wang [Wed, 3 Apr 2019 10:45:22 +0000 (18:45 +0800)]
Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator

When scanned a no password ZXing QR code, add both open network &
enhanced open network to configured Wi-Fi network list because this kind
of QR code may refer to a open network or an enhanced open network.

Bug: 124131581
Test: manual
Change-Id: Id9f85ef8dcdf72347be8106938437aecd0eed9f5

5 years agoRedraw WiFi detail page's header icon
clownshen [Tue, 2 Apr 2019 11:28:56 +0000 (19:28 +0800)]
Redraw WiFi detail page's header icon

Tint 87% dark in day mode and 100% white for night mode

Bug: 129413562
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Test: manual test
Change-Id: Ia31231ca7871ac4efcea5e1232690ff4374df5b3
(cherry picked from commit 86f65ef488a5648399c1eb29d8e631c952d5dbf1)

5 years agoAdd strings used for setupwizard lockscreen skip dialog
pastychang [Tue, 2 Apr 2019 11:03:16 +0000 (19:03 +0800)]
Add strings used for setupwizard lockscreen skip dialog

Test: atest
Bug: 124028212
Change-Id: I9f65022f6bbc70606a40b5b20e9484731376d203

5 years agoMerge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into...
Arc Wang [Tue, 9 Apr 2019 01:39:35 +0000 (01:39 +0000)]
Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev

5 years agoMerge "Fix fingerprint screens from "Anything else" screen not applying Stencil theme...
Cn Chen [Tue, 9 Apr 2019 01:27:01 +0000 (01:27 +0000)]
Merge "Fix fingerprint screens from "Anything else" screen not applying Stencil theme" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Mon, 8 Apr 2019 23:37:53 +0000 (23:37 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMove bitmap recycle to onDestroy()
Lei Yu [Mon, 8 Apr 2019 23:16:20 +0000 (16:16 -0700)]
Move bitmap recycle to onDestroy()

If we recycle it in OnStop() and this page isn't destoried,
it will crash when we revisit it.

Fixes: 130185099
Test: RunSettingsRoboTests
Change-Id: I4d3c1c12debcccb1ee7d676a1c5accece0b42e09

5 years agoUse active instead of available subscriptions in 2 places
Antony Sargent [Mon, 8 Apr 2019 20:42:14 +0000 (13:42 -0700)]
Use active instead of available subscriptions in 2 places

In a couple of places we were showing DSDS UI using the list of
*available* subscriptions instead of the list of *active* ones. This
difference is relevant for instance if you have multiple eSIM profiles -
in typical hardware only one of those can be active at one time. This CL
fixes that problem in two places:

1) The header at the top of the Network & internet page

2) The ListPreference's on the mobile network detail page for selecting
   the default subscription for Calls / SMS.

Fixes: 129673046
Test: make RunSettingsRoboTests
Change-Id: I891c856bdd4516286fcee1067684d9161ceaca80

5 years agoTreat mode_default as denied for install_unknown_apps
Suprabh Shukla [Mon, 8 Apr 2019 22:23:01 +0000 (15:23 -0700)]
Treat mode_default as denied for install_unknown_apps

Test: atest SettingsRoboTests
Bug: 123700348
Change-Id: Ieeb6456854cc3d0faa0e9c407accd94f56a25813

5 years agoMerge "Revert switchBar if enable / disable subscription fails." into qt-dev
Xiangyu/Malcolm Chen [Mon, 8 Apr 2019 21:38:25 +0000 (21:38 +0000)]
Merge "Revert switchBar if enable / disable subscription fails." into qt-dev

5 years agoMerge "Settings: [BT] Wrong Pairing Popup is shown on new pairing request." into...
Lei Yu [Mon, 8 Apr 2019 21:28:09 +0000 (21:28 +0000)]
Merge "Settings: [BT] Wrong Pairing Popup is shown on new pairing request." into qt-dev

5 years agoTreat mcx apn type as not wild-cardable.
Amit Mahajan [Mon, 8 Apr 2019 21:22:40 +0000 (14:22 -0700)]
Treat mcx apn type as not wild-cardable.

Test: manual
Bug: 130167974
Change-Id: Ic3e643646491e5a187505fd54ca767ad91e285f5

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 8 Apr 2019 20:57:43 +0000 (13:57 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If0ee949c0948860c8a6834fc3b63fa0d9175cfb0

5 years agoDo not retrive app detail if the fragment is exiting.
Fan Zhang [Mon, 8 Apr 2019 19:29:27 +0000 (12:29 -0700)]
Do not retrive app detail if the fragment is exiting.

The exit flag can be set by a variety of things, such as when package is
removed, or package is invalid (hidden mainline module). Loading such
packages changes the internal state of ApplicationsState class (an app
singleton), which leads to inconsistencies later.

Fixes: 130166465
Test: robotest
Change-Id: Ib09240cb694fa16692914a7aa9ce354869615c2d

5 years agoAdd null check in UserPreference
Fan Zhang [Mon, 8 Apr 2019 20:55:58 +0000 (13:55 -0700)]
Add null check in UserPreference

The comparator can get null objects according to bug report.

Fixes: 130144755
Test: manual
Change-Id: Ic8a332d390f411d2eb69c944fb7fd166d9961535

5 years agoMerge "Delete carrier entry from mobile network details page." into qt-dev
TreeHugger Robot [Mon, 8 Apr 2019 20:00:29 +0000 (20:00 +0000)]
Merge "Delete carrier entry from mobile network details page." into qt-dev

5 years agoMove NAS selection to 'special app access'
Julia Reynolds [Mon, 8 Apr 2019 19:46:57 +0000 (15:46 -0400)]
Move NAS selection to 'special app access'

Test: manual
Fixes: 130169253
Change-Id: I0e69b11c557bc153cee0073bb2e982e3ee36e721

5 years agoRevert switchBar if enable / disable subscription fails.
Malcolm Chen [Fri, 5 Apr 2019 05:24:25 +0000 (22:24 -0700)]
Revert switchBar if enable / disable subscription fails.

Bug: 123321718
Test: build manual test
Change-Id: Ia7e8c762d91f81b67e0d0b11d36dfa78ec1e2d18

5 years agoSettings: [BT] Wrong Pairing Popup is shown on new pairing request.
Sumit Deshmukh [Thu, 28 Mar 2019 09:01:45 +0000 (14:31 +0530)]
Settings: [BT] Wrong Pairing Popup is shown on new pairing request.

Usecase:
1. Start advertising from DUT (using BLE Smartertooth app).
2. Scan and connect from central device.
3. Now initiate bond from central and accept pairing request.
   (Consent Pairing Dialog will be shown on DUT)
4. Notification will be received for PASSKEY CONFIRMATION Dialog.
   Do not open notification and let it timeout.
5. Repeat steps 2 and 3. At step 3, Passkey Confirmation pairing
   dialog is show instead of Consent pairing dialog.

Issue:
Wrong Pairing Popup is shown. Passkey Confirmation pairing
dialog is show instead of Consent pairing dialog.

Reproducible Rate: 100%

Root Cause:
PendingIntent created for showing pairing notification are getting
reused as only FLAG_ONE_SHOT is used. This flag is not updating new
extra's in the pending intent.

Fix:
Use flag FLAG_UPDATE_CURRENT in pending Intent.

Test: Tested above mentioned testcase and pairing scenarios.

Fix: 129479787
Bug: 129456113

Change-Id: I46813f355cd796cee1b472774b494c8580b39784

5 years agoMerge "Fix 'Advanced' collapse point on Network & internet page" into qt-dev
TreeHugger Robot [Mon, 8 Apr 2019 18:15:57 +0000 (18:15 +0000)]
Merge "Fix 'Advanced' collapse point on Network & internet page" into qt-dev

5 years agoDelete carrier entry from mobile network details page.
Andrew Sapperstein [Sat, 6 Apr 2019 00:21:46 +0000 (17:21 -0700)]
Delete carrier entry from mobile network details page.

Followup CL will need to delete the backing code after we remove the feature flag.

Bug: 127540176
Test: robotests and visual inspection
Change-Id: I17e917b9726cf7f5470af09332ede38f8c253eed

5 years agoMerge "Fix battery color tint issue." into qt-dev
TreeHugger Robot [Mon, 8 Apr 2019 15:03:58 +0000 (15:03 +0000)]
Merge "Fix battery color tint issue." into qt-dev

5 years agoMerge "Update Settings to use the proper DeviceConfig API." into qt-dev
Svetoslav Ganov [Mon, 8 Apr 2019 14:54:03 +0000 (14:54 +0000)]
Merge "Update Settings to use the proper DeviceConfig API." into qt-dev

5 years agoRemove the PreferenceGroup without title in WifiNetworkDetailsFragment
Arc Wang [Mon, 8 Apr 2019 11:56:45 +0000 (19:56 +0800)]
Remove the PreferenceGroup without title in WifiNetworkDetailsFragment

To remove the PreferenceGroup title space.

Bug: 129683066
Test: manual
Change-Id: I00bced8038a01c0ef7e8f4dfa0b82e36a275004e

5 years agoImprove launch time for app & notification screen
tmfang [Tue, 19 Mar 2019 05:44:01 +0000 (13:44 +0800)]
Improve launch time for app & notification screen

- We won't query recent apps in getAvailabilityStatus().
And then we do that in background thread.
So, we can launch app & notificatins screen as soon as possible.

- Create a RecentAppStatsMixin class which is responsible
for maintaining the recent apps data.

- Controllers and fragment update their UI after they got
onReloadDataCompleted callback from RecentAppStatsMixin.

Test: manual, robotest
Fixes: 128849426
Fixes: 126453868
Change-Id: I636d5878cb5d53496978fe613c625382d8d382bc

5 years agoUpdate Settings to use the proper DeviceConfig API.
Svet Ganov [Sat, 6 Apr 2019 02:00:05 +0000 (19:00 -0700)]
Update Settings to use the proper DeviceConfig API.

Exempt-From-Owner-Approval: carry over approval from ag/6908306

bug:124769181

Change-Id: If18d0dc5e55dabf82b7c7a2b6df240fb8b24f736

5 years agoFix fingerprint screens from "Anything else" screen not applying Stencil theme
cnchen [Wed, 3 Apr 2019 08:18:34 +0000 (16:18 +0800)]
Fix fingerprint screens from "Anything else" screen not applying Stencil theme

Bug: 129788677
Test: RunSettingsRoboTests, manual test intent extra data has been passed
Change-Id: Icfae54061e5d87a8ba9c95263d840c456aac5bcb

5 years agoMerge "Don't allow CBRS subscriptions to be set as default for Calls/SMS" into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 04:05:32 +0000 (04:05 +0000)]
Merge "Don't allow CBRS subscriptions to be set as default for Calls/SMS" into qt-dev

5 years agoMerge "Use CDS display white balance getter and setter" into qt-dev
Christine Franks [Sat, 6 Apr 2019 01:25:41 +0000 (01:25 +0000)]
Merge "Use CDS display white balance getter and setter" into qt-dev

5 years agoFix battery color tint issue.
Amin Shaikh [Fri, 5 Apr 2019 19:14:10 +0000 (15:14 -0400)]
Fix battery color tint issue.

Added test to verify fix.

Bug: 128354921
Test: m RunSettingsRoboTests
Change-Id: I24cbb966e549eec783912e4e118c00425b971ad0

5 years agoDon't allow CBRS subscriptions to be set as default for Calls/SMS
Antony Sargent [Fri, 5 Apr 2019 16:55:12 +0000 (09:55 -0700)]
Don't allow CBRS subscriptions to be set as default for Calls/SMS

CBRS subscriptions (also known as "opportunistic" in the code base) are
data-only and it should not be possible to try to set them as the
default for Calls or SMS.

Fixes: 125855327
Test: make RunSettingsRoboTests
Change-Id: Ie20ef21ccc7b27315089f6a61cceb6e1512ec373

5 years agoMerge "Clean up tts preference layout." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 23:36:07 +0000 (23:36 +0000)]
Merge "Clean up tts preference layout." into qt-dev

5 years agoMerge "Remove mainline module feature flag checks." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 23:33:16 +0000 (23:33 +0000)]
Merge "Remove mainline module feature flag checks." into qt-dev

5 years agoMerge "Remove divider above device switcher in panel" into qt-dev
Linda Tseng [Fri, 5 Apr 2019 23:09:14 +0000 (23:09 +0000)]
Merge "Remove divider above device switcher in panel" into qt-dev

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Fri, 5 Apr 2019 22:47:28 +0000 (15:47 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 83d678bdc4 -s ours
am skip reason: subject contains skip directive

Change-Id: I273e17ee6cf94e6a6b7a3f6ed2a9b22c5a7a9992

5 years agoMerge "Update taskAffinity" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 21:39:05 +0000 (21:39 +0000)]
Merge "Update taskAffinity" into qt-dev

5 years agoUse CDS display white balance getter and setter
Christine Franks [Fri, 29 Mar 2019 17:14:55 +0000 (10:14 -0700)]
Use CDS display white balance getter and setter

Bug: 123930917
Test: make ROBOTEST_FILTER="(DisplayWhite*)" RunSettingsRoboTests -j48
Change-Id: Iafc6ff9a61b69baf03efddd52687093c55d35178
(cherry picked from commit ebacc33852a34c73646a0df120efde73206ff3d1)

5 years agoRemove mainline module feature flag checks.
Fan Zhang [Fri, 5 Apr 2019 21:31:04 +0000 (14:31 -0700)]
Remove mainline module feature flag checks.

They are turned on for a while now.

Fixes: 123648279
Test: robotests
Change-Id: Ibec7a10d49387207697635190a237807f1807628

5 years agoRemove divider above device switcher in panel
lindatseng [Fri, 5 Apr 2019 01:43:20 +0000 (18:43 -0700)]
Remove divider above device switcher in panel

Remove the divider above the media device switcher Slice per the request.

Do a little refactor in Panel View, to use DividerItemDecoration instead of adding
divider views in layout file as the recycler view items divider.

Since dividers should be shown in most cases, we are setting DividerCondition to
DIVIDER_CONDITION_BOTH and default true to allow divider.  For the slice we don't
need divider (media device switch in this case) we are setting the the target
direction of isDividerAllowed (above in this case) to false.  Since we have
DIVIDER_CONDITION_BOTH, if one of the item view set the divider not allow, the
divider won't be shown.

Test: Visual/Manual inspection
Fixes: 126205139
Change-Id: Ic857705c90819ef9375f877a44bb32987b5d4438

5 years agoClean up tts preference layout.
Fan Zhang [Fri, 5 Apr 2019 20:44:37 +0000 (13:44 -0700)]
Clean up tts preference layout.

Deleted the custom tts layout and use preference_radio directly.

Fixes: 129994473
Test: visual
Change-Id: Ifc50e0cf9f805776e0529ffd5d672283f28a1d15

5 years agoMerge "Fix sending broadcast with a qualified user in Settings" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 20:05:40 +0000 (20:05 +0000)]
Merge "Fix sending broadcast with a qualified user in Settings" into qt-dev

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

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I27c0efa466b676aafccb399704805959704fe165

5 years agoFix sending broadcast with a qualified user in Settings
Mill Chen [Fri, 5 Apr 2019 01:42:28 +0000 (18:42 -0700)]
Fix sending broadcast with a qualified user in Settings

Fixes: 118387886
Test: rebotests
Change-Id: I9e0bdd708b7c95f785f2b11d6d7e3f7818234ada

5 years agoMerge changes Ib80d68d6,I0d57d5b2 into qt-dev
Lei Yu [Fri, 5 Apr 2019 17:11:34 +0000 (17:11 +0000)]
Merge changes Ib80d68d6,I0d57d5b2 into qt-dev

* changes:
  Init PowerWhitelistbackend to stop crash
  Create gitignore for Settings

5 years agoMerge "Add Settings icons needed for theme overlaying." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 16:38:08 +0000 (16:38 +0000)]
Merge "Add Settings icons needed for theme overlaying." into qt-dev

5 years agoMerge "Add bubble confirmation prompt" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 15:26:24 +0000 (15:26 +0000)]
Merge "Add bubble confirmation prompt" into qt-dev

5 years agoAdd bubble confirmation prompt
Julia Reynolds [Mon, 1 Apr 2019 15:51:21 +0000 (11:51 -0400)]
Add bubble confirmation prompt

@ the app level if the global level is off

Test: robotests
Bug: 129068779
Change-Id: I94acb334dc9879cd372a2a0dfa8e9508fbf1c316

5 years agoAdd Settings icons needed for theme overlaying.
Amin Shaikh [Thu, 4 Apr 2019 11:48:16 +0000 (07:48 -0400)]
Add Settings icons needed for theme overlaying.

- Refactor battery icons to remove private attributes to allow them to
be overlayed
- Add drawable icon in settings for back arrow
- Update a few GM2 icons

Bug: 128354921
Test: make; open Settings
Change-Id: I84151a4e7d787381b6c51f02bb45ce5f15fa37a2

5 years agoMerge "Update wifi p2p to direct user to enable location" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 07:59:44 +0000 (07:59 +0000)]
Merge "Update wifi p2p to direct user to enable location" into qt-dev

5 years agoMerge "Cache attention toggle in settings" into qt-dev
Kevin Chyn [Fri, 5 Apr 2019 06:33:37 +0000 (06:33 +0000)]
Merge "Cache attention toggle in settings" into qt-dev

5 years agoMerge "Match add network button width to master switch and tint it." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 05:35:05 +0000 (05:35 +0000)]
Merge "Match add network button width to master switch and tint it." into qt-dev

5 years agoMerge "Add prompt to sign in at captive portal to Wi-Fi Slice" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 03:19:22 +0000 (03:19 +0000)]
Merge "Add prompt to sign in at captive portal to Wi-Fi Slice" into qt-dev

5 years agoMerge "Customized Wifi calling text" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 03:17:18 +0000 (03:17 +0000)]
Merge "Customized Wifi calling text" into qt-dev

5 years agoMerge "Update char limit for reset_esim_title." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 03:07:09 +0000 (03:07 +0000)]
Merge "Update char limit for reset_esim_title." into qt-dev

5 years agoMerge "DND should be displayed on search as slice." into qt-dev
Fan Zhang [Fri, 5 Apr 2019 02:53:12 +0000 (02:53 +0000)]
Merge "DND should be displayed on search as slice." into qt-dev

5 years agoDND should be displayed on search as slice.
Stanley Wang [Mon, 1 Apr 2019 11:20:54 +0000 (19:20 +0800)]
DND should be displayed on search as slice.

Add ZenModeSoundSettingsPreferenceController extends ZenModePreferenceController,
and update availability status to AVAILABLE.

This is cherry-picked from ag/6897872

Change-Id: I8dcb6808cc21c4f5c06548a363c998e369646487
Bug: 129320642
Test: manual & robotests

5 years agoMerge "Update adaptive sleep setting with the latest copy" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 01:16:23 +0000 (01:16 +0000)]
Merge "Update adaptive sleep setting with the latest copy" into qt-dev

5 years agoMerge changes from topic "face-profile-qt-dev" into qt-dev
Kevin Chyn [Fri, 5 Apr 2019 00:41:17 +0000 (00:41 +0000)]
Merge changes from topic "face-profile-qt-dev" into qt-dev

* changes:
  Settings should be per-profile
  Add face profile settings

5 years agoMerge "Add uri to custom slice PendingIntent." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 00:35:24 +0000 (00:35 +0000)]
Merge "Add uri to custom slice PendingIntent." into qt-dev

5 years agoMerge "Update strings" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 00:28:29 +0000 (00:28 +0000)]
Merge "Update strings" into qt-dev

5 years agoCache attention toggle in settings
Kevin Chyn [Fri, 5 Apr 2019 00:24:09 +0000 (17:24 -0700)]
Cache attention toggle in settings

Bug: 129912479

Test: Builds
Change-Id: I23017f37d53e162c1a1ec35570355508276f90fa

5 years agoMatch add network button width to master switch and tint it.
Andrew Sapperstein [Fri, 5 Apr 2019 00:22:10 +0000 (17:22 -0700)]
Match add network button width to master switch and tint it.

It's now tinted in colorAccent.

Created a new default 80dp minWidth for TwoTargetPreferences.

Fixes: 129007966
Test: visual inspection
Change-Id: Ie751fe685d25373c3aac001e6e0daee8e18b9314

5 years agoUpdate wifi p2p to direct user to enable location
Salvador Martinez [Tue, 2 Apr 2019 01:17:04 +0000 (18:17 -0700)]
Update wifi p2p to direct user to enable location

Location is required for Wifi Direct so if it is not enabled
we disable the preference. Additionally, this fixes some minor
update issues in Wifi Wakeup that was also affecting wifi p2p.
Basically they weren't updating when location settings changed
until you left the screen and came back. Now they do.

Test: robotests, manual
Bug: 120552223
Change-Id: Ibd386fcfbef881cae3d871152675f1cab5e4a041

5 years agoAdd uri to custom slice PendingIntent.
Fan Zhang [Thu, 4 Apr 2019 23:12:38 +0000 (16:12 -0700)]
Add uri to custom slice PendingIntent.

Discovered flashlight slice sometimes does not work, throwing exception
similar as it b/117445451. Adding a data uri fixes it.

Bug: 129981692
Test: manual
Change-Id: I16bc19027dd342f85aaabbf1a2853bb55564f64f

5 years agoUpdate taskAffinity
Mill Chen [Thu, 4 Apr 2019 22:39:27 +0000 (15:39 -0700)]
Update taskAffinity

To make sure Settings won't open unexpectedly.

Fixes: 129330530
Test: visual
Change-Id: Iaa0e0a6a03720b1a0be49d0e1f752d3a7164f4a2

5 years agoSettings should be per-profile
Kevin Chyn [Thu, 4 Apr 2019 02:47:31 +0000 (19:47 -0700)]
Settings should be per-profile

Also, don't show keyguard option for work profile

Fixes: 129905061

Test: Builds
Change-Id: I18f573f39ee4e54a3385cc65079bb794633cc560