Commit Graph

32962 Commits

Author SHA1 Message Date
TreeHugger Robot
8e6cc9b8ed Merge "Fix installed app search query." 2017-01-21 00:21:17 +00:00
TreeHugger Robot
7ba9162af6 Merge "Remove char limit from summary strings." 2017-01-20 23:16:17 +00:00
Fan Zhang
ba83109807 Fix installed app search query.
Now it shows system apps when user query match name.

Change-Id: Ic4d622d2d4872554172e34aa9be250b36a3c3da3
Fix: 34257148
Test: make RunSettingsRoboTests
2017-01-20 14:53:37 -08:00
Michal Karpinski
e44be9f729 Merge "Check for whether fingerprint can be used in work challenge moved from onCreate() to onResume()" 2017-01-20 22:02:35 +00:00
Amin Shaikh
dfb11d1642 Remove char limit from summary strings.
The summary wraps to the next line, so the limit was unnecessary.

Test: make
Bug: 34443635
Change-Id: Ie0392405ad1afc62c5aa56cd70f7c5e7c6a5b1c4
2017-01-20 13:20:55 -08:00
TreeHugger Robot
3c89f50119 Merge "Index input & gesture settings page." 2017-01-20 21:15:12 +00:00
Michal Karpinski
35c32db800 Check for whether fingerprint can be used in work challenge moved
from onCreate() to onResume()

Test: manual
Bug: 29825955
Change-Id: Id01a21fecf395ba29858e099947eeb83a4cee8fc
2017-01-20 19:16:15 +00:00
Fan Zhang
f10a5a22d0 Index input & gesture settings page.
Test: make RunSettingsRoboTests -j40
Change-Id: Ifbd68d596838b05e47d228396f266316b90a0f27
2017-01-20 11:10:07 -08:00
TreeHugger Robot
7ce10b653b Merge "Show closed friction icon for saved and secure networks." 2017-01-20 18:52:21 +00:00
TreeHugger Robot
2f2d982f67 Merge "[Sound Settings] Act on managed user added/removed" 2017-01-20 18:31:41 +00:00
Lei Yu
589bb08f49 Merge "Remove OS items in battery main page." 2017-01-20 17:59:35 +00:00
TreeHugger Robot
a909a54835 Merge "Change theme base back to Theme.DeviceDefault.Settings" 2017-01-20 17:20:08 +00:00
Julia Reynolds
37d64387a3 Merge "Show deleted channels." 2017-01-20 14:30:23 +00:00
TreeHugger Robot
60c7f095d5 Merge "Adding Manage External Sources Settings" 2017-01-20 12:08:20 +00:00
TreeHugger Robot
98df9a43c5 Merge "Permission changes for scoring in Wifi Picker." 2017-01-20 02:03:33 +00:00
TreeHugger Robot
12587f0348 Merge "Tron metric for force stop app" 2017-01-20 01:31:12 +00:00
Stephen Chen
59882384f3 Show closed friction icon for saved and secure networks.
This is a temporary adjustment for the friction UI logic, will
make a more permanent refactor when design decisions are finalized.

Test: manual inspection.
Change-Id: I06cd02b1092ed7e29a36cc83a9de297c513cbac8
2017-01-19 17:28:44 -08:00
Jack He
e3ca36a060 Fix Bluetooth pairing dialogue crash am: e51972868c
am: 244ebc1e31  -s ours

Change-Id: I275eea31757afd6801cce5096a380b203fb4b763
2017-01-20 01:23:43 +00:00
Stefano Tommasini
e7116a9282 Merge "Add SuggestionFeatureProvider interface." 2017-01-20 01:02:06 +00:00
Shahriyar Amini
ce74c1e18f Merge "Consider res package when updating security icons." 2017-01-20 01:01:19 +00:00
Robin Lee
edfeaace61 resolve merge conflicts of cb1968148a to master
Test: make RunSettingsRoboTests
Change-Id: I436af9f0415b9ad7ea0ea53f4f68d337fdbaa0aa
2017-01-19 23:58:30 +00:00
Jack He
244ebc1e31 Fix Bluetooth pairing dialogue crash
am: e51972868c

