Ricky Wai
3bd4771ccb
Fix location settings crash when work profile is disabled
...
Bug: 27402597
Change-Id: Iab5f999b67e9f81977142648f90cf31acb8b5f69
2016-03-18 14:18:45 +00:00
Jason Monk
39b467482d
Depend on support lib preferences
...
Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
2015-10-13 10:12:20 -04:00
Lifu Tang
b3e11be230
Created new task when launching injected activity
...
Bug: 22320782
Change-Id: I6cf1e4976a097c4c40afcc4c73f7f9904e9e7aac
2015-08-25 18:45:52 -07:00
Fyodor Kupolov
a7a7bfe59f
Use DimmableIconPreference for Add user action
...
Moved DimmableIconPreference from location to the root package since it is
now used in several places.
Add user action now uses DimmableIconPreference. Added a new summary string,
which is displayed when no more users can be added.
Bug: 20892920
Change-Id: I00b00f80ba8933a00a2de85777b9f7e55d03c31b
2015-05-19 16:44:13 -07:00
John Spurlock
9a23adf69d
Settings: Remove all unused imports.
...
Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
2015-03-18 15:51:15 -04:00
Zoltan Szatmary-Ban
86c877e9b6
Make Location Settings multiprofile aware
...
Injected location services and location access status are shown
for managed profiles on Settings > Location
Bug: 18602878
Change-Id: Ic6232f3dc03d9675b90fbfd0163fe5bae4bd13c6
2014-12-05 19:40:59 +00:00
Lifu Tang
db0b7637fa
Dim the preference icons when its disabled
...
- Fix b/16956979
Change-Id: Idfa3fddf63746dea1db0c75dedab06b57aaf5de7
2014-08-18 11:22:13 -07:00
Tom O'Neill
a7f399123f
Injected settings start new task
...
- Bug: 13534214
Change-Id: I10b47f58651166a58a86efe8da2979e8f9a2a5cb
2014-03-19 10:38:05 -07:00
Tom O'Neill
34501ae258
Ignore any summary provided for injected settings
...
Bug: 13279850
Change-Id: I1e5a39c9542b3121835f61cd0ce82612c7948cd7
2014-03-03 10:17:52 -08:00
Tom O'Neill
7f91d86283
Specify user when starting service
...
- Improve logging
- Fix b/10621831
Change-Id: Icbb265ce53640dcf63f1c81d682f5811f196efcc
2013-09-09 10:33:52 -07:00
Tom O'Neill
421dccd5dd
Restrict Settings injection to system-signed apps
...
- Also: reload the injected settings status values on mode changes
- b/10461474
Change-Id: I58c817ab8ab253aa19fa02c3cb511f26c807dc2a
2013-09-06 10:38:26 -07:00
Tom O'Neill
1810a88e5f
Adapt to renaming of SettingInjectorService API constants
...
- Log how long it took to read the status of each setting.
- Fix some variable names.
- Affects b/10461474
Change-Id: Ic0a575f090bf7192b20e07c231bf9d7238571808
2013-08-30 10:52:55 -07:00
Lifu Tang
007994279c
Replaced ContentQueryMap with CursorLoader
...
- Piggyback a trivial typo fix from previous change
- Fix b/10228666
Change-Id: I96c4f5c434b67caf10b3406eec4f3f7c5cf846e9
2013-08-29 14:46:29 -07:00
Tom O'Neill
f06dc32163
Make sure we've finished loading settings before processing any reloads
...
- Effectively throttles case where many reloads are sent in rapid
succession.
- Simplify Handler state machine by making the state explicit instead
of implicit in the sequence of messages.
- To guard against cascading timeouts due to RAM pressure or other
systemic issues, only start additional services if there is at most one
timed out setting at a time.
- Add some log messages
- Fix b/10487253
Change-Id: Ibe21533f7b644bbadf5b56b61ca0e28b49192470
2013-08-29 10:48:13 -07:00
Tom O'Neill
b578ac4f94
Adapt to SettingsInjectorService API changes
...
- Part of fix for b/10461474
Change-Id: Ia37f444afc822a42ec21ebd2beae7aef8642547a
2013-08-26 09:47:55 -07:00
Tom O'Neill
e17ce5fb73
Handle races caused by rapid settings changed broadcasts
...
- Fix b/10447517
Change-Id: I63ef98c9023cee1a15be61b966aed06dc35e9bd5
2013-08-23 15:23:12 -07:00
Lifu Tang
32e016b5fa
Reloads status messages for injected items
...
Change-Id: I6bb95c4b7ff4118074fb51aeed31596eab1e7eef
2013-08-22 18:08:18 -07:00
Lifu Tang
08a4c33a40
Minor UI tweakings
...
* Changed PreferenceScreen to Preference.
* Adjusted the "No recent app" message layout.
* No "Location services" category when empty.
* Removed "Under Construction" finally, hooray!
Change-Id: I83fd1d7a1b0235ad21b3a5c54542e937b60b3940
2013-08-22 12:36:20 -07:00
Lifu Tang
25518c3b45
Sort "Location services" alphabetically
...
* Sort "Location services" items by title
* Throttle the rate of loading status messages
Change-Id: Iecb039a4ab94a810e11ef3e426e4a4b5c8c75c37
2013-08-21 16:52:14 -07:00
Tom O'Neill
4a70f652ad
Move UPDATE_INTENT to SettingsInjectorService
...
Change-Id: I657c799b791e49e4af097f3cc4afdaa8f48325ac
2013-08-19 13:13:25 -07:00
Tom O'Neill
e2921c9566
Settings app supports location settings injection
...
- Partial fix for b/10287745
Change-Id: Ia5eb05670957125e70717c86a686a54b77b22455
2013-08-12 16:22:48 -07:00