OSDN Git Service

android-x86/packages-apps-Settings.git
5 years ago[automerger skipped] Merge "Revert "Revert "Schematize vold system properties"""...
Inseob Kim [Tue, 11 Dec 2018 11:45:30 +0000 (03:45 -0800)]
[automerger skipped] Merge "Revert "Revert "Schematize vold system properties""" am: cc24a22da9  -s ours am: 95a1128814  -s ours
am: fe9f5c42f6  -s ours

Change-Id: I5f75b15ab792329cdb9bf2dd2e4b42bccb6eb0f3

5 years ago[automerger skipped] Merge "Revert "Revert "Schematize vold system properties"""...
Inseob Kim [Tue, 11 Dec 2018 11:34:42 +0000 (03:34 -0800)]
[automerger skipped] Merge "Revert "Revert "Schematize vold system properties""" am: cc24a22da9  -s ours
am: 95a1128814  -s ours

Change-Id: Id55802e6e5395a0f748f5b125d551b64c22473f1

5 years ago[automerger skipped] Merge "Revert "Revert "Schematize vold system properties"""
Inseob Kim [Tue, 11 Dec 2018 11:26:07 +0000 (03:26 -0800)]
[automerger skipped] Merge "Revert "Revert "Schematize vold system properties"""
am: cc24a22da9  -s ours

Change-Id: I19f28ff740c8cf3bb0ec1d68cef80563998154f2

5 years agoMerge "Revert "Revert "Schematize vold system properties"""
Treehugger Robot [Tue, 11 Dec 2018 11:04:01 +0000 (11:04 +0000)]
Merge "Revert "Revert "Schematize vold system properties"""

5 years agoMerge "Rename wifi/NetworkRequestTimeoutDialogFragment to wifi/NetworkRequestErrorDia...
Cosmo Hsieh [Tue, 11 Dec 2018 08:21:14 +0000 (08:21 +0000)]
Merge "Rename wifi/NetworkRequestTimeoutDialogFragment to wifi/NetworkRequestErrorDialogFragment for extending usage."

5 years agoMerge "Add a helper class for listening to subscription and airplane mode changes"
TreeHugger Robot [Tue, 11 Dec 2018 07:11:57 +0000 (07:11 +0000)]
Merge "Add a helper class for listening to subscription and airplane mode changes"

5 years agoMerge "Implement host flow of WiFi sharing feature"
Johnson Lu [Tue, 11 Dec 2018 05:51:32 +0000 (05:51 +0000)]
Merge "Implement host flow of WiFi sharing feature"

5 years agoMerge "Fix content timeout item misorder in Display category in A11y Settings"
Leon Liao [Tue, 11 Dec 2018 03:00:44 +0000 (03:00 +0000)]
Merge "Fix content timeout item misorder in Display category in A11y Settings"

5 years agoMerge "Fix carrier-specific Wi-Fi settings appears in search - even on non-carrier...
Stanley Wang [Tue, 11 Dec 2018 02:22:07 +0000 (02:22 +0000)]
Merge "Fix carrier-specific Wi-Fi settings appears in search - even on non-carrier phone"

5 years agoImplement host flow of WiFi sharing feature
Johnson Lu [Wed, 5 Dec 2018 05:45:13 +0000 (13:45 +0800)]
Implement host flow of WiFi sharing feature

Add share button and authentication screen to confirm credentials
(pin, pattern or password) for the current user of the device.

Bug: 120517242
Test: make RunSettingsRoboTests
Change-Id: Id79833db0d582c401f1371ff60429e42ce1990e0

5 years agoMerge "Add Cross profile calendar Settings UI."
Yueming Wang [Tue, 11 Dec 2018 00:40:10 +0000 (00:40 +0000)]
Merge "Add Cross profile calendar Settings UI."

5 years agoMerge "RuntimePermissionPresenter was moved"
Philip P. Moltmann [Mon, 10 Dec 2018 20:51:31 +0000 (20:51 +0000)]
Merge "RuntimePermissionPresenter was moved"

5 years agoAdd Cross profile calendar Settings UI.
yuemingw [Wed, 24 Oct 2018 12:02:05 +0000 (13:02 +0100)]
Add Cross profile calendar Settings UI.

Bug: 117976974
Test: make ROBOTEST_FILTER=CrossProfileCalendarPreferenceControllerTest -j40 RunSettingsRoboTests
Change-Id: Ieb4dcfb8091e2c63f4372af220695297c7bb116d

