OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoRemove suggestion UI v1 codes.
Doris Ling [Tue, 30 Jan 2018 20:49:35 +0000 (12:49 -0800)]
Remove suggestion UI v1 codes.

- remove the check for feature flag for suggestion UI v2 and switch to
use the v2 codes.
- remove all code related to v1 of suggestion UI

Fixes: 70573674
Test: make RunSettingsRoboTests

Change-Id: I99ab318c1c0192508a9c5e9e708e86319120d55b

6 years agoMerge "Notification settings updates"
Julia Reynolds [Wed, 31 Jan 2018 17:09:51 +0000 (17:09 +0000)]
Merge "Notification settings updates"

6 years agoMerge "Fix homepage icon margin"
TreeHugger Robot [Wed, 31 Jan 2018 03:18:29 +0000 (03:18 +0000)]
Merge "Fix homepage icon margin"

6 years agoMerge "Re-add isSuggestionEnabled check"
TreeHugger Robot [Wed, 31 Jan 2018 01:11:52 +0000 (01:11 +0000)]
Merge "Re-add isSuggestionEnabled check"

6 years agoFix homepage icon margin
Fan Zhang [Tue, 30 Jan 2018 23:54:48 +0000 (15:54 -0800)]
Fix homepage icon margin

Change-Id: Ie9a7be625bb51336ef4eda05d24c61ec9cc264e8
Fixes: 69314641
Test: visual

6 years agoRe-add isSuggestionEnabled check
Fan Zhang [Tue, 30 Jan 2018 23:38:48 +0000 (15:38 -0800)]
Re-add isSuggestionEnabled check

It was accidentally removed previously

Test: robotest
Change-Id: I5b7707e746d6b825d835a007727b29c9a81a7fc1

6 years agoMerge "Center align suggestion tile action button."
TreeHugger Robot [Tue, 30 Jan 2018 22:44:27 +0000 (22:44 +0000)]
Merge "Center align suggestion tile action button."

6 years agoMerge "Add a few UI tests"
TreeHugger Robot [Tue, 30 Jan 2018 22:01:25 +0000 (22:01 +0000)]
Merge "Add a few UI tests"

6 years agoNotification settings updates
Julia Reynolds [Tue, 30 Jan 2018 16:28:38 +0000 (11:28 -0500)]
Notification settings updates

- Footer preferences were too dim
- Fix text and target on recently sent apps
- Make 'behavior' a dialog
- reorder settings on apps page

Change-Id: Idf8056bc77ead89fe2025bbde3346861e23a3c8d
Fixes: 72652526
Fixes: 72651810
Fixes: 72652024
Bug: 72651953
Test: make RunSettingsRoboTests

6 years agoMerge "Change automatic brightness summary to absolute brightness."
TreeHugger Robot [Tue, 30 Jan 2018 21:39:16 +0000 (21:39 +0000)]
Merge "Change automatic brightness summary to absolute brightness."

6 years agoCenter align suggestion tile action button.
Doris Ling [Tue, 30 Jan 2018 20:50:17 +0000 (12:50 -0800)]
Center align suggestion tile action button.

Bug: 70573674
Test: visual
Change-Id: I9be36cb0f1c35c2062f01d03e01e0a74cb39f3a0

6 years agoAdd a few UI tests
Fan Zhang [Tue, 30 Jan 2018 20:03:13 +0000 (12:03 -0800)]
Add a few UI tests

- Verify storage setting display items
- Battery

Test: atest
Change-Id: Ia892e0e3265aa8bebda74df26dd67e6b12f5cb67
Fixes: 72461383

6 years agoMerge "Remove app info page v1 related codes."
TreeHugger Robot [Tue, 30 Jan 2018 19:57:48 +0000 (19:57 +0000)]
Merge "Remove app info page v1 related codes."

6 years agoMerge "Remve menu item in battery settings"
TreeHugger Robot [Tue, 30 Jan 2018 19:04:26 +0000 (19:04 +0000)]
Merge "Remve menu item in battery settings"

