3989 Commits

Author SHA1 Message Date
Daniel Sandler
cccd6ada95 am 8b14fda4: am f7eef4e3: am 2a04e740: Merge "Updated clock hands for Quick Settings." into jb-mr1-dev
* commit '8b14fda4f36c86eaa8b4c9e072398d61228a26d7':
  Updated clock hands for Quick Settings.
2012-10-04 22:17:15 -07:00
Daniel Sandler
2a04e74097 Merge "Updated clock hands for Quick Settings." into jb-mr1-dev 2012-10-04 22:09:31 -07:00
Daniel Sandler
96b248affa Updated clock hands for Quick Settings.
Bug: 7281063
Change-Id: I03e7ca236c8cdc809e112e2e844a0006e73ab504
2012-10-05 01:07:07 -04:00
Baligh Uddin
7bfb48dda0 Merge "Import translations. DO NOT MERGE" 2012-10-04 21:54:18 -07:00
Baligh Uddin
b29088540b Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 21:53:02 -07:00
Daniel Sandler
ac377c849a am 3e78586d: am 689a55d8: am f5e2b2c2: Merge "DreamService API revisions." into jb-mr1-dev
* commit '3e78586db6ee28d5052fe9934104dec4c2e87f8b':
  DreamService API revisions.
2012-10-04 21:03:20 -07:00
Daniel Sandler
f5e2b2c26c Merge "DreamService API revisions." into jb-mr1-dev 2012-10-04 20:56:08 -07:00
Daniel Sandler
2d78490292 DreamService API revisions.
Reduce reliance on Service interface overrides, instead
steering clients to the DreamService-specific lifecycle
hooks:

  onAttachedToWindow .. onDreamingStarted ..
  onDreamingStopped .. onDetachedFromWindow

The old Dream.java is finally gone now too.

Bug: 7281802
Change-Id: Ib7802c3397fde60ad1132fa49831da182eef4d7a
2012-10-04 23:38:15 -04:00
Christopher Tate
f52745c274 am 49bbbf2c: am d87cb794: am 0cd3c976: Merge "Settings (and general) restore fixes" into jb-mr1-dev
* commit '49bbbf2c1c96432f1f599d5573931470117be45a':
  Settings (and general) restore fixes
2012-10-04 20:34:31 -07:00
Jeff Hamilton
a3d37a6c4a am 35512ab0: am f2e292f5: am 82b94649: Merge "Changes to support updating location providers." into jb-mr1-dev
* commit '35512ab00697ce50f9ff5a39f3f3a4ccb7e3b7f0':
  Changes to support updating location providers.
2012-10-04 20:34:13 -07:00
Christopher Tate
0cd3c976a2 Merge "Settings (and general) restore fixes" into jb-mr1-dev 2012-10-04 19:36:41 -07:00
Christopher Tate
5067685ccf Settings (and general) restore fixes
Pro tem, we ignore wifi configuration data when restoring system settings.
This is not ideal, but it *does* mean we do not bounce wifi off and on
again during the extended restore process, which in turn means we don't
interfere with things like the Play Store's download of applications.
We do continue to back up wifi configuration, and will start using that
data again when the new implementation that restores AP configurations
without having to bounce wifi comes to pass.

Also, this CL fixes a longstanding bug in BackupDataInput.skipEntityData()
that was being reproduced reliably once settings restore was skipping
the wifi-related entities in the restore stream.

Bug 7249405

Change-Id: I61520a9a116b66ebdf95734d09d9afd46406df01
2012-10-04 19:10:11 -07:00
Jeff Hamilton
82b946496e Merge "Changes to support updating location providers." into jb-mr1-dev 2012-10-04 18:23:45 -07:00
Christopher Tate
201809eea6 am 6d5cd6cb: am f86aeb66: am dd2f15a5: Merge "Make sure to check write perms after rewriting destination table" into jb-mr1-dev
* commit '6d5cd6cb56c0317247ebd597b2622bfeb581bcaf':
  Make sure to check write perms after rewriting destination table
2012-10-04 17:00:28 -07:00
Christopher Tate
34637e57fc Make sure to check write perms after rewriting destination table
The write-permission check must occur after any destination-table
rewriting, otherwise any application would be able to write to
any global setting, by supplying a fraudulent "system" namespace
in the uri, but with a key name that will be redirected to global.

Bug 7289965

Change-Id: I122098a64e40d14e00d3cb6608c50aeb74faf7ce
2012-10-04 16:01:10 -07:00
John Spurlock
356340db55 am 9b7223a2: am 26f44a1d: am 3c008f26: Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev
* commit '9b7223a2d4fd8ad8d9009d863e96044dce43681a':
  Disable quick settings panel in setup wizard (user 0).
