88555 Commits

Author SHA1 Message Date
Christopher Tate
e827b3642f am e8e2f229: am 35dd7522: Merge "Rewrite raw insert()s and some raw query()s of moved-to-global keys" into jb-mr1-dev
* commit 'e8e2f2296a38058b7ea1a635e404b0eae5c5e46c':
  Rewrite raw insert()s and some raw query()s of moved-to-global keys
2012-10-03 19:35:48 -07:00
Christopher Tate
e8e2f2296a am 35dd7522: Merge "Rewrite raw insert()s and some raw query()s of moved-to-global keys" into jb-mr1-dev
* commit '35dd752238d3ce3b83e78eb4b00a85ea3d067088':
  Rewrite raw insert()s and some raw query()s of moved-to-global keys
2012-10-03 19:33:58 -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
Svetoslav Ganov
1aa3f76b1f am 664af173: am a6cab32d: Merge "Events for window\'s content change should be dispatched only for the active window." into jb-mr1-dev
* commit '664af173ef0cf199e947528d4b159e298ae06758':
  Events for window's content change should be dispatched  only for the active window.
2012-10-03 19:04:34 -07:00
Svetoslav Ganov
664af173ef am a6cab32d: Merge "Events for window\'s content change should be dispatched only for the active window." into jb-mr1-dev
* commit 'a6cab32d68692f69729195ac69b7f9e9c8d2001f':
  Events for window's content change should be dispatched  only for the active window.
2012-10-03 19:03:05 -07:00
Svetoslav Ganov
a6cab32d68 Merge "Events for window's content change should be dispatched only for the active window." into jb-mr1-dev 2012-10-03 19:00:17 -07:00
Christopher Tate
5acd58a758 am d2426a91: am 1a2fac3e: Merge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev
* commit 'd2426a91f20dcff6a1845a94a7fa914c63d2de5b':
  Use myUserId() only in registerContentObserver()
2012-10-03 18:59:54 -07:00
Christopher Tate
d2426a91f2 am 1a2fac3e: Merge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev
* commit '1a2fac3eeda031ac5f4c7d17c883d54af5661a66':
  Use myUserId() only in registerContentObserver()
2012-10-03 18:57:23 -07:00
Christopher Tate
1a2fac3eed Merge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev 2012-10-03 18:54:49 -07:00
Adam Powell
bc2ddd5192 am 057b2f12: am ac2fc163: Merge "Remove unneeded margin below action bar subtitles" into jb-mr1-dev
* commit '057b2f12a964ec2508ae8958240c908857eaebb6':
  Remove unneeded margin below action bar subtitles
2012-10-03 18:54:40 -07:00
Adam Powell
057b2f12a9 am ac2fc163: Merge "Remove unneeded margin below action bar subtitles" into jb-mr1-dev
* commit 'ac2fc16373fb93f28c9335c27dff744194b28678':
  Remove unneeded margin below action bar subtitles
2012-10-03 18:52:12 -07:00
Romain Guy
bf8d8e73e4 am 5971d03f: am f7ee2a03: Merge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev
* commit '5971d03f233c52d697e55ee83d8e514adac21527':
  Fix rendering artifacts on tiled renderers Bug #7275145
2012-10-03 18:52:03 -07:00
Dianne Hackborn
85486bd33d am cd09cb8f: am 6fb7fd3a: Merge "Fix issue #7267494, issue #7212347" into jb-mr1-dev
* commit 'cd09cb8fb79442aa22018db9134ef1ef22059360':
  Fix issue #7267494, issue #7212347
2012-10-03 18:50:18 -07:00
Adam Powell
ac2fc16373 Merge "Remove unneeded margin below action bar subtitles" into jb-mr1-dev 2012-10-03 18:50:10 -07:00
Romain Guy
5971d03f23 am f7ee2a03: Merge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev
* commit 'f7ee2a03c1f930db4b20c04225f496ada97e646b':
  Fix rendering artifacts on tiled renderers Bug #7275145
2012-10-03 18:49:30 -07:00
Dianne Hackborn
cd09cb8fb7 am 6fb7fd3a: Merge "Fix issue #7267494, issue #7212347" into jb-mr1-dev
* commit '6fb7fd3a0939413d8968fc0d404ed499d7f7dc52':
  Fix issue #7267494, issue #7212347
