3352 Commits

Author SHA1 Message Date
Baligh Uddin
0859e3df78 Import translations. DO NOT MERGE
Change-Id: I052c93fa4fb154c8f07429c38e0e9a809e84f14a
Auto-generated-cl: translation import
2012-09-18 10:14:45 -07:00
Christopher Tate
d384c507ac am f1aa107b: Merge "Per-user content observer APIs" into jb-mr1-dev
* commit 'f1aa107b183189d65315d152148dc96b48f6e4b0':
  Per-user content observer APIs
2012-09-17 17:36:08 -07:00
Christopher Tate
f1aa107b18 Merge "Per-user content observer APIs" into jb-mr1-dev 2012-09-17 17:34:00 -07:00
Christopher Tate
16aa973617 Per-user content observer APIs
Callers with INTERACT_ACROSS_USERS_FULL permission can now observe content
for a given user's view (and can notify content uri changes targeted to a
specific user).  An observer watching for UserHandle.USER_ALL will see all
notifications for the given uri across all users; similarly, a notifier
who specifies USER_ALL will broadcast the change to all observers across
all users.

The API handles both USER_ALL or USER_CURRENT, and explicitly forbids
any other "pseudouser" designations.

This CL also revs the Settings provider to notify with USER_ALL for
changes to global settings, and with only the affected user's handle
for all other changes.

Bug 7122169

Change-Id: I94248b11aa91d1beb0a36432e82fe5725bb1264f
2012-09-17 16:35:36 -07:00
Winson Chung
7b178ef6ec am f9c6a10d: Merge "Making QS scrollable and making numerous tweaks." into jb-mr1-dev
* commit 'f9c6a10d3f5b6e9f478c31e3f989358edcc62db0':
  Making QS scrollable and making numerous tweaks.
2012-09-17 15:02:35 -07:00
Winson Chung
f9c6a10d3f Merge "Making QS scrollable and making numerous tweaks." into jb-mr1-dev 2012-09-17 14:59:45 -07:00
Winson Chung
5f623011db Making QS scrollable and making numerous tweaks.
- Updating new assets (all line up)
- Updating brightness tile to reflect auto state
- Fixing network tile asset colors
- Adding press feedback

Change-Id: I857f141258eefec65243454cb69905cbd2a10bf6
2012-09-17 14:59:39 -07:00
Michael Jurka
82b38b6655 am 7109aad6: Merge "Fix issue where recents would not show up sometimes" into jb-mr1-dev
* commit '7109aad6a17dbf8a4292477671b60f155effab38':
  Fix issue where recents would not show up sometimes
2012-09-17 13:31:28 -07:00
Michael Jurka
7109aad6a1 Merge "Fix issue where recents would not show up sometimes" into jb-mr1-dev 2012-09-17 13:29:03 -07:00
Michael Jurka
cbe69206c0 Fix issue where recents would not show up sometimes
Change-Id: Iea78f447b71ae23630c76c8982e69c780eef9df6
2012-09-17 11:51:18 -07:00
Baligh Uddin
5dbeb6a8ff Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-17 08:55:59 -07:00
Siva Velusamy
a04982f072 am 9d7657c5: Merge "PhoneStatusBar: Fix NPE while accessing quick settings." into jb-mr1-dev
* commit '9d7657c5b569e503a65f1bbe5f0e93309bf33342':
  PhoneStatusBar: Fix NPE while accessing quick settings.
2012-09-17 08:44:51 -07:00
Siva Velusamy
9d7657c5b5 Merge "PhoneStatusBar: Fix NPE while accessing quick settings." into jb-mr1-dev 2012-09-17 08:42:05 -07:00
Christopher Tate
55ffb815ae am 2892dfbe: Merge "Fix default population of wifi settings" into jb-mr1-dev
* commit '2892dfbeafec5315d05fb6ceabeaee73b88f5ff0':
  Fix default population of wifi settings
2012-09-15 16:11:53 -07:00
Daniel Sandler
3b9d9b1bd4 am 8dd9206a: Fix NPE in rotation lock QS.
* commit '8dd9206abbca6d143e3874abf46eca67f5340b31':
  Fix NPE in rotation lock QS.
2012-09-15 16:11:49 -07:00
Christopher Tate
2892dfbeaf Merge "Fix default population of wifi settings" into jb-mr1-dev 2012-09-14 17:59:00 -07:00
Christopher Tate
6f5a9a9652 Fix default population of wifi settings
Various wifi settings that are explicitly defaulted did not get their
default code properly converted to refer to the correct settings
database table.

A collection of moved-to-Global settings that had not yet been
marked @deprecated in the Secure.* namespace are now so marked.

