Commit Graph

15 Commits

Author SHA1 Message Date
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