5 years agoMerge "IMM#showInputMethodPickerFromSystem for supporting multi-display."
TreeHugger Robot [Mon, 10 Dec 2018 18:56:40 +0000 (18:56 +0000)]
Merge "IMM#showInputMethodPickerFromSystem for supporting multi-display."

5 years agoMerge "Revert "migrate new setupcompat and setupdesign to SetupChooseLockGeneric""
TreeHugger Robot [Mon, 10 Dec 2018 18:20:09 +0000 (18:20 +0000)]
Merge "Revert "migrate new setupcompat and setupdesign to SetupChooseLockGeneric""

5 years agoMerge "Add a loading text when waiting for wifitracker results"
Fan Zhang [Mon, 10 Dec 2018 18:11:14 +0000 (18:11 +0000)]
Merge "Add a loading text when waiting for wifitracker results"

5 years agoRevert "Revert "Schematize vold system properties""
Inseob Kim [Mon, 10 Dec 2018 07:05:20 +0000 (07:05 +0000)]
Revert "Revert "Schematize vold system properties""

This reverts commit 49e81e0eeac13b1edcd4c8f51c48dafae6336d11.

Reason for revert: Fixed breakage

Change-Id: I414b753a218d9baf3d24530ff14df7644eb148e0
Merged-In: Id2a696c621015d46015d5de0e7aef987e9e01b54

5 years agoRename ConnectedDeviceSlice to BluetoothDevicesSlice
Yanting Yang [Fri, 7 Dec 2018 12:47:49 +0000 (20:47 +0800)]
Rename ConnectedDeviceSlice to BluetoothDevicesSlice

Bug: 120029006
Test: robotests
Change-Id: I7e39f52a87ebd017bf0635cd5a76945b39eee6fc

5 years ago[automerger skipped] Merge "Revert "Schematize vold system properties"" am: 94ef16b6e...
Anthony Stange [Mon, 10 Dec 2018 10:15:01 +0000 (02:15 -0800)]
[automerger skipped] Merge "Revert "Schematize vold system properties"" am: 94ef16b6e3 am: a35a0418c1
am: c7a5a2f39a  -s ours

Change-Id: Ia94db75475da21cbcb87b2db615714473192275d

5 years agoRevert "migrate new setupcompat and setupdesign to SetupChooseLockGeneric"
Cn Chen [Mon, 10 Dec 2018 07:05:24 +0000 (07:05 +0000)]
Revert "migrate new setupcompat and setupdesign to SetupChooseLockGeneric"

This reverts commit 0725bea86e6f7d9de80fad4e3d9c3f6fff338e81.

Reason for revert: Settings crash
Bug: 120754151
Change-Id: I52f258f7f12d21b8dd16220ba11e50768d0802ee

5 years agoFix carrier-specific Wi-Fi settings appears in search - even on non-carrier phone
Stanley Wang [Mon, 3 Dec 2018 10:51:03 +0000 (18:51 +0800)]
Fix carrier-specific Wi-Fi settings appears in search - even on non-carrier phone

The preference should be removed from the search result when
the availability status is false.

Change-Id: I979bc70ec7672b137b96a7e02db2e9ba29fbb7a8
Fixes: 112550245
Test: manual and robotests

5 years agoMerge "Always save message permission choice"
TreeHugger Robot [Mon, 10 Dec 2018 02:25:36 +0000 (02:25 +0000)]
Merge "Always save message permission choice"

5 years agoMerge "migrate new setupcompat and setupdesign to SetupChooseLockGeneric"
Cn Chen [Mon, 10 Dec 2018 01:45:28 +0000 (01:45 +0000)]
Merge "migrate new setupcompat and setupdesign to SetupChooseLockGeneric"

5 years agoMerge "Update ANGLE Developer Options"
Tim Van Patten [Sat, 8 Dec 2018 22:57:34 +0000 (22:57 +0000)]
Merge "Update ANGLE Developer Options"

5 years agoMerge "Add pair new device to ConnectedDeviceSlice"
Yanting Yang [Sat, 8 Dec 2018 15:45:35 +0000 (15:45 +0000)]
Merge "Add pair new device to ConnectedDeviceSlice"

5 years agoAdd pair new device to ConnectedDeviceSlice
Yanting Yang [Tue, 4 Dec 2018 11:20:32 +0000 (19:20 +0800)]
Add pair new device to ConnectedDeviceSlice

Show "Pair new device" when the number of devices is less than 3.