2012-10-04 13:19:15 -07:00
Baligh Uddin
f9b1b61702 Import translations. DO NOT MERGE
Change-Id: Ia2234c77193b64d5ff569215bd3c321ae452ef0c
Auto-generated-cl: translation import
2012-10-04 13:17:43 -07:00
Baligh Uddin
fb442c8398 Import translations. DO NOT MERGE
Change-Id: Ia8a06130c50c0d369a188f0b780399b51f998f3a
Auto-generated-cl: translation import
2012-10-04 13:16:23 -07:00
John Spurlock
3c008f26ca Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev 2012-10-04 13:13:01 -07:00
Daniel Sandler
1a93f5b3da am 5f784230: am 501ddf14: am c30b6da8: Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev
* commit '5f7842309ed09220d77296c055c9a62a17ad2368':
  Bring back the notification panel handle peek animation.
2012-10-04 12:48:07 -07:00
Daniel Sandler
c30b6da804 Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev 2012-10-04 12:41:41 -07:00
Daniel Sandler
0c1b75c17b Bring back the notification panel handle peek animation.
Bug: 7286201
Change-Id: Id93d6a00689ffb7f97e89af935460b1debec3850
2012-10-04 15:37:13 -04:00
Daniel Sandler
f15baefc96 am b94f8160: am 8b4b24b2: am 0a890b3c: Merge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev
* commit 'b94f8160cb9b35856b95bdbe15ac69915737ba04':
  Remove Start Dreaming^W^W Sleep Now 1x1 widget.
2012-10-04 12:29:04 -07:00
Daniel Sandler
0a890b3ce2 Merge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev 2012-10-04 12:14:15 -07:00
Daniel Sandler
7aa88f7aad Remove Start Dreaming^W^W Sleep Now 1x1 widget.
If you need its functionality for testing:

  $ adb shell am start -n com.android.systemui/.Somnambulator

Bug: 7267723
Change-Id: I9e0dd9d020e251d1ced4377329436ea46c3a8af5
2012-10-04 15:03:22 -04:00
Baligh Uddin
c5a4a02997 Merge "Import translations. DO NOT MERGE" 2012-10-04 11:02:16 -07:00
Baligh Uddin
4ecd2f83f5 Merge "Import translations. DO NOT MERGE" 2012-10-04 11:00:42 -07:00
Baligh Uddin
b3f55fdef6 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 10:55:33 -07:00
Jeff Hamilton
c19efc204a Changes to support updating location providers.
There is now only a single config value pointing
at a list of packages to get certs from. The old
system was a bit confusing.

The fused location provider also now builds
against SDK 17, and the meta data service version
tag was renamed from the overly generic "version"
to "serviceVersion".

Bug: 7242814
Change-Id: I00d27c9cbd5cc31a37bb4a98160435d15a72e19e
2012-10-04 11:00:42 -05:00
John Spurlock
e4e8c5619c Disable quick settings panel in setup wizard (user 0).
Already fixed for additional users, but not the main user.

Bug:7285805
Change-Id: I1ab29470e23b0d06cd21919c72be72c092c86b2c
2012-10-04 09:55:01 -04:00
Chris Wren
09b1d04913 am 7ee2f9d9: am 02065846: am 6295ef32: Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev
* commit '7ee2f9d90e4e3b0926c4f4866652867920f057ef':
  hide the redundant clock when the notification shade is open.
2012-10-04 06:43:33 -07:00
Chris Wren
6295ef3251 Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev 2012-10-04 06:37:11 -07:00
Baligh Uddin
55b16ebb44 Import translations. DO NOT MERGE
Change-Id: Ied34352ea4e79b01a9b8549596a381fe08ee7e06
Auto-generated-cl: translation import
2012-10-03 19:38:55 -07:00
Christopher Tate
dbf1d1be0f am e827b364: am e8e2f229: am 35dd7522: Merge "Rewrite raw insert()s and some raw query()s of moved-to-global keys" into jb-mr1-dev
* commit 'e827b3642f2dc9dd983b5513cd76e77c2da36db7':
  Rewrite raw insert()s and some raw query()s of moved-to-global keys
2012-10-03 19:38:06 -07:00
Baligh Uddin
12cce681ef Import translations. DO NOT MERGE
Change-Id: If91f4a3f2755a7f76cab09c6f3fafe09575c8e23
Auto-generated-cl: translation import
2012-10-03 19:37:34 -07:00
Baligh Uddin
5120adbee7 Import translations. DO NOT MERGE
Change-Id: I3948ca1d5441099dae59c6e0b95e3f53acc47437
Auto-generated-cl: translation import
2012-10-03 19:36:28 -07:00
Christopher Tate
35dd752238 Merge "Rewrite raw insert()s and some raw query()s of moved-to-global keys" into jb-mr1-dev 2012-10-03 19:31:40 -07:00
Christopher Tate
c221d2be7d Rewrite raw insert()s and some raw query()s of moved-to-global keys
The Settings put*() APIs fix up references via the old namespaces,
but the raw insert() interface didn't.  Now it does.  Also, when
possible we fix up direct query() operations on the old namespace
to point to the correct one.  At present that is only done for
query() operations with Uris of the form

    content://secure/adb_enabled