Change-Id: I15e2263b5907f10f385d07e2797b43240e2eed65
2017-01-19 23:45:28 +00:00
Robin Lee
cb1968148a Merge "Clear VPN after Clear credentials if VPN is being established" am: 4ce19f5c4f am: fde3c6d74a
am: 185275e0ad

Change-Id: If1956964597ad1885dde00f23c55a4492f867977
2017-01-19 23:31:21 +00:00
Robin Lee
185275e0ad Merge "Clear VPN after Clear credentials if VPN is being established" am: 4ce19f5c4f
am: fde3c6d74a

Change-Id: Id20c96f550ecf7c05926eaea8a29575aeb8aaa07
2017-01-19 23:23:37 +00:00
TreeHugger Robot
5228059c50 Merge "Add example of google truth in a non robolectric test" 2017-01-19 23:15:49 +00:00
Robin Lee
fde3c6d74a Merge "Clear VPN after Clear credentials if VPN is being established"
am: 4ce19f5c4f

Change-Id: Ib35450b0c389da1bbba311c05d1d0346eb612b9e
2017-01-19 23:13:04 +00:00
Sunny Goyal
115e114032 Merge "Updating CreateShortcut activity to use the new ShortcutManager APIs for creating shortcuts" 2017-01-19 23:10:34 +00:00
Robin Lee
4ce19f5c4f Merge "Clear VPN after Clear credentials if VPN is being established" 2017-01-19 23:02:21 +00:00
Jack He
e51972868c Fix Bluetooth pairing dialogue crash
When pairing passkey is invalid, onCreate() should return early to
prevent any dialog from displaying, which will then call onDestroy()
to destroy the activity. However mReceiver should be registered before
onDestroy() is called as onDestroy() will call unregisterReceiver(mReceiver)
that will throw an IllegalArgumentException when mReceiver was not registered.

This fix adds a flag that tracks whether mReceiver has been registered.
In addition, this fix fails the passkey confirmation request upon invalid
passkey.

Bug: 32577328
Test: Test with PTS TC_SERVER_SA_BI_01_C
Change-Id: Ifc047bad6bd99abca04404af9cd54d2034cd35aa
(cherry picked from commit 6f8e9eda2d9ed830d47971d93327792906db2dc1)
2017-01-19 22:39:17 +00:00
Zac Iqbal
b61434348a Merge "Refactored TrustAgentUtils to allow agent check injection." 2017-01-19 22:21:47 +00:00
jackqdyulei
51db61dcd5 Remove OS items in battery main page.
We want to hide the OS items from battery usage page and let users
focus on the items that they can control.

Currently the hidden items are:
Android OS, Android System, Phone idle, Cell Standby

Bug: 34274844
Test: RunSettingsRoboTests & screenshots
Change-Id: I75165376d5038b6ec17a7b73ae3c5fcd24753fa9
2017-01-19 13:49:26 -08:00
Sunny Goyal
9a6b675096 Updating CreateShortcut activity to use the new ShortcutManager APIs
for creating shortcuts

Test:  adb shell am instrument -e class com.android.settings.CreateShortcutTest \
 -w com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I09fb73ae2a0687a3269f3714bdb2c5d92c99ea87
2017-01-19 13:39:13 -08:00
Stefanot
6ec9e89fff Add SuggestionFeatureProvider interface.
The interface is added so that a vendor can add new suggestions to the
settings app, and customize details for these suggestions.

Test: make RunSettingsRoboTests

BUG: 34219298

Change-Id: I373c63709b1aaf68360aa2561a2ecfc3194e0e2b
2017-01-19 20:50:35 +00:00
Zachary Iqbal
ccae73f228 Refactored TrustAgentUtils to allow agent check injection.
Notes:
- TrustAgentUtils defined a method that allowed callers to determine if a Trust Agent package is allowed to provide trust. If it is, it adds it to the list of available trust agents that can be displayed in the Settings->Security screen.
- The logic used to define what agents are permitted on the device can now be injected.