6 years agoMerge "Use the correct prebuilts for lifecycles."
TreeHugger Robot [Tue, 30 Jan 2018 18:50:45 +0000 (18:50 +0000)]
Merge "Use the correct prebuilts for lifecycles."

6 years agoMerge "Add UI tests for new time zone picker"
TreeHugger Robot [Tue, 30 Jan 2018 12:04:25 +0000 (12:04 +0000)]
Merge "Add UI tests for new time zone picker"

6 years agoMerge "Update summary for fingerprint unlock suggestion."
TreeHugger Robot [Tue, 30 Jan 2018 06:54:53 +0000 (06:54 +0000)]
Merge "Update summary for fingerprint unlock suggestion."

6 years agoMerge "Move force stop button into option menu."
TreeHugger Robot [Tue, 30 Jan 2018 06:30:20 +0000 (06:30 +0000)]
Merge "Move force stop button into option menu."

6 years agoMerge "Update suggestion card UI."
TreeHugger Robot [Tue, 30 Jan 2018 03:55:28 +0000 (03:55 +0000)]
Merge "Update suggestion card UI."

6 years agoMerge "Dismiss suggestion when close button is clicked."
TreeHugger Robot [Tue, 30 Jan 2018 01:26:23 +0000 (01:26 +0000)]
Merge "Dismiss suggestion when close button is clicked."

6 years agoRemove app info page v1 related codes.
Doris Ling [Tue, 16 Jan 2018 21:28:16 +0000 (13:28 -0800)]
Remove app info page v1 related codes.

- change to use AppInfoDashboardFragment completely
- remove InstalledAppDetails and the corresponding tests

Change-Id: I8cbdf71cadc8b5743929abbafe91185e5e39b6b2
Fixes: 69384089
Test: make RunSettingsRoboTests

6 years agoMerge "Add search keyword for ambient display"
TreeHugger Robot [Tue, 30 Jan 2018 01:07:18 +0000 (01:07 +0000)]
Merge "Add search keyword for ambient display"

6 years agoUpdate suggestion card UI.
Doris Ling [Mon, 29 Jan 2018 21:11:57 +0000 (13:11 -0800)]
Update suggestion card UI.

- adjust suggestion card width and padding
- tint icon if it is from settings package.

Bug: 72330968
Test: visual
Change-Id: I4b82d51b3013ad0656d297305e0000958b71e94d

6 years agoUpdate summary for fingerprint unlock suggestion.
Doris Ling [Mon, 29 Jan 2018 23:57:46 +0000 (15:57 -0800)]
Update summary for fingerprint unlock suggestion.

- replicate the summary string for the fingerprint unlock suggestions
for different product variation.

Bug: 70573674
Test: rebuild
Change-Id: Ib85fbe1ddbf5f2f500743cabf5f219e5e48f61e4

6 years agoMove force stop button into option menu.
Doris Ling [Fri, 19 Jan 2018 22:43:34 +0000 (14:43 -0800)]
Move force stop button into option menu.

- only show 1 button in the app info page
- move all handling for the force stop button from
AppActionButtonPreferenceController to a new option menu controller

Bug: 71778950
Test: make RunSettingsRoboTests
Change-Id: Iaa2c9784162a5f1acaaf9e11e3ce988945b40538

6 years agoAdd UI tests for new time zone picker
Victor Chang [Mon, 22 Jan 2018 19:27:17 +0000 (19:27 +0000)]
Add UI tests for new time zone picker

- Test selecting 2 time zones in picker
- Device.wait could return null object and cause NPE.
  Add helper function throw UiObjectNotFoundException with selector info

Bug: 62255208
Test: atest SettingsUITests:ZonePickerSettingsTest
Change-Id: Id0439dde25240cf2d3ee834043d1726a2c738d1a

6 years agoMerge "Remove security settings v1 code"
TreeHugger Robot [Mon, 29 Jan 2018 23:25:09 +0000 (23:25 +0000)]
Merge "Remove security settings v1 code"

6 years agoAdd search keyword for ambient display
Fan Zhang [Mon, 29 Jan 2018 21:22:21 +0000 (13:22 -0800)]
Add search keyword for ambient display