Bug: 114807655
Test: visual, robotest
Change-Id: Ia8dbff163d758bb077d4960616d1c6538c04aebb

5 years agoMerge "Update scanning settings to show states in summary"
TreeHugger Robot [Sat, 8 Dec 2018 09:32:19 +0000 (09:32 +0000)]
Merge "Update scanning settings to show states in summary"

5 years agoMerge "Add a helper class for filtering available subscriptions"
TreeHugger Robot [Sat, 8 Dec 2018 01:13:24 +0000 (01:13 +0000)]
Merge "Add a helper class for filtering available subscriptions"

5 years agoMerge "Modified the shadow of the search bar"
TreeHugger Robot [Sat, 8 Dec 2018 00:51:18 +0000 (00:51 +0000)]
Merge "Modified the shadow of the search bar"

5 years agoUpdate scanning settings to show states in summary
Lifu Tang [Thu, 6 Dec 2018 00:06:20 +0000 (16:06 -0800)]
Update scanning settings to show states in summary

Bug: 120220144
Test: build, flash, and test manually
Change-Id: I913d93c2f41e5ffea1d0b9c00d519eba327a0832

5 years agoAdd a helper class for listening to subscription and airplane mode changes
Antony Sargent [Fri, 7 Dec 2018 23:40:00 +0000 (15:40 -0800)]
Add a helper class for listening to subscription and airplane mode changes

For the new multi subscriptions UX, in several places we need to listen
for both subscription changes (eg a sim card was inserted or removed),
as well as airplane mode changing state. This combines those in one
helper class that can be reused.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: Ibcbb669ae291a917f89735dbda043742efaa58c9

5 years agoAdd a helper class for filtering available subscriptions
Antony Sargent [Fri, 7 Dec 2018 19:17:26 +0000 (11:17 -0800)]
Add a helper class for filtering available subscriptions

In several places implementing the new changes for better UX with
multiple mobile subscriptions, we need a bit of code that filters the
results coming from the SubscriptionManager. This CL adds that common
code in a util class that will be used in later CLs.

Bug: 116349402
Test: RunSettingsRoboTests
Change-Id: Ie9376629604ac2c4a2f15123edc380c5999f2f83

5 years agoUpdate ANGLE Developer Options
Tim Van Patten [Sat, 10 Nov 2018 00:09:44 +0000 (17:09 -0700)]
Update ANGLE Developer Options

Update ANGLE developer options to allow selecting the OpenGL driver
(default, ANGLE, native) for each app as well as forcing ANGLE for all
apps.

The settings are also being moved from within the Android settings (here)
to the ANGLE APK, so they can be updated more quickly/easily.

Bug: 118384925
Test: Verify the default/ANGLE/native values are saved and applied and
used by the loader.

Change-Id: Ide449704dd703657bd316231987a07becf8699c9

5 years agoAdd a loading text when waiting for wifitracker results
Fan Zhang [Thu, 6 Dec 2018 20:45:43 +0000 (12:45 -0800)]
Add a loading text when waiting for wifitracker results

- When there is no result from background worker, a "scanning" text is
displayed instead of a totally empty card.

- Also cleaned up a few minor coding style issues

Change-Id: I73afdb1dd72e7accb387ad9aa493cfbe00bffe66
Fixes: 120051186
Test: robotests

5 years agoModified the shadow of the search bar
Sunny Shao [Fri, 7 Dec 2018 07:16:56 +0000 (15:16 +0800)]
Modified the shadow of the search bar

Modified the SearchBarStyle and added cardElevation and
enforceMaterialTheme attributes.

Bug: 118886724
Test: manual
Change-Id: If9f39ee5dcc85d837036391ae92aeedd6aea4ab6

5 years agoMerge "Don't plot usage data beyond current date."
TreeHugger Robot [Fri, 7 Dec 2018 19:24:43 +0000 (19:24 +0000)]
Merge "Don't plot usage data beyond current date."

5 years agoMerge "Update the strings of conditional card"
TreeHugger Robot [Fri, 7 Dec 2018 17:08:19 +0000 (17:08 +0000)]
Merge "Update the strings of conditional card"

5 years agoMerge "Reload data if slice binding returns null at rendering time."
TreeHugger Robot [Fri, 7 Dec 2018 17:02:11 +0000 (17:02 +0000)]
Merge "Reload data if slice binding returns null at rendering time."

5 years agoMerge "Revert "Schematize vold system properties"" am: 94ef16b6e3
Anthony Stange [Fri, 7 Dec 2018 12:38:25 +0000 (04:38 -0800)]
Merge "Revert "Schematize vold system properties"" am: 94ef16b6e3
am: a35a0418c1

