Commit Graph

42495 Commits

Author SHA1 Message Date
TreeHugger Robot
35a7f0d642 Merge "Fix settings ui tests in abvt suite" 2018-01-29 20:58:35 +00:00
Fan Zhang
409eab14de 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
2018-01-29 11:39:48 -08:00
Jin Dong
1ac7202238 Merge "Fix memory leak of DataSaverPreference" am: 7a65c7f279 am: 64ee868ff3
am: b9af110c03

Change-Id: I07aae53bbf708317cc4ca60926c27c22d37c2179
2018-01-29 19:11:40 +00:00
Jin Dong
b9af110c03 Merge "Fix memory leak of DataSaverPreference" am: 7a65c7f279
am: 64ee868ff3

Change-Id: Ieda87ec6f8958d11b36cc48fab83233c687a254f
2018-01-29 19:10:00 +00:00
Jin Dong
64ee868ff3 Merge "Fix memory leak of DataSaverPreference"
am: 7a65c7f279

Change-Id: If0cc15cc83afde74a2cd694924fe5af8cf124c8b
2018-01-29 19:07:25 +00:00
Treehugger Robot
7a65c7f279 Merge "Fix memory leak of DataSaverPreference" 2018-01-29 19:03:33 +00:00
Fan Zhang
7576e726f9 Fix settings ui tests in abvt suite
Change-Id: I77a262c473b2dfe09c3dabf8e07525fa17815b35
Fixes: 72608407
Test: atest
2018-01-29 10:56:42 -08:00
TreeHugger Robot
7245bbb3d5 Merge "Readd needed string" 2018-01-29 18:23:45 +00:00
Michael Wright
30b66159aa 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
2018-01-29 16:52:47 +00:00
Jin Dong
484087c181 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
2018-01-29 16:32:45 +09:00
TreeHugger Robot
9024b4eb15 Merge "Display a list of account types as account setting summary" 2018-01-28 21:16:17 +00:00
Fan Zhang
fe80fa5e80 Display a list of account types as account setting summary
Change-Id: Ifac12bb1dd506613ded131a024de345591f9243f
Fixes: 71871075
Test: robotests
2018-01-28 11:34:27 -08:00
Bill Yi
499efd06ab Import translations. DO NOT MERGE
Change-Id: I2e085262897359240e6f9aba91d7dc4ddb52eabc
Auto-generated-cl: translation import
2018-01-28 08:42:26 -08:00
Bill Yi
473260eec2 Import translations. DO NOT MERGE am: 31abbee452 -s ours
am: b2db5c0028  -s ours

Change-Id: I304c0388ef91b7c4e4cfadf0a8a24b9efd1566a8
2018-01-27 17:31:14 +00:00
Bill Yi
b2db5c0028 Import translations. DO NOT MERGE
am: 31abbee452  -s ours

Change-Id: Ieefa67e07289212f8201836b1cdc0bc774c45a9b
2018-01-27 17:29:04 +00:00
Bill Yi
31abbee452 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2d8c57680d1d98b74193654e9fe77016304f6ac5
2018-01-26 20:56:24 -08:00
Salvador Martinez
d341d86850 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
2018-01-26 17:10:16 -08:00
Pavlin Radoslavov
8124a32890 Merge "Updated the Bluetooth Settings owners list" am: 5a56c31913 am: b1230be1b8
am: ab399887b9

Change-Id: Ie5a17a94f9221097339eb37c327607a9417c8373
2018-01-27 00:16:29 +00:00
Pavlin Radoslavov
057a5ae8e6 Merge "Add support for Multi-A2DP state machines per device" am: e61ac8ec02 am: a84302f194
am: 47a2c27af1  -s ours

Change-Id: I2bfe98b532c6fb16e7aaf67f20052271514daf45
2018-01-27 00:12:34 +00:00
Pavlin Radoslavov
ab399887b9 Merge "Updated the Bluetooth Settings owners list" am: 5a56c31913
am: b1230be1b8

Change-Id: Idc872dced34147a2a55a8734f22e9d6131bf9142
2018-01-27 00:08:34 +00:00
Pavlin Radoslavov
47a2c27af1 Merge "Add support for Multi-A2DP state machines per device" am: e61ac8ec02
am: a84302f194

Change-Id: I873b29a7c05454ed464fe0f242f0b334115d5f03
2018-01-27 00:02:16 +00:00
Pavlin Radoslavov
b1230be1b8 Merge "Updated the Bluetooth Settings owners list"
am: 5a56c31913

Change-Id: I6c3c34d3c074f8d4cd928fb874035350d9f4e33d
2018-01-27 00:00:14 +00:00
Pavlin Radoslavov
a84302f194 Merge "Add support for Multi-A2DP state machines per device"
am: e61ac8ec02

