3438 Commits

Author SHA1 Message Date
Christopher Tate
5067ea3751 am 5bae602c: am 2892dfbe: Merge "Fix default population of wifi settings" into jb-mr1-dev
* commit '5bae602cbbb96af3290d430ab25600149d4d073d':
  Fix default population of wifi settings
2012-09-17 12:47:03 -07:00
Daniel Sandler
dc5a1b8758 am 2dd7cb6f: am 8dd9206a: Fix NPE in rotation lock QS.
* commit '2dd7cb6f6af8622c2b0b3c4f07466010f45b9460':
  Fix NPE in rotation lock QS.
2012-09-17 12:46:59 -07:00
Winson Chung
fb573e3084 am 832cf1f2: am 4f49d945: Adding data type overlay to network tile.
* commit '832cf1f2c0a021703d2c73877c56cfabd7d4b633':
  Adding data type overlay to network tile.
2012-09-17 11:29:13 -07:00
Winson Chung
17a947d561 am 90cfc3d1: am 49321ec4: Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev
* commit '90cfc3d1333edc629ea52d2ba0e6ea2484bf23a6':
  Suppress ExpandHelper on quick settings.
2012-09-17 11:09:50 -07:00
Winson Chung
136dac4356 am e9738d14: am d4726d06: Adding rotation lock tile to quick settings (on tablets).
* commit 'e9738d144b7221d6f6bf4a633fd9ae9026b87177':
  Adding rotation lock tile to quick settings (on tablets).
2012-09-17 11:09:45 -07:00
Christopher Tate
ed1c549a7d am 45b2dce9: am 0dbc4108: Merge "Fix Settings writes to a different user" into jb-mr1-dev
* commit '45b2dce9822caefe69f3f680f9e60f076f9e2eaf':
  Fix Settings writes to a different user
2012-09-17 11:09:11 -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
Winson Chung
4f49d9450f Adding data type overlay to network tile.
Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa
2012-09-14 14:02:07 -07:00
Baligh Uddin
61e2ce248d Import translations. DO NOT MERGE
Change-Id: Ie4ec01bdcc80660c40c34b6afff04ae177a1e0ca
Auto-generated-cl: translation import
2012-09-14 12:53:02 -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
0dbc410800 Merge "Fix Settings writes to a different user" into jb-mr1-dev 2012-09-14 11:35:19 -07:00
Winson Chung
f7d1614e8a am 99885f94: am ed1395f3: Updating Wifi/Mobile tiles to reflect actual connection state with new assets.
* commit '99885f94b43ed5c54b1ef6fc8117457c53af063e':
  Updating Wifi/Mobile tiles to reflect actual connection state with new assets.
2012-09-14 10:29:07 -07:00
Winson Chung
36a0a4a794 am 7cf53d92: am 81665b9b: Merge "Updating assets, fixing Battery tile to show proper states." into jb-mr1-dev
* commit '7cf53d92d56b8eecc3deb7cdc58cc00f08e5b9bb':
  Updating assets, fixing Battery tile to show proper states.
2012-09-14 10:28:33 -07:00
Baligh Uddin
1a5efec6a0 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-13 21:49:37 -07:00
Baligh Uddin
9eb1a8f004 Merge "Import translations. DO NOT MERGE" 2012-09-13 21:46:52 -07:00
Baligh Uddin
1ca403fc2f Merge "Import translations. DO NOT MERGE" 2012-09-13 21:38:03 -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
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
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
1174b98269 am 3542a496: am 303309cb: Merge "Settings db upgrade steps only apply to the owner user" into jb-mr1-dev
* commit '3542a496c68b7d0af462135a29759fd33c0fe8cc':
  Settings db upgrade steps only apply to the owner user
2012-09-13 14:53:14 -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
Michael Jurka
66f5ff5589 am b47a442a: am 86398b69: Merge "Fix crash in recents" into jb-mr1-dev
* commit 'b47a442a14ea085d50e1ad35798ee54f6fe65923':
  Fix crash in recents
2012-09-13 14:12:41 -07:00
Jeff Sharkey
870c5d56b3 am 2b28b37b: am cae22d83: Merge "Give DefaultContainerService all external storage." into jb-mr1-dev
* commit '2b28b37b201e621e316eb778cdc5c1669d0e3506':
  Give DefaultContainerService all external storage.