Change-Id: I7ca5d4d85897ac4d2d851c05b9f69c986f6a662a

5 years agoMerge "Revert "Schematize vold system properties""
Anthony Stange [Fri, 7 Dec 2018 12:30:15 +0000 (04:30 -0800)]
Merge "Revert "Schematize vold system properties""
am: 94ef16b6e3

Change-Id: If9a59cfa4939e3ef2cdc7c50e0151c33c58b24aa

5 years agoMerge "Revert "Schematize vold system properties""
Anthony Stange [Fri, 7 Dec 2018 12:04:56 +0000 (12:04 +0000)]
Merge "Revert "Schematize vold system properties""

5 years agoRevert "Schematize vold system properties"
Anthony Stange [Fri, 7 Dec 2018 11:44:10 +0000 (11:44 +0000)]
Revert "Schematize vold system properties"

This reverts commit e6baedd917e041576c04687cf20d8d56dd2980fc.

Reason for revert: Breaking aosp_master build

Change-Id: I7b171441196326391972cb0b0c45bf11a04f6f1b

5 years agoUpdate the strings of conditional card
Mill Chen [Fri, 7 Dec 2018 08:18:32 +0000 (16:18 +0800)]
Update the strings of conditional card

Bug: 113451905
Test: visual
Change-Id: Ie863855eff5a6a23f28b899809e5216c129fb448

5 years agoMerge "Log contextual card is visible and homepage is displayed event"
TreeHugger Robot [Fri, 7 Dec 2018 04:11:45 +0000 (04:11 +0000)]
Merge "Log contextual card is visible and homepage is displayed event"

5 years agoFix content timeout item misorder in Display category in A11y Settings
Leon Liao [Fri, 7 Dec 2018 03:08:43 +0000 (11:08 +0800)]
Fix content timeout item misorder in Display category in A11y Settings

A11y Content timeout item is disordered by program while device supports HWC
accelerated color transform. Add code to fix its order with present resource order.

Bug: 119283926
Test: atest AccessibilitySettingsTest
Test: make RunSettingsRoboTests
Change-Id: I5e8bff2347353d2c4fe9aa550d7efaa613bf2a90

5 years ago[automerger skipped] Merge "Schematize vold system properties" am: 8cf17f7234 am...
Inseob Kim [Fri, 7 Dec 2018 03:04:50 +0000 (19:04 -0800)]
[automerger skipped] Merge "Schematize vold system properties" am: 8cf17f7234 am: 09a7954114
am: cd614a097e  -s ours

Change-Id: I2ba852d7747964f530d9616c0eabcd25f211ae0b

5 years agoMerge "Schematize vold system properties" am: 8cf17f7234
Inseob Kim [Fri, 7 Dec 2018 02:43:16 +0000 (18:43 -0800)]
Merge "Schematize vold system properties" am: 8cf17f7234
am: 09a7954114

Change-Id: I1a42e00ad024b471bcc51d8e0ef0f50fea34fcbe

5 years agoMerge "Schematize vold system properties"
Inseob Kim [Fri, 7 Dec 2018 02:14:00 +0000 (18:14 -0800)]
Merge "Schematize vold system properties"
am: 8cf17f7234

Change-Id: I6d9782dfc2cd54f6620c226d37ca3e81dc19647f

5 years agoMerge "Show reboot dialog when tunring off developer option"
TreeHugger Robot [Fri, 7 Dec 2018 02:05:41 +0000 (02:05 +0000)]
Merge "Show reboot dialog when tunring off developer option"

5 years agoReload data if slice binding returns null at rendering time.
Yi-Ling Chuang [Thu, 6 Dec 2018 14:13:35 +0000 (22:13 +0800)]
Reload data if slice binding returns null at rendering time.

We are not able to guarantee the binding results in the pre-check and
real binding would always be the same sinc slice may decide what it
would be based on some conditions. Hence, we should reload data and
refresh UI when it comes to null to prevent from blank suggestion.

Bug: 120221527
Test: visual
Change-Id: I79790edfe7fc3af7b9c3b3a7df6a7ffa7d405d50

5 years agoMerge "Schematize vold system properties"
Treehugger Robot [Fri, 7 Dec 2018 01:46:45 +0000 (01:46 +0000)]
Merge "Schematize vold system properties"