Change-Id: I725e734e656bf01d4d9a354d01d10717b724d848
Fixes: 71892510
Test: rebuild

6 years agoMerge "Move AccessPointPreference.generateApKey."
TreeHugger Robot [Mon, 29 Jan 2018 22:40:43 +0000 (22:40 +0000)]
Merge "Move AccessPointPreference.generateApKey."

6 years agoMerge "Fix shortcut icon in launcher"
TreeHugger Robot [Mon, 29 Jan 2018 22:19:43 +0000 (22:19 +0000)]
Merge "Fix shortcut icon in launcher"

6 years agoMerge "Add policy transparency for metered data related settings."
Sudheer Shanka [Mon, 29 Jan 2018 22:01:35 +0000 (22:01 +0000)]
Merge "Add policy transparency for metered data related settings."

6 years agoDismiss suggestion when close button is clicked.
Doris Ling [Tue, 23 Jan 2018 20:08:50 +0000 (12:08 -0800)]
Dismiss suggestion when close button is clicked.

- add handling to the suggestion card to dismiss the suggestion when
the close button is clicked.

Bug: 70573674
Test: make RunSettingsRoboTests
Change-Id: I8155efc326242abde753a633009e2579a9b3aa9b

6 years agoRemove security settings v1 code
Fan Zhang [Mon, 29 Jan 2018 20:06:58 +0000 (12:06 -0800)]
Remove security settings v1 code

Change-Id: I958ed1588009b91f64cd8ecb98208e72a891903e
Fixes: 32953042
Test: robotests

6 years agoMerge "Fix settings ui tests in abvt suite"
TreeHugger Robot [Mon, 29 Jan 2018 20:58:35 +0000 (20:58 +0000)]
Merge "Fix settings ui tests in abvt suite"

6 years agoFix shortcut icon in launcher
Fan Zhang [Mon, 29 Jan 2018 19:23:52 +0000 (11:23 -0800)]
Fix shortcut icon in launcher

When building icon for shortcut, check if the icon is LayerDrawable.
- If yes, only take the second layer (foreground).

Also move the class to shortcut package

Change-Id: I3513dbeb6509f11aa70ab3230d441e268ca9356d
Fixes: 72553870
Test: atest

6 years agoMerge "Fix memory leak of DataSaverPreference" am: 7a65c7f279 am: 64ee868ff3
Jin Dong [Mon, 29 Jan 2018 19:11:40 +0000 (19:11 +0000)]
Merge "Fix memory leak of DataSaverPreference" am: 7a65c7f279 am: 64ee868ff3
am: b9af110c03

Change-Id: I07aae53bbf708317cc4ca60926c27c22d37c2179

6 years agoMerge "Fix memory leak of DataSaverPreference" am: 7a65c7f279
Jin Dong [Mon, 29 Jan 2018 19:10:00 +0000 (19:10 +0000)]
Merge "Fix memory leak of DataSaverPreference" am: 7a65c7f279
am: 64ee868ff3

Change-Id: Ieda87ec6f8958d11b36cc48fab83233c687a254f

6 years agoMerge "Fix memory leak of DataSaverPreference"
Jin Dong [Mon, 29 Jan 2018 19:07:25 +0000 (19:07 +0000)]
Merge "Fix memory leak of DataSaverPreference"
am: 7a65c7f279

Change-Id: If0cc15cc83afde74a2cd694924fe5af8cf124c8b

6 years agoMerge "Fix memory leak of DataSaverPreference"
Treehugger Robot [Mon, 29 Jan 2018 19:03:33 +0000 (19:03 +0000)]
Merge "Fix memory leak of DataSaverPreference"

6 years agoFix settings ui tests in abvt suite
Fan Zhang [Mon, 29 Jan 2018 17:53:26 +0000 (09:53 -0800)]
Fix settings ui tests in abvt suite

Change-Id: I77a262c473b2dfe09c3dabf8e07525fa17815b35
Fixes: 72608407
Test: atest

6 years agoMerge "Readd needed string"
TreeHugger Robot [Mon, 29 Jan 2018 18:23:45 +0000 (18:23 +0000)]
Merge "Readd needed string"