2012-09-13 14:11:17 -07:00
Svetoslav Ganov
7695c458d3 am eb930de9: am 27d91832: Merge "Core accessibility settings should not be cleared on restore." into jb-mr1-dev
* commit 'eb930de972aeeb8f44b643d4a1e621b6222aeda6':
  Core accessibility settings should not be cleared on restore.
2012-09-13 14:10:39 -07:00
Winson Chung
3402c9c38e am 3a10001e: am 2a4057d2: Updating IME tile with proper subtype name.
* commit '3a10001ee7e91815d1f257f3aff855d7fcff029c':
  Updating IME tile with proper subtype name.
2012-09-13 14:04:53 -07:00
Winson Chung
0477d1f576 am 64d0bced: am 43229d70: Adding IME tile.
* commit '64d0bced28ef9d771c1c4b75f2e7266f9ca39547':
  Adding IME tile.
2012-09-13 14:04:40 -07:00
Christopher Tate
fc06d26149 am af40ea4c: am 79cf1a22: Merge "Moved a few telephony settings from Secure to Global" into jb-mr1-dev
* commit 'af40ea4cc2da36475965e0562f36d8e1b81f4344':
  Moved a few telephony settings from Secure to Global
2012-09-13 14:04:30 -07:00
Baligh Uddin
4110109cd7 Import translations. DO NOT MERGE
Change-Id: I819f42df4c6909d695e78420670d76919a497c06
Auto-generated-cl: translation import
2012-09-13 12:10:37 -07:00
Baligh Uddin
b70babcbe1 Import translations. DO NOT MERGE
Change-Id: Ib07f72c5718c33d0a218d1ba7e13e878d1ec7615
Auto-generated-cl: translation import
2012-09-13 12:09:04 -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
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
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
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
43229d7075 Adding IME tile.
- Adding checks for telephony before showing RSSI tile

Change-Id: I1dc4fb7a07d9693d8c6a96678ac9d4ff9abafe44
2012-09-12 18:06:23 -07:00
Christopher Tate
c868b645b4 Moved a few telephony settings from Secure to Global
Also tidy up the bookkeeping for a few settings that were earlier
moved to Global without the redirect tables being fixed up.

Change-Id: I69275db3b2636cd6ba9c8c51b88e97d8ba4b7b7d
2012-09-12 17:42:43 -07:00
Winson Chung
2ded0a3a7a am 4bd63054: am 709c542b: Merge "Fixing crash in emulator due to missing bluetooth." into jb-mr1-dev
* commit '4bd63054bbe489d951bb621f0037f401ee3055f2':
  Fixing crash in emulator due to missing bluetooth.
2012-09-12 15:35:13 -07:00
Benoit Goby
8e1ea422e6 am d5e19031: am 73e0d75c: Merge "UsbDebuggingActivity: Strings update after review" into jb-mr1-dev
* commit 'd5e190312dfe196fb61e70b6a916e479026ad9c4':
  UsbDebuggingActivity: Strings update after review
2012-09-12 15:34:49 -07:00
Christopher Tate
a25bbca8cc am ae25805d: am 99c0cb3b: Merge "Set up default (random) Android IDs for all users" into jb-mr1-dev
* commit 'ae25805d2063d81d3e8ae786b0d972b666c5cf18':
  Set up default (random) Android IDs for all users
2012-09-12 15:34:18 -07:00
Winson Chung
4d571f1d84 am fcde3a44: am db425bbb: Merge "Fixing issue with Airplane Mode. (Bug 7141144)" into jb-mr1-dev
* commit 'fcde3a44da4a792fc88f8700d913a7f0155934ba':
  Fixing issue with Airplane Mode. (Bug 7141144)
2012-09-12 13:18:12 -07:00
Winson Chung
709c542b67 Merge "Fixing crash in emulator due to missing bluetooth." into jb-mr1-dev 2012-09-11 17:10:43 -07:00
Winson Chung
6072b00b62 Fixing crash in emulator due to missing bluetooth.
Change-Id: I0f652198cc759fac44f0de1729fcb52f515071a3
2012-09-11 17:10:32 -07:00