There is no rewriting done on queries of the form

    content://secure WHERE name='adb_enabled'

since the app-supplied WHERE clause can be arbitrarily complex.

Bug 7267568

Change-Id: I5c8cecbea7f5b1da6247a53b1428d3effb0bbca5
2012-10-03 19:20:51 -07:00
Christopher Tate
2c7c1dfd56 am 5acd58a7: am d2426a91: am 1a2fac3e: Merge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev
* commit '5acd58a758ad9bb93d59d9d6f1dbe9f516096e3a':
  Use myUserId() only in registerContentObserver()
2012-10-03 19:01:37 -07:00
Christopher Tate
1a2fac3eed Merge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev 2012-10-03 18:54:49 -07:00
Christopher Tate
afccaa84c8 Use myUserId() only in registerContentObserver()
The reason for this is a bit subtle: we want to guarantee that
when a content observer is registered using the public API, it
is *always* bound to the host user's view of the data behind the
observed Uri, never the calling user's.  Now, the reason it was
the calling user in the first place is that the Settings provider
(and potentially any singleton provider) needs the observers
underlying Cursors returned from query() to be tied to the caller's
user, not the provider's host user.

In order to accomplish that now that the public-facing behavior is
always tied to the host user, the concrete class that implements
the Cursor type handled by the Settings provider has been extended
with a new hidden API for setting a notification observer tied to
an arbitrary user; and then the provider explicitly downcasts the
query result's Cursor to that class in order to register the
notification observer.  We can do this safely because this is platform
code; if we change the way that these underlying cursors are constructed,
we can just fix this point of call to follow along.  If they get out
of sync in the future, the Settings provider will scream bloody
murder in the log and throw a crashing exception.

Bug 7231549

Change-Id: I0aaceebb8b4108c56f8b9964ca7f9e698ddd91c8
2012-10-03 17:41:51 -07:00
Daniel Sandler
bd2000d35f am 0923060d: am d564f0c5: am 88c3a511: Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev
* commit '0923060dc33fc78221823b26d28189e5839c48d0':
  Fix a bug in double-swiping panels...
2012-10-03 17:06:27 -07:00
Daniel Sandler
88c3a51123 Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev 2012-10-03 16:58:01 -07:00
Eric Laurent
81418951b7 am 98845ef5: am 04afeea1: am 4eaa2516: Merge "fix settings data base upgrade for ringer mode" into jb-mr1-dev
* commit '98845ef5ec995dd03f9039954eaf1bc1e747e086':
  fix settings data base upgrade for ringer mode
2012-10-03 16:39:06 -07:00
Eric Laurent
4eaa25164b Merge "fix settings data base upgrade for ringer mode" into jb-mr1-dev 2012-10-03 16:31:28 -07:00
Eric Laurent
55b02226c0 fix settings data base upgrade for ringer mode
Ringer mode setting was moved from System to Global group
but a db upgrade cleanup step was missing.

Bug 7128886.

Change-Id: Id20994fe74575afa2b68154a620aa3c8807e8304
2012-10-03 16:13:04 -07:00
Adam Powell
add9d8332d am 9f6cf431: am 402bc176: am b8bb7a0e: Merge "Port unmerged notification changes from jb-dev to jb-mr1-dev" into jb-mr1-dev
* commit '9f6cf431169b49e5f49e727843d2972a9bad69f0':
  Port unmerged notification changes from jb-dev to jb-mr1-dev
2012-10-03 16:07:12 -07:00
Daniel Sandler
4377d1494c Port unmerged notification changes from jb-dev to jb-mr1-dev
Bug 7150006

Single finger notification expansion.

If you liked these changes...

  Change Ie4e79aa5
  Change I8a6f8606
  Change I824937e9
  Change I957b6d50

You'll love this one!

Conflicts:
	packages/SystemUI/res/values/config.xml
	packages/SystemUI/res/values/dimens.xml

Fix notification gestures.

Broken by recent changes to ScaleGestureDetector, which we
were using incorrectly.

Conflicts:
	packages/SystemUI/res/values/config.xml
	packages/SystemUI/res/values/dimens.xml

Change-Id: Ie534c5b2d320296531a36a9b1c22f9dd6901e0b8
2012-10-03 15:27:04 -07:00
Daniel Sandler
8c17a04451 am 55ae7beb: am 4fc8b781: am 76366938: Merge "Increase the anti-jitter threshold for status bar flings." into jb-mr1-dev
* commit '55ae7beb228198d14d679f7082bbe2fda471be46':
  Increase the anti-jitter threshold for status bar flings.
2012-10-03 14:05:11 -07:00
Chris Wren
08970499ae am 91490e93: am 04a3e809: am 4b576e39: Merge "change string for wifi not connected state." into jb-mr1-dev
* commit '91490e933629b32d43c8bb512ab404e361f61bba':
  change string for wifi not connected state.
2012-10-03 14:05:07 -07:00