2012-10-03 18:47:51 -07:00
Romain Guy
f7ee2a03c1 Merge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev 2012-10-03 18:47:35 -07:00
Dianne Hackborn
6fb7fd3a09 Merge "Fix issue #7267494, issue #7212347" into jb-mr1-dev 2012-10-03 18:45:37 -07:00
Svetoslav Ganov
58fd9f8d6a Events for window's content change should be dispatched only for the active window.
1. Accessibility events for changes in the content of a given window, such as
   click, focus, etc. are dispatched to clients only if they come from the
   active window.

   Events for changes in the state of a window, such as window got input focus
   or a notification appeared, are always dispatched. The notification events
   do not contain source, so a client cannot introspect the notification area
   (unless the user explicitly touches it which generates hove events). The
   events for a window getting input focus change the active window so they
   have to be dispatched.

   Events that are a result of the user touching the screen, such as hover
   enter, first tocuh, etc. should always be dispatched.

bug:7282006

Change-Id: I96b79189f8571285175d9660a22394cc84f39559
2012-10-03 18:33:30 -07:00
Adam Powell
17033bfa15 Remove unneeded margin below action bar subtitles
This just throws off alignment when the natural centering of this
layout will take care of things.

Bug 6369593

Change-Id: If0993091e0d47011f3bf5dd0b5a1fa649471f8e6
2012-10-03 18:31:08 -07:00
Justin Koh
11adf0ad31 am a521abef: Merge "Synthesizing D-pad event directly from motion events. Includes fling." into jb-mr1-aah-dev
* commit 'a521abef83bc329931ef9b8230fe1ae9e1a87b3a':
  Synthesizing D-pad event directly from motion events.  Includes fling.
2012-10-03 18:20:33 -07:00
Justin Koh
a521abef83 Merge "Synthesizing D-pad event directly from motion events. Includes fling." into jb-mr1-aah-dev 2012-10-03 18:17:06 -07:00
Romain Guy
dfab363807 Fix rendering artifacts on tiled renderers
Bug #7275145

This change fixes ViewRoot and adds extra debug information. It does
not solve the problem entirely. Another CL will.

Change-Id: I7e604ba38aad7f421769783dcbd998d6905ab2d9
2012-10-03 18:07:59 -07:00
Dianne Hackborn
c428aae642 Fix issue #7267494, issue #7212347
7267494 Calendar is not syncing
Check for whether a content provider is dead before returning
it.  This is kind-of a band-aid, but probably the right thing
to do; I'm just not sure exactly the full details of why this
problem is happening.  Hopefully this "fixes" it, though I don't
have a way to repro to tell.

7212347 System power off dialog is only visible to user 0
Make it visible.  Also turn on some battery debugging stuff and
clean it up so we can just keep it.

Change-Id: I5add25bf2a763c8dfe1df23bc5c753a9ea5d157a
2012-10-03 18:07:23 -07:00
Fabrice Di Meglio
b4a80baaff am 5e5169b0: am 33c36895: Merge "Fix bug #7282594 EditText does not allow to move the cursor when typing RTL text and if gravity is set to LEFT" into jb-mr1-dev
* commit '5e5169b0d0d51e042a79ca32d2825fc5f4a25531':
  Fix bug #7282594 EditText does not allow to move the cursor when typing RTL text and if gravity is set to LEFT
2012-10-03 17:48:09 -07:00
Fabrice Di Meglio
5e5169b0d0 am 33c36895: Merge "Fix bug #7282594 EditText does not allow to move the cursor when typing RTL text and if gravity is set to LEFT" into jb-mr1-dev
* commit '33c36895a294c7b731fd59017a7ea0f06ac2a356':
  Fix bug #7282594 EditText does not allow to move the cursor when typing RTL text and if gravity is set to LEFT
2012-10-03 17:45:16 -07:00
Fabrice Di Meglio
33c36895a2 Merge "Fix bug #7282594 EditText does not allow to move the cursor when typing RTL text and if gravity is set to LEFT" into jb-mr1-dev 2012-10-03 17:43:08 -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
Scott Main
0681e7557f am 7edd346a: am 55941e3e: am c1f68fdd: am 3a247b27: am 48b2cadf: fix badge generator button
* commit '7edd346a9b70fc46be7bf8f777bcf4e73ef7bb3a':
  fix badge generator button
2012-10-03 17:34:42 -07:00
Scott Main
7edd346a9b am 55941e3e: am c1f68fdd: am 3a247b27: am 48b2cadf: fix badge generator button
* commit '55941e3e953c3007c46d554c7a4f018043894980':
  fix badge generator button
2012-10-03 17:32:53 -07:00
Ben Pietrzak
6f403a8290 Synthesizing D-pad event directly from motion events. Includes fling.
Change-Id: I0b1d4fafee6f21b64ca8b4480e4fde73085efbbe
2012-10-03 17:31:49 -07:00
Scott Main
55941e3e95 am c1f68fdd: am 3a247b27: am 48b2cadf: fix badge generator button
* commit 'c1f68fdde0880270d0b865ad6a728d65355dbb44':
  fix badge generator button