Also updated the namespace used to refer to wifi settings from the
Wifi Service.  These changes are cosmetic, but they do eliminate a
number of runtime log messages.

Bug 7153671

Change-Id: I9e5b6464d025cfb480ef97373996e38e82f90593
2012-09-14 17:57:35 -07:00
Daniel Sandler
8dd9206abb Fix NPE in rotation lock QS.
Bug: 7172228
Change-Id: I3ac35e18fe7ce5af13ee4c54dabae80df696c819
2012-09-14 17:29:21 -07:00
Siva Velusamy
537421bed2 PhoneStatusBar: Fix NPE while accessing quick settings.
Fixes Bug 7137026

Change-Id: Id156cf8ebb1a31202015a167185a6588283128f8
2012-09-14 14:48:58 -07:00
Winson Chung
dda3f13f52 am 4f49d945: Adding data type overlay to network tile.
* commit '4f49d9450fe919868f9a9a9a44db59ca2497150c':
  Adding data type overlay to network tile.
2012-09-14 14:02:10 -07:00
Winson Chung
4f49d9450f Adding data type overlay to network tile.
Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa
2012-09-14 14:02:07 -07:00
Baligh Uddin
4a0c3b1ff0 Import translations. DO NOT MERGE
Change-Id: Ie3512f874a89b0d99d4533a9d0620aaa5b85b555
Auto-generated-cl: translation import
2012-09-14 12:51:51 -07:00
Winson Chung
dfc03e63de am 49321ec4: Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev
* commit '49321ec4fb30ab0c709c1e808701f63f38f8cbe7':
  Suppress ExpandHelper on quick settings.
2012-09-14 12:29:45 -07:00
Winson Chung
9f3b9a138b am d4726d06: Adding rotation lock tile to quick settings (on tablets).
* commit 'd4726d062e277b360046609f35e1aa8572e8e364':
  Adding rotation lock tile to quick settings (on tablets).
2012-09-14 12:29:39 -07:00
Winson Chung
d4726d062e Adding rotation lock tile to quick settings (on tablets).
Change-Id: Ia68c07051acc1f0f42dde0b1322db034b5d54506
2012-09-14 12:28:40 -07:00
Winson Chung
49321ec4fb Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev 2012-09-14 12:27:55 -07:00
Christopher Tate
c1e27dc060 am 0dbc4108: Merge "Fix Settings writes to a different user" into jb-mr1-dev
* commit '0dbc4108005445d241c5f6990000d25a09a8e00e':
  Fix Settings writes to a different user
2012-09-14 11:37:54 -07:00
Christopher Tate
0dbc410800 Merge "Fix Settings writes to a different user" into jb-mr1-dev 2012-09-14 11:35:19 -07:00
Baligh Uddin
1a5efec6a0 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-13 21:49:37 -07:00
Christopher Tate
78d2a66ac1 Fix Settings writes to a different user
Oops.  Stacked bugs:  first, the desired user handle was not properly
being passed from the call() entry point to the database operations;
then on top of that, the client-side cache management was still
looking in the local user's cache for the data, so a request to read
a different user's settings would return the local user's instead if
that key was already known to the local user's cache.

Reads and writes of a different user's settings are now uncached,
so they're relatively much slower.  They're rare, however, so this
is not something to worry about unless we encounter a real world
case where it's a significant factor.

This CL also adds a bit of cross-user settings read/write testing
to the existing provider suite.  These new tests caught both the
known wrong-user-write bug and discovered the client-side cache
bug, so yay.

Finally, the existing wholesale mutual-exclusion approach would
deadlock in certain circumstances due to the fact that the
settings database creation code might have to call out to the
Package Manager while populating the bookmark/shortcut table,
and the Package Manager would then call back into the settings
provider in the course of handling that request.  The synchronization
regime has been significantly tightened up now: now the database
code [which is known to deal with concurrency itself] is allowed
to cope with multiple parallel openers of the same db; this
allows the settings provider to avoid calling out to other parts
of the system even implicitly while its internal lock is held.

Change-Id: Ib77d445b4a2ec658cc5c210830f6977c981f87ed
2012-09-13 19:15:54 -07:00
Winson Chung
901f02d025 am ed1395f3: Updating Wifi/Mobile tiles to reflect actual connection state with new assets.
* commit 'ed1395f3981193c762e436cd1db725ce70022e43':
  Updating Wifi/Mobile tiles to reflect actual connection state with new assets.