Change-Id: If1b5c0d5655ec7e2c465ef8b1633543ceba7181e
2018-01-26 23:53:46 +00:00
jackqdyulei
b8ca4980f1 Remve menu item in battery settings
Bug: 72568422
Test: robotest still pass
Change-Id: Idd9463cc31bffb2f5751b630bee85789493357dc
2018-01-26 15:45:15 -08:00
Pavlin Radoslavov
bf055d8095 Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" am: f9504d8979 am: 0859a07a61
am: 718af4ba73  -s ours

Change-Id: I77cf919485c824de5a64859ae13e88eeda8f9aad
2018-01-26 23:09:43 +00:00
Treehugger Robot
5a56c31913 Merge "Updated the Bluetooth Settings owners list" 2018-01-26 23:01:43 +00:00
Pavlin Radoslavov
718af4ba73 Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" am: f9504d8979
am: 0859a07a61

Change-Id: I4307481f6df9b2ef9d07eb6066e8fda025bcd4e8
2018-01-26 23:01:26 +00:00
Pavlin Radoslavov
0859a07a61 Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"
am: f9504d8979

Change-Id: I4293debea1998c8d20542c29134a036361fdd6a0
2018-01-26 22:53:49 +00:00
Aurimas Liutikas
0fbf8d8cf1 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
2018-01-26 22:52:58 +00:00
Treehugger Robot
e61ac8ec02 Merge "Add support for Multi-A2DP state machines per device" 2018-01-26 22:43:53 +00:00
TreeHugger Robot
7cfd0bfe43 Merge "Misc fixes for User page and my device info page" 2018-01-26 22:35:35 +00:00
Pavlin Radoslavov
221ba22546 Updated the Bluetooth Settings owners list
Test: None
Change-Id: I94a11d51b6c7691f7e84e8afe71c7c8083255ef0
2018-01-26 13:28:29 -08:00
Pavlin Radoslavov
e25f2e7768 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
2018-01-26 12:51:15 -08:00
Treehugger Robot
f9504d8979 Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" 2018-01-26 20:46:45 +00:00
Fan Zhang
881d579620 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
2018-01-26 12:39:34 -08:00
Pavlin Radoslavov
ddf48e3962 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 4b796e5d2e)
2018-01-26 11:16:23 -08:00
Sudheer Shanka
b8b2e51e8d 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
2018-01-26 10:57:11 -08:00
Zhizhi Liu
1b0d7f14e3 Merge "Migrate some suggestions related classes SettingsLib(II)" 2018-01-26 18:16:42 +00:00
TreeHugger Robot
cada64beef Merge "Revert "Add developer setting to set the default GPU renderer."" 2018-01-26 17:50:55 +00:00
TreeHugger Robot
607aa8f5f3 Merge "Fixes a broken test." 2018-01-26 01:54:56 +00:00
TreeHugger Robot
adf781c8a0 Merge "Add a generic blue background on some homepage tiles" 2018-01-26 00:13:22 +00:00
Leif Hendrik Wilden
d50dd82be5 Fixes a broken test.
Test: Verified it now passes reliably.
Change-Id: I0d4caf74bb972d0799ef9cbc1f0d915d3c785a7b
2018-01-25 16:02:15 -08:00
Julia Reynolds
89458dcccf Merge "Use checkboxes on notification settings pages" 2018-01-25 23:46:13 +00:00
TreeHugger Robot
b48bb6f0cf Merge "Move users to system dashboard" 2018-01-25 22:40:33 +00:00
TreeHugger Robot
8a6cec13af Merge "Refactor the DataUsageBase" 2018-01-25 22:39:48 +00:00
TreeHugger Robot
2e09de3e03 Merge "Misc fixes" 2018-01-25 22:28:18 +00:00
Fan Zhang
d62835a5d4 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
2018-01-25 14:18:55 -08:00
Zhizhi Liu
caeb1720da Migrate some suggestions related classes SettingsLib(II)
Remove classes from Settings.

Test: mm Settings/tests/robotests

Change-Id: I0f046d6a750bc53251deb44887e8665e6d545515
2018-01-25 14:00:12 -08:00
TreeHugger Robot
b441d90f8c Merge "Changed DirectoryAccessDetails to handle children directory on external volumes." 2018-01-25 21:30:22 +00:00
Fan Zhang
c24930aaf2 Move users to system dashboard
Bug: 71871075
Test: visual
Change-Id: I021bfdcce4fdb865f629c2da21149caad9b73b93
2018-01-25 12:41:33 -08:00