5 years agoRename wifi/NetworkRequestTimeoutDialogFragment to wifi/NetworkRequestErrorDialogFrag...
cosmohsieh [Wed, 28 Nov 2018 07:00:43 +0000 (15:00 +0800)]
Rename wifi/NetworkRequestTimeoutDialogFragment to wifi/NetworkRequestErrorDialogFragment for extending usage.

ErrorDialogFragment contains two kinds of error dialog (timeout and onAbort).

Bug: 117399926
Test: RunSettingsRoboTests
Change-Id: Iea82a53baba298de66ae988c75d9fb6daca60160

5 years agoDon't plot usage data beyond current date.
Doris Ling [Fri, 7 Dec 2018 01:12:05 +0000 (17:12 -0800)]
Don't plot usage data beyond current date.

- the new data usage api returns buckets for future date with 0 usage.
When we plot the data usage chart, need to check the bucket date to make
sure we only plot points up to the current date.

Change-Id: I50e161ca9cdbb30c8fda8f6cdd24c993b546ad0d
Fixes: 120490567
Test: make RunSettingsRoboTests

5 years agoLog contextual card is visible and homepage is displayed event
Raff Tsai [Wed, 5 Dec 2018 11:13:46 +0000 (19:13 +0800)]
Log contextual card is visible and homepage is displayed event

Bug: 79698338
Test: Robolectric
Change-Id: I89ac5ed2765729d8571e84d3a050f0aa07385caa

5 years ago[automerger skipped] Merge "address API council feedbacks for Telephony.Carriers...
Chen Xu [Fri, 7 Dec 2018 00:57:04 +0000 (16:57 -0800)]
[automerger skipped] Merge "address API council feedbacks for Telephony.Carriers" am: 71f9fe4dfa am: 1bf36a6a72
am: 62dc239377  -s ours

Change-Id: I531e7043cb7a385893ede9b27f25f7eabc6bca8a

5 years agoMerge "address API council feedbacks for Telephony.Carriers" am: 71f9fe4dfa
Chen Xu [Fri, 7 Dec 2018 00:39:36 +0000 (16:39 -0800)]
Merge "address API council feedbacks for Telephony.Carriers" am: 71f9fe4dfa
am: 1bf36a6a72

Change-Id: I9775826417d2df6284bf0273b48c3a9814a01cf4

5 years agoMerge "address API council feedbacks for Telephony.Carriers"
Chen Xu [Fri, 7 Dec 2018 00:19:11 +0000 (16:19 -0800)]
Merge "address API council feedbacks for Telephony.Carriers"
am: 71f9fe4dfa

Change-Id: I834e4f1fe9457af586a0fe7856c4ab351a4b26a3

5 years agoMerge "Allow appending static preferences to RadioButtonPickerFragment"
TreeHugger Robot [Thu, 6 Dec 2018 23:57:39 +0000 (23:57 +0000)]
Merge "Allow appending static preferences to RadioButtonPickerFragment"

5 years agoMerge "Add search to app info list."
Doris Ling [Thu, 6 Dec 2018 22:39:27 +0000 (22:39 +0000)]
Merge "Add search to app info list."

5 years agoMerge "Catch error when we fail to get slice icon."
TreeHugger Robot [Thu, 6 Dec 2018 22:25:48 +0000 (22:25 +0000)]
Merge "Catch error when we fail to get slice icon."

5 years agoAllow appending static preferences to RadioButtonPickerFragment
Salvador Martinez [Tue, 4 Dec 2018 22:13:10 +0000 (14:13 -0800)]
Allow appending static preferences to RadioButtonPickerFragment

This makes it so that static preferences can also be added after
the candidates so they can show up on the bottom of the screen.
This is done via a new xml tag for the preference screen that
is usually mostly empty that RaiodButtonPickerFragments use

Test: robotests
Bug: 111450127
Change-Id: I0fe2f480f0ff59b9bf9269e94b33ab4b008b47b8

5 years agoMerge "address API council feedbacks for Telephony.Carriers"
Chen Xu [Thu, 6 Dec 2018 21:45:47 +0000 (21:45 +0000)]
Merge "address API council feedbacks for Telephony.Carriers"

5 years agoCatch error when we fail to get slice icon.
Fan Zhang [Thu, 6 Dec 2018 20:02:05 +0000 (12:02 -0800)]
Catch error when we fail to get slice icon.

Change-Id: Ia8bdf1ef8a090d2f939abf27b2308eafde7d8928
Fixes: 120588243
Test: robotests