6 years agoChange automatic brightness summary to absolute brightness.
Michael Wright [Mon, 29 Jan 2018 16:52:47 +0000 (16:52 +0000)]
Change automatic brightness summary to absolute brightness.

The brightness slider now always represents the absolute brightness,
including when adaptive brightness is enabled. This changes the summary
of the brightness setting to reflect that.

Bug: 72627086
Test: ROBOTEST_FILTER=BrightnessLevelPreferenceControllerTest m -j RunSettingsRoboTests
Change-Id: I76eed8aa9ee88fe6b70e30d54bfc0d18d1141377

6 years agoFix memory leak of DataSaverPreference
Jin Dong [Fri, 22 Dec 2017 09:49:23 +0000 (17:49 +0800)]
Fix memory leak of DataSaverPreference

When DataSaverPreference is shown repeatedly, memory leak happens
since DataSaverBackend.Listener is not removed on onDetached().

TEST: Repeat enter and exit "Data usage" for
several times and check if the count of activity
is not increasing.

Bug: 72581115
Change-Id: Ic4a72de049bb87f1e522fe46dd0fb4bb58ed65a5

6 years agoMerge "Display a list of account types as account setting summary"
TreeHugger Robot [Sun, 28 Jan 2018 21:16:17 +0000 (21:16 +0000)]
Merge "Display a list of account types as account setting summary"

6 years agoDisplay a list of account types as account setting summary
Fan Zhang [Sun, 28 Jan 2018 19:33:27 +0000 (11:33 -0800)]
Display a list of account types as account setting summary

Change-Id: Ifac12bb1dd506613ded131a024de345591f9243f
Fixes: 71871075
Test: robotests

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 28 Jan 2018 16:42:26 +0000 (08:42 -0800)]
Import translations. DO NOT MERGE

Change-Id: I2e085262897359240e6f9aba91d7dc4ddb52eabc
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE am: 31abbee452 -s ours
Bill Yi [Sat, 27 Jan 2018 17:31:14 +0000 (17:31 +0000)]
Import translations. DO NOT MERGE am: 31abbee452  -s ours
am: b2db5c0028  -s ours

Change-Id: I304c0388ef91b7c4e4cfadf0a8a24b9efd1566a8

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 27 Jan 2018 17:29:04 +0000 (17:29 +0000)]
Import translations. DO NOT MERGE
am: 31abbee452  -s ours

