Commit Graph

10 Commits

Author SHA1 Message Date
Lifu Tang
72bafff2b8 Used BroadcastReceiver to monitor mode changes
- Fix b/10648447

Change-Id: Ic6dc125b6548436e9786e50bc52908c39ea4579a
2014-01-31 12:20:23 -08:00
Lifu Tang
8a4c53ac2b Limits the broadcast to system apps only
- Part of b/10974059

Change-Id: I1f0b6eeece88a2ee29b76636b9ce58dcc3d71aad
2013-10-08 16:23:52 -07:00
Lifu Tang
1673fbc029 Broadcasting a message for mode changing
- Fix b/10974059

Change-Id: I219ea35e65a36af9f041a487dd8039bb5e2f048b
2013-10-08 09:48:41 -07:00
Lifu Tang
96f95212b8 Fixed the crash on screen rotation
- Fix b/10607566

Change-Id: I078e59af2a76deb272b870d7708ee4148c68590e
2013-09-03 13:53:16 -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
Lifu Tang
4fb17c1c98 Disallows setting when user restriction applies
- Fix b/10116533

Change-Id: Ib171f9545c1651fb36c408decefa47b3d82ba3ab
2013-08-28 13:41:20 -07:00
Tom O'Neill
93259c14f3 Switch to new location mode API recommended by API council
- Part of b/10461763 fix

Change-Id: I202ce4c817f24a1682796e92fed9cc3efcc31a81
2013-08-26 14:40:54 -07:00
David Christie
512183ea8e Switch location Settings and Power widget to use new Settings api.
Change-Id: I06b7a2e21876a18d9ad42fda2a6c6d4c7b6add48
2013-08-20 15:24:21 -07:00
Lifu Tang
e631423290 Finished the location settings
Change-Id: I333fcc74ad387ef6edaa558656d3eaa91feb8fe9
2013-08-07 17:45:24 -07:00