5 years agoMerge "address API council feedbacks for Telephony.Carriers"
Chen Xu [Thu, 6 Dec 2018 20:11:18 +0000 (20:11 +0000)]
Merge "address API council feedbacks for Telephony.Carriers"

5 years agoMerge "Layout changes in v2 Network & internet page"
Antony Sargent [Thu, 6 Dec 2018 18:55:42 +0000 (18:55 +0000)]
Merge "Layout changes in v2 Network & internet page"

5 years agoMerge "Correct metrics category in ConnectedDeviceSlice"
Fan Zhang [Thu, 6 Dec 2018 17:59:30 +0000 (17:59 +0000)]
Merge "Correct metrics category in ConnectedDeviceSlice"

5 years agoMerge "Update a11y timeout UI"
TreeHugger Robot [Thu, 6 Dec 2018 17:17:17 +0000 (17:17 +0000)]
Merge "Update a11y timeout UI"

5 years agoMerge "Update DND strings"
Beverly Tai [Thu, 6 Dec 2018 14:09:02 +0000 (14:09 +0000)]
Merge "Update DND strings"

5 years agoUpdate a11y timeout UI
Leon Liao [Thu, 6 Dec 2018 08:39:09 +0000 (16:39 +0800)]
Update a11y timeout UI

Update UI with moving descriptive text to bottom(FooterPreference) and
adding video controller.

Test: atest AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests
Test: atest UniquePreferenceTest
Change-Id: Ib3d4a88aa633539691ea902f6d41ceb55b55caef

5 years agoMerge "Disable scrollbar of the button in conditional card"
TreeHugger Robot [Thu, 6 Dec 2018 11:44:24 +0000 (11:44 +0000)]
Merge "Disable scrollbar of the button in conditional card"

5 years agoAlways save message permission choice
Chienyuan [Thu, 6 Dec 2018 11:19:21 +0000 (19:19 +0800)]
Always save message permission choice

For current design, message sharing option only display when
mapPermisson != CachedBluetoothDevice.ACCESS_UNKNOWN. MAP permisson only
saved when user reject requset twice or accept request, if user just
reject once, permission will be ACCESS_UNKNOWN and message sharing
option will not display. This patch remove the check of
MessageRejectionCount and always save message permission choice.

Bug: 120291728
Test: reject message access request and check device details page
Change-Id: I071491d3c4134ed348e195f054b6557e397cdd6a

5 years agoMerge "Fix deep link issue of Slice cards in home page"
Yanting Yang [Thu, 6 Dec 2018 09:56:19 +0000 (09:56 +0000)]
Merge "Fix deep link issue of Slice cards in home page"

5 years agoMerge "Added FloatingAppBarScrollingViewBehavior"
TreeHugger Robot [Thu, 6 Dec 2018 09:47:49 +0000 (09:47 +0000)]
Merge "Added FloatingAppBarScrollingViewBehavior"

5 years agoShow reboot dialog when tunring off developer option
Chienyuan [Wed, 7 Nov 2018 08:55:24 +0000 (16:55 +0800)]
Show reboot dialog when tunring off developer option

The toggle button "Disable Bluetooth A2DP hardware offload" in developer
options need reboot to take effect when value changed. Otherwise, the
A2DP will not work until user reboot the device.

If we want this toggle button change back to default value when turning
off developer options, we need reboot device as well.

This patch will check the property value of A2DP hardware offload. If
turning off developer options will change the value, show a dialog to
force the user to reboot device.

Bug: 80449594
Test: make -j50 RunSettingsRoboTests

Change-Id: Ibace1ff72c1b41bd55444242a74e3f0b49187668

5 years agoMerge "Stop observing a slice view when a slice is dismissed."
TreeHugger Robot [Thu, 6 Dec 2018 06:36:23 +0000 (06:36 +0000)]
Merge "Stop observing a slice view when a slice is dismissed."

5 years agoAdded FloatingAppBarScrollingViewBehavior
Sunny Shao [Wed, 5 Dec 2018 08:10:00 +0000 (16:10 +0800)]
Added FloatingAppBarScrollingViewBehavior

-Added FloatingAppBarScrollingViewBehavior for search bar. It can be scolling,
 transparent and overlapped the scrolling child view.
-Exchanged the position of NestedScrollView and AppBarLayout in
 settings_homepage_container.xml.
-Set the app bar height.

Change-Id: I6ef4c9001a1f893292fcbc825a0a9f2069b7286b
Fixes: 118886724
Test: robotest