Change-Id: Ieefa67e07289212f8201836b1cdc0bc774c45a9b

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 27 Jan 2018 04:56:24 +0000 (20:56 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2d8c57680d1d98b74193654e9fe77016304f6ac5

6 years agoReadd needed string
Salvador Martinez [Sat, 27 Jan 2018 01:10:16 +0000 (17:10 -0800)]
Readd needed string

This string was needed by a utility class and so it needs to be
readded.

Test: In sister CL
Bug: 72200354
Change-Id: I87f6be7c40d16c669bb2347c90e79fc3ccdf7183

6 years agoMerge "Updated the Bluetooth Settings owners list" am: 5a56c31913 am: b1230be1b8
Pavlin Radoslavov [Sat, 27 Jan 2018 00:16:29 +0000 (00:16 +0000)]
Merge "Updated the Bluetooth Settings owners list" am: 5a56c31913 am: b1230be1b8
am: ab399887b9

Change-Id: Ie5a17a94f9221097339eb37c327607a9417c8373

6 years agoMerge "Add support for Multi-A2DP state machines per device" am: e61ac8ec02 am: a8430...
Pavlin Radoslavov [Sat, 27 Jan 2018 00:12:34 +0000 (00:12 +0000)]
Merge "Add support for Multi-A2DP state machines per device" am: e61ac8ec02 am: a84302f194
am: 47a2c27af1  -s ours

Change-Id: I2bfe98b532c6fb16e7aaf67f20052271514daf45

6 years agoMerge "Updated the Bluetooth Settings owners list" am: 5a56c31913
Pavlin Radoslavov [Sat, 27 Jan 2018 00:08:34 +0000 (00:08 +0000)]
Merge "Updated the Bluetooth Settings owners list" am: 5a56c31913
am: b1230be1b8

Change-Id: Idc872dced34147a2a55a8734f22e9d6131bf9142

6 years agoMerge "Add support for Multi-A2DP state machines per device" am: e61ac8ec02
Pavlin Radoslavov [Sat, 27 Jan 2018 00:02:16 +0000 (00:02 +0000)]
Merge "Add support for Multi-A2DP state machines per device" am: e61ac8ec02
am: a84302f194

Change-Id: I873b29a7c05454ed464fe0f242f0b334115d5f03

6 years agoMerge "Updated the Bluetooth Settings owners list"
Pavlin Radoslavov [Sat, 27 Jan 2018 00:00:14 +0000 (00:00 +0000)]
Merge "Updated the Bluetooth Settings owners list"
am: 5a56c31913

Change-Id: I6c3c34d3c074f8d4cd928fb874035350d9f4e33d

6 years agoMerge "Add support for Multi-A2DP state machines per device"
Pavlin Radoslavov [Fri, 26 Jan 2018 23:53:46 +0000 (23:53 +0000)]
Merge "Add support for Multi-A2DP state machines per device"
am: e61ac8ec02

Change-Id: If1b5c0d5655ec7e2c465ef8b1633543ceba7181e

6 years agoRemve menu item in battery settings
jackqdyulei [Fri, 26 Jan 2018 23:45:15 +0000 (15:45 -0800)]
Remve menu item in battery settings

Bug: 72568422
Test: robotest still pass
Change-Id: Idd9463cc31bffb2f5751b630bee85789493357dc

6 years agoMerge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" am: f9504d8979...
Pavlin Radoslavov [Fri, 26 Jan 2018 23:09:43 +0000 (23:09 +0000)]
Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" am: f9504d8979 am: 0859a07a61
am: 718af4ba73  -s ours

Change-Id: I77cf919485c824de5a64859ae13e88eeda8f9aad

6 years agoMerge "Updated the Bluetooth Settings owners list"
Treehugger Robot [Fri, 26 Jan 2018 23:01:43 +0000 (23:01 +0000)]
Merge "Updated the Bluetooth Settings owners list"

6 years agoMerge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" am: f9504d8979
Pavlin Radoslavov [Fri, 26 Jan 2018 23:01:26 +0000 (23:01 +0000)]
Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" am: f9504d8979
am: 0859a07a61

Change-Id: I4307481f6df9b2ef9d07eb6066e8fda025bcd4e8

6 years agoMerge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"
Pavlin Radoslavov [Fri, 26 Jan 2018 22:53:49 +0000 (22:53 +0000)]
Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"
am: f9504d8979

Change-Id: I4293debea1998c8d20542c29134a036361fdd6a0

6 years agoUse the correct prebuilts for lifecycles.
Aurimas Liutikas [Fri, 26 Jan 2018 22:51:18 +0000 (22:51 +0000)]
Use the correct prebuilts for lifecycles.

This change should have no effect on the app. It is simply unifying some of the prebuilts.

Bug: 72566647
Change-Id: If03b73bc972e4404779394e025679024b8e5d05b

6 years agoMerge "Add support for Multi-A2DP state machines per device"
Treehugger Robot [Fri, 26 Jan 2018 22:43:53 +0000 (22:43 +0000)]
Merge "Add support for Multi-A2DP state machines per device"

6 years agoMerge "Misc fixes for User page and my device info page"
TreeHugger Robot [Fri, 26 Jan 2018 22:35:35 +0000 (22:35 +0000)]
Merge "Misc fixes for User page and my device info page"

6 years agoUpdated the Bluetooth Settings owners list
Pavlin Radoslavov [Fri, 26 Jan 2018 21:27:26 +0000 (13:27 -0800)]
Updated the Bluetooth Settings owners list

Test: None
Change-Id: I94a11d51b6c7691f7e84e8afe71c7c8083255ef0

6 years agoAdd support for Multi-A2DP state machines per device
Pavlin Radoslavov [Fri, 26 Jan 2018 20:37:33 +0000 (12:37 -0800)]
Add support for Multi-A2DP state machines per device

Update usage of A2dpService API calls that take BluetoothDevice
as an additional argument. If the BluetoothDevice argument is null,
the API applies to the device that is currently the Active A2DP device.

Bug: 69269748
Test: Manual
Change-Id: I8031fa4b4256890dcb486228185baf93debb102d
Merged-In: I7417b7b0741f706df475cb2b27fbe6525f744269

6 years agoMerge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"
Treehugger Robot [Fri, 26 Jan 2018 20:46:45 +0000 (20:46 +0000)]
Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"

6 years agoMisc fixes for User page and my device info page
Fan Zhang [Fri, 26 Jan 2018 18:15:56 +0000 (10:15 -0800)]
Misc fixes for User page and my device info page

- Rename UserAndAccountDashboard* to AccountDashboard*
- Move emergency info from account to device info page

- Move auto sync data toggles (4 of them) from Account page to user page
   - Move the controllers too. UserSettings is a not a DashboardFragment
     so I had to manually call each controller method.
     TODO: refactor UserSettings to a DashboardFragment

- Move legal information/regulatory info above advance button within device info page.

Fixes: 72523158
Bug: 71871075
Test: robotests
Change-Id: I1b8af8af61e49d17926f984978a09a974b6c62e1

6 years agoAdd Settings support for Bluetooth Multi-A2DP and Multi-HFP
Pavlin Radoslavov [Sun, 21 Jan 2018 10:04:45 +0000 (02:04 -0800)]
Add Settings support for Bluetooth Multi-A2DP and Multi-HFP

Test: Code compilation
Bug: 64767509

[NOTE: The cherry-pick removed changes to non-existent code and log
message description that doesn't apply here.]

Change-Id: Iee76286110ed87703d6a968f50273c22cd7c7086
Merged-In: Iee76286110ed87703d6a968f50273c22cd7c7086
(cherry picked from commit 4b796e5d2ea23d45f67bd46590eddcac8b3148b4)

6 years agoAdd policy transparency for metered data related settings.
Sudheer Shanka [Tue, 23 Jan 2018 09:46:53 +0000 (01:46 -0800)]
Add policy transparency for metered data related settings.

With API Dpm.setMeteredDataDisabled, admins can restrict some
packages from accessing metered data and when admin does restrict
packages, user settings to enable usage of mobile data in background or
allow unrestricted access during data saver mode are not relevant. Add
policy transparency to these settings so that user knows that admin
disabled them.

Bug: 63700027
Test: make RunSettingsRoboTests
Test: manual
Change-Id: I450f7a91356ed8fb33f464620c73fa9407a1ff83

6 years agoMerge "Migrate some suggestions related classes SettingsLib(II)"
Zhizhi Liu [Fri, 26 Jan 2018 18:16:42 +0000 (18:16 +0000)]
Merge "Migrate some suggestions related classes SettingsLib(II)"

6 years agoMerge "Revert "Add developer setting to set the default GPU renderer.""
TreeHugger Robot [Fri, 26 Jan 2018 17:50:55 +0000 (17:50 +0000)]
Merge "Revert "Add developer setting to set the default GPU renderer.""

6 years agoMerge "Fixes a broken test."
TreeHugger Robot [Fri, 26 Jan 2018 01:54:56 +0000 (01:54 +0000)]
Merge "Fixes a broken test."

6 years agoMerge "Add a generic blue background on some homepage tiles"
TreeHugger Robot [Fri, 26 Jan 2018 00:13:22 +0000 (00:13 +0000)]
Merge "Add a generic blue background on some homepage tiles"

6 years agoFixes a broken test.
Leif Hendrik Wilden [Fri, 26 Jan 2018 00:02:15 +0000 (16:02 -0800)]
Fixes a broken test.

Test: Verified it now passes reliably.
Change-Id: I0d4caf74bb972d0799ef9cbc1f0d915d3c785a7b

6 years agoMerge "Use checkboxes on notification settings pages"
Julia Reynolds [Thu, 25 Jan 2018 23:46:13 +0000 (23:46 +0000)]
Merge "Use checkboxes on notification settings pages"

6 years agoMerge "Move users to system dashboard"
TreeHugger Robot [Thu, 25 Jan 2018 22:40:33 +0000 (22:40 +0000)]
Merge "Move users to system dashboard"

6 years agoMerge "Refactor the DataUsageBase"
TreeHugger Robot [Thu, 25 Jan 2018 22:39:48 +0000 (22:39 +0000)]
Merge "Refactor the DataUsageBase"

6 years agoMerge "Misc fixes"
TreeHugger Robot [Thu, 25 Jan 2018 22:28:18 +0000 (22:28 +0000)]
Merge "Misc fixes"

6 years agoAdd a generic blue background on some homepage tiles
Fan Zhang [Thu, 25 Jan 2018 21:31:37 +0000 (13:31 -0800)]
Add a generic blue background on some homepage tiles

If a homepage tile is injected from external packages, we can't
control what their icons look like, so we put a generic blue circular
background to make it consistent with the other icons.

Change-Id: I2a935db37fff097ae15540262bff94efea55179a
Fixes: 69314641
Test: robotests

6 years agoMigrate some suggestions related classes SettingsLib(II)
Zhizhi Liu [Thu, 18 Jan 2018 22:05:58 +0000 (14:05 -0800)]
Migrate some suggestions related classes SettingsLib(II)

Remove classes from Settings.

Test: mm Settings/tests/robotests

Change-Id: I0f046d6a750bc53251deb44887e8665e6d545515

6 years agoMerge "Changed DirectoryAccessDetails to handle children directory on external volumes."
TreeHugger Robot [Thu, 25 Jan 2018 21:30:22 +0000 (21:30 +0000)]
Merge "Changed DirectoryAccessDetails to handle children directory on external volumes."

6 years agoMove users to system dashboard
Fan Zhang [Thu, 25 Jan 2018 20:38:04 +0000 (12:38 -0800)]
Move users to system dashboard

Bug: 71871075
Test: visual
Change-Id: I021bfdcce4fdb865f629c2da21149caad9b73b93

6 years agoMisc fixes
Fan Zhang [Thu, 25 Jan 2018 19:07:39 +0000 (11:07 -0800)]
Misc fixes

- remove useless intent-filters on a few activities
- Fix condition layout (icon size too big)
- clicking airplane condition card no longer crashes

Fixes: 72314527
Test: logcat | grep -i "TileUtils" and observe no more warning log
Change-Id: I3c6f9fb4f4e480ade220bc8602c04de5332d551c

6 years agoRefactor the DataUsageBase
jackqdyulei [Thu, 25 Jan 2018 18:55:59 +0000 (10:55 -0800)]
Refactor the DataUsageBase

1. Create a new DataUsageBaseFragment extending from DashboadFragment
2. Mark DataUsageBase as obsolete
3. Make DataUsageSummary use DataUsageBaseFragment
4. Deprecated DataPlanUsageSummary since it has been used nowhere.

Bug: 72497434
Test: robotest still pass
Change-Id: Ic67a3c90649ae84086dc60b1457566be8727c54b

6 years agoRevert "Add developer setting to set the default GPU renderer."
Derek Sollenberger [Wed, 24 Jan 2018 21:40:15 +0000 (21:40 +0000)]
Revert "Add developer setting to set the default GPU renderer."

This reverts commit f91b036177326b65518402ada527f5348e2a18c4.

Test: compile only
Reason for revert: removing the option from the developer settings UI

Change-Id: I8ce6d6e07e3495e973f9020b4f4f16f8c2075788

6 years agoMerge "Fix the UniquePreferenceTest."
TreeHugger Robot [Thu, 25 Jan 2018 19:01:11 +0000 (19:01 +0000)]
Merge "Fix the UniquePreferenceTest."

6 years agoChanged DirectoryAccessDetails to handle children directory on external volumes.
Felipe Leme [Wed, 24 Jan 2018 20:17:29 +0000 (12:17 -0800)]
Changed DirectoryAccessDetails to handle children directory on external volumes.

Test: manual verification

Bug: 63720392

Change-Id: Ief4ee0fe271212e2eccbdcedea8ebb3374c4e69b

6 years agoMerge "Notification settings updates"
TreeHugger Robot [Thu, 25 Jan 2018 18:28:59 +0000 (18:28 +0000)]
Merge "Notification settings updates"

6 years agoMerge "Store location changer into Settings.Secure"
TreeHugger Robot [Thu, 25 Jan 2018 17:59:24 +0000 (17:59 +0000)]
Merge "Store location changer into Settings.Secure"

6 years agoMerge "Prevent crash in recent app list"
TreeHugger Robot [Thu, 25 Jan 2018 17:23:42 +0000 (17:23 +0000)]
Merge "Prevent crash in recent app list"

6 years agoUse checkboxes on notification settings pages
Julia Reynolds [Thu, 25 Jan 2018 16:07:55 +0000 (11:07 -0500)]
Use checkboxes on notification settings pages

Test: make RunSettingsRoboTests
Bug: 63927402
Change-Id: Id751b807eae8a7a9165b0d020f10dd42f51382d1

6 years agoNotification settings updates
Julia Reynolds [Wed, 24 Jan 2018 11:14:45 +0000 (06:14 -0500)]
Notification settings updates

- remove duplicate settings
- move recent app list to bottom of the screen
- change dropdown fields to dialogs

Test: manual, make RunSettingsRoboTests
Change-Id: Ia07d56e39be10c7b8be58f9ec35114ca2eab7d5c
Fixes: 72402499

6 years agoAdd support for Multi-A2DP state machines per device
Pavlin Radoslavov [Fri, 5 Jan 2018 00:06:17 +0000 (16:06 -0800)]
Add support for Multi-A2DP state machines per device

Update usage of A2dpService API calls that take BluetoothDevice
as an additional argument. If the BluetoothDevice argument is null,
the API applies to the device that is currently the Active A2DP device.

Exempt-From-Owner-Approval: De-facto owner of the relevant changes is
the Bluetooth team.
Bug: 69269748
Test: Manual
Change-Id: I7417b7b0741f706df475cb2b27fbe6525f744269

6 years agoMerge "Fix null pointer from PowerUsageFeatureProvider"
TreeHugger Robot [Thu, 25 Jan 2018 07:30:33 +0000 (07:30 +0000)]
Merge "Fix null pointer from PowerUsageFeatureProvider"

6 years agoStore location changer into Settings.Secure
Lifu Tang [Wed, 24 Jan 2018 05:12:14 +0000 (21:12 -0800)]
Store location changer into Settings.Secure

Bug: 68779883
Test: Manual
Change-Id: I6ec69d6c9f418a169b8bee71969716e8a44a14a5

6 years agoMerge "Move injected tiles under debug section"
TreeHugger Robot [Thu, 25 Jan 2018 04:05:01 +0000 (04:05 +0000)]
Merge "Move injected tiles under debug section"

6 years agoMerge "Remove location mode menu from location settings"
TreeHugger Robot [Thu, 25 Jan 2018 03:08:06 +0000 (03:08 +0000)]
Merge "Remove location mode menu from location settings"

6 years agoFix the UniquePreferenceTest.
Daniel Nishi [Thu, 25 Jan 2018 02:10:51 +0000 (18:10 -0800)]
Fix the UniquePreferenceTest.

By adding in the About Phone v2 screen, we duplicated some settings.

This isn't actually a problem because when the flag to turn on V2 is on,
V1 goes away, and vice versa.

Change-Id: I9aa327ac532ed2ac240bb2d6cbb327f299438889
Bug: 72459760
Test: adb shell am instrument -w -e class
com.android.settings.core.UniquePreferenceTest
com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner

6 years agoFix null pointer from PowerUsageFeatureProvider
Salvador Martinez [Wed, 24 Jan 2018 18:24:04 +0000 (10:24 -0800)]
Fix null pointer from PowerUsageFeatureProvider

Some locations did not check if the returned value was null before
doing operations on them and could crash. This CL changes those
spots to take that into account.

Test: b/72463854 will add in follow up to unblock dogfood
Bug: 72350595
Change-Id: I0ace5c0ab4a8aa9fd5b09d41d6f986143246f059