Test: Ran 'm RunSettingsRoboTest' and added a new test for the TrustAgentFeatureProviderImpl.
Bug: 34354635
Change-Id: I24c54c14bde26073ce6fa907379b86aae2841600
2017-01-19 12:39:38 -08:00
Fan Zhang
a7689b4f2a Change theme base back to Theme.DeviceDefault.Settings
Bug: 33558692
Test: visual
Change-Id: I526f8ff19bb2a4c471ff567e926574e19c0d307a
2017-01-19 12:30:48 -08:00
Stephen Chen
20bfe52959 Add drawable resources for Wi-Fi picker friction icons.
Bug: 34281330
Test: manual inspection, make
Change-Id: I7a98ececf4804e3444514ff1c438e5ed4f9705d5
2017-01-19 12:21:06 -08:00
TreeHugger Robot
0d3d5e4a8e Merge "Add SuggestionFeatureProvider interface." 2017-01-19 20:16:41 +00:00
TreeHugger Robot
5a2a8f8ad3 Merge "Move indexing into the Search Fragment" 2017-01-19 20:06:39 +00:00
Matthew Fritze
1212b0ea3f Add example of google truth in a non robolectric test
Change-Id: I6549ae01b31df39462d252e767fc3255b05813fe
Fixes: 34277648
Test: make SettingsUnitTests, make RunSettingsRoboTests
2017-01-19 11:21:20 -08:00
Fyodor Kupolov
91bae6ca23 Tron metric for force stop app
Test: Manual
Bug: 31008660
Change-Id: I7c7818036286764ffa10bdc0d718b71a459846d9
2017-01-19 11:06:34 -08:00
Anton Philippov
1d51b81563 Merge "Moves "Factory data reset" to a different page." 2017-01-19 18:28:34 +00:00
Matthew Fritze
34c27609d6 Move indexing into the Search Fragment
Cold start latency for Settings increased drastically
from the indexing of the Search Database. Moving it into
the Search Fragment moves that latency to cases where
users are actually searching.

Change-Id: I11368af610ac9e80f9901654f980c2c1e26342a5
Fixes: 34142852
Test: make RunSettingsRoboTests
2017-01-19 10:27:37 -08:00
Fan Zhang
6f7164c5a9 Add SuggestionFeatureProvider interface.
The feature provider will contain all logic for suggestions.

Test: RunSettingsRoboTests
Change-Id: I45a0dcdc101d97acb07babd531db50b80bb3b308
2017-01-19 10:15:35 -08:00
Paul Duffin
d265ad68d4 Merge "Prepare for removal of legacy-test from default targets" am: a6b0c881fd am: a3da659863 am: cf967da02a
am: 61316803f2  -s ours

Change-Id: Icdf52be53ad5df9a175d10a9a882943f2a48f820
2017-01-19 15:24:57 +00:00
Paul Duffin
61316803f2 Merge "Prepare for removal of legacy-test from default targets" am: a6b0c881fd am: a3da659863
am: cf967da02a

Change-Id: Ifc88129c31c074674f42ee356382dd6aa5022952
2017-01-19 15:22:55 +00:00
Paul Duffin
cf967da02a Merge "Prepare for removal of legacy-test from default targets" am: a6b0c881fd
am: a3da659863

Change-Id: Id36b48a4a25aa564b5270ad16aa5a2eb1eadfadb
2017-01-19 15:20:26 +00:00
Paul Duffin
a3da659863 Merge "Prepare for removal of legacy-test from default targets"
am: a6b0c881fd

Change-Id: Iadb65fd5a2630e74071866f2d0b4347d29a71af1
2017-01-19 15:17:53 +00:00
Treehugger Robot
a6b0c881fd Merge "Prepare for removal of legacy-test from default targets" 2017-01-19 15:13:15 +00:00
Paul Duffin
8cedf7e8e8 Merge "Prepare for removal of legacy-test from default targets" 2017-01-19 11:56:38 +00:00
Andre Lago
e474bd5f0f [Sound Settings] Act on managed user added/removed
Use the new callbacks for managed profile being added/removed to update
visibility of work sound settings

Test: make RunSettingsRoboTests
Bug: 31701003

Change-Id: I3167e52102bcf9f18a58e85dd9c3117691c6ad3f
2017-01-19 11:48:20 +00:00