5 years agomigrate new setupcompat and setupdesign to SetupChooseLockGeneric
cnchen [Wed, 5 Dec 2018 09:57:16 +0000 (17:57 +0800)]
migrate new setupcompat and setupdesign to SetupChooseLockGeneric

Test: cd tests/robotests && mma
Bug: 117080118
Change-Id: I6a29ef5294040d353ee1a0f2bf9ce69de7de9094

5 years agoMerge "Only enable data for one SIM in DSDS."
Xiangyu/Malcolm Chen [Thu, 6 Dec 2018 01:25:07 +0000 (01:25 +0000)]
Merge "Only enable data for one SIM in DSDS."

5 years agoOnly enable data for one SIM in DSDS.
Malcolm Chen [Wed, 5 Dec 2018 20:48:00 +0000 (12:48 -0800)]
Only enable data for one SIM in DSDS.

Only enable mobile data for one SIM for simplicity. Which means When
turning on mobile data on non-default sub, pop a notification to user
that it will turn off data of the other one.

Bug: 120515679
Test: manual and unittest
Change-Id: I7c190bb70d771b7f280c246038a380e4fc7338a3

5 years agoMerge "Make a few custom slices implement CustomSliceable."
TreeHugger Robot [Thu, 6 Dec 2018 01:14:24 +0000 (01:14 +0000)]
Merge "Make a few custom slices implement CustomSliceable."

5 years agoMake a few custom slices implement CustomSliceable.
Fan Zhang [Wed, 5 Dec 2018 22:42:53 +0000 (14:42 -0800)]
Make a few custom slices implement CustomSliceable.

Bug: 80263568
Test: robotests, slice-browser
Change-Id: Id809a347d77448917154c2d1144fd2517e70829a

5 years agoAdd search to app info list.
Doris Ling [Tue, 4 Dec 2018 23:40:34 +0000 (15:40 -0800)]
Add search to app info list.

- add a search option menu to the manage applications page.
- add a search filter to the app list adapter to remove any app whose
app name does not contain the search query.

Change-Id: Ie749daeef2cdc4a22fade45422ae90f44d00ceb2
Fixes: 119598311
Test: make RunSettingsRoboTests

5 years agoMerge "Fix manual certificate installation"
TreeHugger Robot [Wed, 5 Dec 2018 22:43:24 +0000 (22:43 +0000)]
Merge "Fix manual certificate installation"

5 years agoLayout changes in v2 Network & internet page
Antony Sargent [Wed, 5 Dec 2018 17:30:30 +0000 (09:30 -0800)]
Layout changes in v2 Network & internet page

This adds the skeleton of a header section which will only appear when
the device has two or more active mobile subscriptions. Subsequent CL's
will add the actual logic implementing it.

Also this moves up the airplane mode toggle higher up on the page, and
removes the proxy selector entry (which has been unconditionally
disabled by the ProxyPreferenceController for a while).

Bug: 116349402
Test: manual (this is mostly a layout change - subsequent changes will
have actual logic to test for the subscriptions header)

Change-Id: Iaee338d5c13e05d3c2d9d04872a94cf90e5da588

5 years agoUpdate DND strings
Beverly [Wed, 5 Dec 2018 17:33:02 +0000 (12:33 -0500)]
Update DND strings

Fixes: 120497233
Bug: 111475013
Test: manually flash and check strings
Test: make RunSettingsRoboTests -j40
Change-Id: I0a8971226a485f8ec41d83c167e51dac1a9c8107

5 years agoMerge "Reset dismissal UI to the baseline when exiting the page."
TreeHugger Robot [Wed, 5 Dec 2018 18:32:51 +0000 (18:32 +0000)]
Merge "Reset dismissal UI to the baseline when exiting the page."

5 years agoMerge "Move color management check to ColorDisplayManager"
Christine Franks [Wed, 5 Dec 2018 16:29:51 +0000 (16:29 +0000)]
Merge "Move color management check to ColorDisplayManager"

5 years agoDisable scrollbar of the button in conditional card
Mill Chen [Wed, 5 Dec 2018 13:07:06 +0000 (21:07 +0800)]
Disable scrollbar of the button in conditional card

The scrollbar of the button will be enabled if changing font size
to large or above. It is fixed by disabling scrollbar of the button.

Change-Id: Ia66afac962c7b0d431007382dc6a2c7456fc915d
Fixes: 120085679
Test: visual, rebuild