2012-10-03 17:31:05 -07:00
Scott Main
c1f68fdde0 am 3a247b27: am 48b2cadf: fix badge generator button
* commit '3a247b27284060ce16346091a8bb8bf36fc41b5a':
  fix badge generator button
2012-10-03 17:28:53 -07:00
Scott Main
3a247b2728 am 48b2cadf: fix badge generator button
* commit '48b2cadf1bc2c1c3400e567e1ea7c66be86e3ff5':
  fix badge generator button
2012-10-03 17:26:24 -07:00
Scott Main
48b2cadf1b fix badge generator button
Change-Id: I797da9baca30873db0c3600de67c41a0fba1b492
2012-10-03 17:23:45 -07:00
Amith Yamasani
23243730a2 am f4809ebb: am 2e307a61: Merge "No breadcrumbs for single-pane preferences" into jb-mr1-dev
* commit 'f4809ebba77bdf84b700ae863bfbd913367908d4':
  No breadcrumbs for single-pane preferences
2012-10-03 17:18:29 -07:00
Fabrice Di Meglio
db24f0a73f Fix bug #7282594 EditText does not allow to move the cursor when typing RTL text and if gravity is set to LEFT
- fold LEFT/RIGHT into NORMAL/OPPOSITE cases

Change-Id: Idf14342ffed4840e7b4ea53cc42f1cde8f196a4c
2012-10-03 17:17:14 -07:00
Amith Yamasani
f4809ebba7 am 2e307a61: Merge "No breadcrumbs for single-pane preferences" into jb-mr1-dev
* commit '2e307a61a3730e6b65906f575d85258b197e3494':
  No breadcrumbs for single-pane preferences
2012-10-03 17:16:32 -07:00
Amith Yamasani
2e307a61a3 Merge "No breadcrumbs for single-pane preferences" into jb-mr1-dev 2012-10-03 17:13:24 -07:00
Mike Cleron
7df0b2600f am 0295233e: am 0fd713ca: Merge "Exception in the touch explorer when dragging." into jb-mr1-dev
* commit '0295233ec724c7d97ac25fa832e175bdbebf36f7':
  Exception in the touch explorer when dragging.
2012-10-03 17:11:14 -07:00
Mike Cleron
0295233ec7 am 0fd713ca: Merge "Exception in the touch explorer when dragging." into jb-mr1-dev
* commit '0fd713ca12da9a1ecaaca3a117057b8d94704a99':
  Exception in the touch explorer when dragging.
2012-10-03 17:09:11 -07:00
Mike Cleron
0fd713ca12 Merge "Exception in the touch explorer when dragging." into jb-mr1-dev 2012-10-03 17:07:05 -07:00
Svetoslav Ganov
ec33d56300 Exception in the touch explorer when dragging.
1. During a drag in touch exploration we have two pointers moving in the same
   direction but inject only one of them. If the dragging pointer goes up we
   send an up to the view system and wait for all pointers to go up to transition
   to touch exploring state. At this point the dragging pointer id is cleared
   and if a new pointer goes down we are trying to send up (rather do nothing)
   for the dragging pointer which we already did and due to the invalid pointer
   id we get an exception when splitting the motion event.

bug:7282053

Change-Id: I690bf8bdf6e2e5851ee46a322c4a1bb7d484b53a
2012-10-03 17:05:57 -07:00
Daniel Sandler
0923060dc3 am d564f0c5: am 88c3a511: Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev
* commit 'd564f0c5aa2bc924d6306133557310d10e9346b9':
  Fix a bug in double-swiping panels...
2012-10-03 17:03:57 -07:00
Daniel Sandler
d564f0c5aa am 88c3a511: Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev
* commit '88c3a51123bf39988c33c9074289fddff0e0fec8':
  Fix a bug in double-swiping panels...
2012-10-03 17:00:55 -07:00
Svetoslav Ganov
018505878f am f9cd43c1: am 04fe8eba: Merge "Exception when performing the global gestrue to enable accessibility." into jb-mr1-dev
* commit 'f9cd43c16007b584521faab0d4a77721930a445e':
  Exception when performing the global gestrue to enable accessibility.
2012-10-03 16:59:20 -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
Scott Main
83ded83c5e am df0e3c2e: am 6cc795a1: am 663db551: am 4d62456e: resolved conflicts for merge of f15f8a1b to jb-dev
* commit 'df0e3c2efd4505ece88716a30153e6fa451ffac9':
  add analytics event tracking for Design downloads, SDK downloads, Badges and Device art.
2012-10-03 16:57:38 -07:00
Svetoslav Ganov
f9cd43c160 am 04fe8eba: Merge "Exception when performing the global gestrue to enable accessibility." into jb-mr1-dev
* commit '04fe8eba97ff8653e17efe745141d82d5a311ed5':
  Exception when performing the global gestrue to enable accessibility.
2012-10-03 16:57:34 -07:00