2012-09-13 18:16:58 -07:00
Winson Chung
ed1395f398 Updating Wifi/Mobile tiles to reflect actual connection state with new assets.
Change-Id: Ic1cd78c77f94f1c9cf9bbc1bcea3082ca536d94c
2012-09-13 18:16:02 -07:00
Winson Chung
9e299c3e47 am 81665b9b: Merge "Updating assets, fixing Battery tile to show proper states." into jb-mr1-dev
* commit '81665b9b370ef6283e2c02cddfa644f1ed0f47c4':
  Updating assets, fixing Battery tile to show proper states.
2012-09-13 17:26:34 -07:00
Winson Chung
81665b9b37 Merge "Updating assets, fixing Battery tile to show proper states." into jb-mr1-dev 2012-09-13 16:38:49 -07:00
Winson Chung
eaa5ab01a1 Updating assets, fixing Battery tile to show proper states.
Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15
2012-09-13 16:36:59 -07:00
Christopher Tate
b0f34c8e18 am 303309cb: Merge "Settings db upgrade steps only apply to the owner user" into jb-mr1-dev
* commit '303309cb42ed989ef5988d058bfa9c5fdd5f972d':
  Settings db upgrade steps only apply to the owner user
2012-09-13 14:51:40 -07:00
Christopher Tate
59c5beec64 Settings db upgrade steps only apply to the owner user
Change-Id: Ib74b42bcc2554edf721199f31f563daa9fc227a2
2012-09-13 14:46:25 -07:00
Baligh Uddin
38ba12cbdf Import translations. DO NOT MERGE
Change-Id: I45ff6d7cc265f5125ee3c651613f558182717b69
Auto-generated-cl: translation import
2012-09-13 12:07:20 -07:00
Michael Jurka
d0c9b86bb4 am 86398b69: Merge "Fix crash in recents" into jb-mr1-dev
* commit '86398b694697f504798ccda129df578e231e2274':
  Fix crash in recents
2012-09-13 11:19:58 -07:00
Michael Jurka
86398b6946 Merge "Fix crash in recents" into jb-mr1-dev 2012-09-13 11:17:31 -07:00
Michael Jurka
482f159dc4 Fix crash in recents
Bug: 7128044

Change-Id: Icaec50ef9dfbc5da78d71925215c3363f58d7d3d
2012-09-13 11:12:00 -07:00
Jeff Sharkey
e2332dfc3b am cae22d83: Merge "Give DefaultContainerService all external storage." into jb-mr1-dev
* commit 'cae22d83a7225c38ef6f51723e13d5741d1cd69b':
  Give DefaultContainerService all external storage.
2012-09-13 01:34:30 -07:00
Jeff Sharkey
cae22d83a7 Merge "Give DefaultContainerService all external storage." into jb-mr1-dev 2012-09-13 01:31:04 -07:00
Jeff Sharkey
dfa45309e0 Give DefaultContainerService all external storage.
Now we can bind to just one instance of DCS, instead of requiring
one-per-user. This also means we can operate on otherwise-stopped
users.

Bug: 7003520
Change-Id: I4881e064ae8942907f6a02c6b868926223455cdc
2012-09-13 01:04:15 -07:00
Daniel Sandler
b4e56edde6 Suppress ExpandHelper on quick settings.
Bug: 7004997
Change-Id: I423de03022982d9f87451eb3fb5ffdca818cac8a
2012-09-12 23:07:44 -07:00
Svetoslav Ganov
1b269a6d6f am 27d91832: Merge "Core accessibility settings should not be cleared on restore." into jb-mr1-dev
* commit '27d91832235a061cf57a78643a4d34feda7c0070':
  Core accessibility settings should not be cleared on restore.
2012-09-12 21:43:13 -07:00
Svetoslav Ganov
27d9183223 Merge "Core accessibility settings should not be cleared on restore." into jb-mr1-dev 2012-09-12 21:40:55 -07:00
Svetoslav Ganov
818d204590 Core accessibility settings should not be cleared on restore.
1. The core accessibility settings required for a blind user to use
   the device should not be overwritten on restore. There could have
   been enabled via a global gesture from setup wizard, hence the
   user definitely needs them. Restoring disabled values for these
   settings render the device useless unless sighted help is sought.

bug:7138401

Change-Id: Idc593889aa61fada65b0407623720517c827df53
2012-09-12 21:40:21 -07:00
Winson Chung
2a4057d2e9 Updating IME tile with proper subtype name.
Change-Id: Ie7fed20873f51e3b2b4def14532df00d71762418
2012-09-12 18:30:53 -07:00
Winson Chung
16da6625cf am 2a4057d2: Updating IME tile with proper subtype name.
* commit '2a4057d2e915a0726d8775a196374e320a9f15dc':
  Updating IME tile with proper subtype name.
2012-09-12 18:30:49 -07:00