5 years agoFix deep link issue of Slice cards in home page
Yanting Yang [Wed, 5 Dec 2018 13:10:47 +0000 (21:10 +0800)]
Fix deep link issue of Slice cards in home page

Add setData(uri) back to intent to fix deep link launching error.

Change-Id: Ibffce43ddeb9a1388d001515d8d3b320c5b45520
Fixes: 120473478
Test: robotests, visual

5 years agoCorrect metrics category in ConnectedDeviceSlice
Yanting Yang [Tue, 4 Dec 2018 14:57:07 +0000 (22:57 +0800)]
Correct metrics category in ConnectedDeviceSlice

The used category METRICS_CATEGORY_UNKNOWN in Bluetooth detail intent is
not matched. Correct the category to BLUETOOTH_DEVICE_DETAILS.

Bug: 114807655
Test: robotest
Change-Id: I941db81164ac2b3a09b6d3c0d97f14c5e65fb6ed

5 years agoFix manual certificate installation
Eran Messeri [Tue, 4 Dec 2018 12:31:05 +0000 (12:31 +0000)]
Fix manual certificate installation

Fix a bug where, when the user manually imports a certificate + key into
KeyChain, the imported certificate would sometimes not be marked as
user-selectable and so the user would not see it when
KeyChaine.choosePrivateKeyAlias was called.

The cause was the async task for marking the key as user-selectable
sometimes executing after the activity for installing the certificate
has terminated, leading it to try and interact with an
already-terminated KeyChain service.

The fix is to call the activity's finish() method only after the key is
marked as user-selectable.

Test: Manual, using CtsVerifier KeyChain Storage test.
Bug: 116716944
Change-Id: I23832ff7b609d7c609e734af48e9a0642f1df527

5 years agoStop observing a slice view when a slice is dismissed.
Yi-Ling Chuang [Tue, 4 Dec 2018 09:44:04 +0000 (17:44 +0800)]
Stop observing a slice view when a slice is dismissed.

In order to receive updates of slices, we make sliceLiveData observes
slice views. When a slice is dismissed, it should stop observing
the view so the view can be recycled and reused.

Fixes: 120465506
Test: robotests
Change-Id: Ie4f12e9a3e6e0e7d59d3346ab17282707047bf16

5 years agoMerge "Modify proto"
TreeHugger Robot [Wed, 5 Dec 2018 05:37:14 +0000 (05:37 +0000)]
Merge "Modify proto"

5 years agoReset dismissal UI to the baseline when exiting the page.
Yi-Ling Chuang [Thu, 29 Nov 2018 10:27:56 +0000 (18:27 +0800)]
Reset dismissal UI to the baseline when exiting the page.

Flip the card back to slice view if users exit the page instead of
getting the dismissal UI preserved. We should also reset the UI to the baseline
if users dismiss a card, so when the view is reused, slice view can
then be displayed correctly.

Change-Id: If5448c57dec44ef5c1d3472358d4ddc9398538b8
Fixes: 119820168
Test: robotests

5 years agoMerge "Add action/ or intent/ to all custom slice uri path."
TreeHugger Robot [Wed, 5 Dec 2018 02:00:25 +0000 (02:00 +0000)]
Merge "Add action/ or intent/ to all custom slice uri path."

5 years agoMerge "Add summary with accessibility timeout item"
Leon Liao [Wed, 5 Dec 2018 00:30:38 +0000 (00:30 +0000)]
Merge "Add summary with accessibility timeout item"

5 years agoModify proto
Raff Tsai [Wed, 5 Dec 2018 00:12:35 +0000 (08:12 +0800)]
Modify proto

Add a field about contextual card score

Change-Id: I52b660801e317112673ada2f449709239a8b3c12
Bug: 79698338
Test: Robolectric

5 years agoAdd action/ or intent/ to all custom slice uri path.
Fan Zhang [Wed, 5 Dec 2018 00:07:40 +0000 (16:07 -0800)]
Add action/ or intent/ to all custom slice uri path.

Test: rebuild, robotests
Change-Id: Ibb4a071cffb458a9f871aa11ff2737cd40328574

5 years agoMerge "Schematize vold system properties"
TreeHugger Robot [Wed, 5 Dec 2018 00:00:42 +0000 (00:00 +0000)]
Merge "Schematize vold system properties"

5 years agoMerge "Set slice uri as data in PendingIntent."
TreeHugger Robot [Tue, 4 Dec 2018 23:24:28 +0000 (23:24 +0000)]
Merge "Set slice uri as data in PendingIntent."