Commit Graph

42415 Commits

Author SHA1 Message Date
jackqdyulei
a2b151efbe Remove the second target for ConnectedApPreference
Also create new gear layout since previous one has its own
ripple, which conflicts the normal preference ripple.

Fixes: 72528535
Fixes: 72442172
Test: Screenshot | RunSettingsRoboTests

Change-Id: I6a253574d0a5c971104c157584d66c3312764a26
2018-01-29 15:29:57 -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
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
TreeHugger Robot
7cfd0bfe43 Merge "Misc fixes for User page and my device info page" 2018-01-26 22:35:35 +00: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
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
Fan Zhang
f6c0d1c3ae 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
2018-01-25 12:41:33 -08:00
jackqdyulei
137ff28d5e 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
2018-01-25 12:33:24 -08:00
Derek Sollenberger
7c26e3388c Revert "Add developer setting to set the default GPU renderer."
This reverts commit f91b036177.

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

Change-Id: I8ce6d6e07e3495e973f9020b4f4f16f8c2075788
2018-01-25 14:19:35 -05:00
TreeHugger Robot
bb2a2b9bef Merge "Fix the UniquePreferenceTest." 2018-01-25 19:01:11 +00:00
Felipe Leme
025883da78 Changed DirectoryAccessDetails to handle children directory on external volumes.
Test: manual verification

Bug: 63720392

Change-Id: Ief4ee0fe271212e2eccbdcedea8ebb3374c4e69b
2018-01-25 10:48:59 -08:00
TreeHugger Robot
905221568e Merge "Notification settings updates" 2018-01-25 18:28:59 +00:00
TreeHugger Robot
bc65e6eb66 Merge "Store location changer into Settings.Secure" 2018-01-25 17:59:24 +00:00
TreeHugger Robot
e902012cbc Merge "Prevent crash in recent app list" 2018-01-25 17:23:42 +00:00
Julia Reynolds
4e3060c824 Use checkboxes on notification settings pages
Test: make RunSettingsRoboTests
Bug: 63927402
Change-Id: Id751b807eae8a7a9165b0d020f10dd42f51382d1
2018-01-25 11:21:43 -05:00
Julia Reynolds
9ce68a204c 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
2018-01-25 11:21:43 -05:00
Pavlin Radoslavov
e887ee15ad 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
2018-01-25 11:06:59 +00:00
TreeHugger Robot
345a3cb61d Merge "Fix null pointer from PowerUsageFeatureProvider" 2018-01-25 07:30:33 +00:00
Lifu Tang
e6032be851 Store location changer into Settings.Secure
Bug: 68779883
Test: Manual
Change-Id: I6ec69d6c9f418a169b8bee71969716e8a44a14a5
2018-01-24 22:30:12 -08:00
TreeHugger Robot
c4ceb8c152 Merge "Move injected tiles under debug section" 2018-01-25 04:05:01 +00:00
TreeHugger Robot
7ccd083f7b Merge "Remove location mode menu from location settings" 2018-01-25 03:08:06 +00:00
Daniel Nishi
9f1352b4f3 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
2018-01-25 02:26:17 +00:00
Salvador Martinez
250a79830c 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
2018-01-24 17:53:35 -08:00
TreeHugger Robot
7c80b5ed39 Merge "AR/FR: Updated resources to confirm via component." 2018-01-25 00:39:16 +00:00
Leif Wilden
90d1392e65 Merge "Migrate to use instrumentation classes from settingslib." 2018-01-25 00:35:26 +00:00
Fan Zhang
99f5ef7d45 Merge "Make homepage icons more colorful!" 2018-01-25 00:34:13 +00:00
Antony Sargent
e04101be07 Prevent crash in recent app list
In some situations if you have recently used an app and then uninstalled
it, the display of recent apps in Settings->Apps & notifications would
crash. This is due to a bug in recent CL that fixed b/71591298.

Test: make -j64 RunSettingsRoboTests
Change-Id: Id04b073b2617eeff0e188b10d3743496a9f70d5e
Fixes: 72340364
2018-01-24 16:14:16 -08:00
TreeHugger Robot
a38b1fe8a2 Merge "Add device name to About Phone page." 2018-01-25 00:10:43 +00:00
Maggie
5a86cd6545 Remove location mode menu from location settings
Location modes were introduced in KitKat. It has made location settings over complicated. In P we are removing location modes to provide simple, meaningful and transparent controls for users.

Bug: 63818349
Bug: 70350519
Test: Robo
Test: Manual
Change-Id: Ic8a168b8eeb3cd2c8b1536c378c92a5f377d3bba
2018-01-24 15:51:34 -08:00
Fan Zhang
c9afb5915c Merge "2nd attempt to fix crash when getting unavailable service" am: ec4e0d3008 am: a9cb8d776b
am: c1968ab9a0

Change-Id: Id2a769571957c59a209263432256f77a190b68e0
2018-01-24 23:01:57 +00:00
Fan Zhang
b74a23ccfd Move injected tiles under debug section
Bug: 64762598
Test: atest UniquePreferenceTest
Change-Id: I6d6661b84c2a94bc66e1afe04c01fee39282506a
2018-01-24 14:05:29 -08:00
TreeHugger Robot
8b2f6e3edb Merge "Fix typo in the description of eSIM reset." 2018-01-24 21:50:45 +00:00
TreeHugger Robot
c84c64a967 Merge "Move to DisplayManager brightness APIs" 2018-01-24 21:45:06 +00:00
TreeHugger Robot
9da50435ac Merge "Update layout config for suggestion card." 2018-01-24 21:43:24 +00:00
Fan Zhang
c1968ab9a0 Merge "2nd attempt to fix crash when getting unavailable service" am: ec4e0d3008
am: a9cb8d776b

Change-Id: Id944bc516fa093ce1421f40c2c6b05e277e94660
2018-01-24 20:59:25 +00:00