88582 Commits

Author SHA1 Message Date
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
alanv
1a1918a5a6 Announce changes in keyguard message, e.g. bad unlock pattern.
Bug: 7280849
Change-Id: Ie28f7fa2f249c11d6523955de526d5f72da8d6f3
2012-10-03 17:40:40 -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
Scott Main
df0e3c2efd am 6cc795a1: am 663db551: am 4d62456e: resolved conflicts for merge of f15f8a1b to jb-dev
* commit '6cc795a18bb7e718ae5be2bfea5e9f0c708ab143':
  add analytics event tracking for Design downloads, SDK downloads, Badges and Device art.
2012-10-03 16:55:49 -07:00
Svetoslav Ganov
04fe8eba97 Merge "Exception when performing the global gestrue to enable accessibility." into jb-mr1-dev 2012-10-03 16:55:20 -07:00
mike wakerly
419a85e47e am 067bf854: am 2e7b11af: Merge "NfcAdapterExtras: expose driver name." into jb-mr1-dev
* commit '067bf85404b704f046f777c2c4c2e218808ac6a0':
  NfcAdapterExtras: expose driver name.
2012-10-03 16:53:50 -07:00
Scott Main
6cc795a18b am 663db551: am 4d62456e: resolved conflicts for merge of f15f8a1b to jb-dev
* commit '663db551ce9e9f86693315cbc995e2215d1cf2e5':
  add analytics event tracking for Design downloads, SDK downloads, Badges and Device art.
2012-10-03 16:53:10 -07:00
mike wakerly
067bf85404 am 2e7b11af: Merge "NfcAdapterExtras: expose driver name." into jb-mr1-dev
* commit '2e7b11af55efa97239ac2d96d36bc80e7107ffca':
  NfcAdapterExtras: expose driver name.
2012-10-03 16:50:59 -07:00
Scott Main
663db551ce am 4d62456e: resolved conflicts for merge of f15f8a1b to jb-dev
* commit '4d62456e211a0b4cd77a8967417340612994cb6c':
  add analytics event tracking for Design downloads, SDK downloads, Badges and Device art.
2012-10-03 16:50:56 -07:00
mike wakerly
2e7b11af55 Merge "NfcAdapterExtras: expose driver name." into jb-mr1-dev 2012-10-03 16:47:45 -07:00
Scott Main
d90c4d4026 am ac7d89e7: am c5caba0a: am 2af82879: am 25a9144b: Merge "docs: Update design download links" into jb-dev
* commit 'ac7d89e7d4a0a7d92643fe6114317e7c56738ad9':
  docs: Update design download links
2012-10-03 16:44:30 -07:00
Scott Main
ac7d89e7d4 am c5caba0a: am 2af82879: am 25a9144b: Merge "docs: Update design download links" into jb-dev
* commit 'c5caba0aed5f5eb6c22454e45895ff2a5abf4b46':
  docs: Update design download links
2012-10-03 16:42:38 -07:00
Scott Main
4d62456e21 resolved conflicts for merge of f15f8a1b to jb-dev
Change-Id: Ic20777658426aa27304858dd51f315ee967a7bfa
2012-10-03 16:42:06 -07:00
Scott Main
c5caba0aed am 2af82879: am 25a9144b: Merge "docs: Update design download links" into jb-dev
* commit '2af828790b261fdf9a57fa80fb6ea6415fef88ee':
  docs: Update design download links
2012-10-03 16:41:12 -07:00
Scott Main
2af828790b am 25a9144b: Merge "docs: Update design download links" into jb-dev
* commit '25a9144bf8728f24a87ca21f9e1c19c5fcc9abdc':
  docs: Update design download links
2012-10-03 16:38:42 -07:00
Svetoslav Ganov
d288337cd4 Exception when performing the global gestrue to enable accessibility.
1. If there is a non-speaking accessibility service installed and the
   global gesture is performed an exception is thrown since an attempt
   is made to modify the list with services returned by the accessibility
   manager (to remove the non-speaking ones) but this list is immutable.
   Now the returned services are put into a mutable list before removing
   the non-speaking ones.

bug:7280996

Change-Id: I2852a3e169c1d34d942b50fb439e0961394c92bc
2012-10-03 16:37:54 -07:00
Eric Laurent
98845ef5ec am 04afeea1: am 4eaa2516: Merge "fix settings data base upgrade for ringer mode" into jb-mr1-dev
* commit '04afeea14f9267715c7c11dd235e7a2f10af443e':
  fix settings data base upgrade for ringer mode
2012-10-03 16:36:36 -07:00
Scott Main
25a9144bf8 Merge "docs: Update design download links" into jb-dev 2012-10-03 16:36:21 -07:00
Irfan Sheriff
35cfc1f9fe am 36ebe6f2: am 72f9a3ec: Merge "Clear interface address and reset connections" into jb-mr1-dev
* commit '36ebe6f2a6cd286ef47ba9c0b25f1020744e5a1d':
  Clear interface address and reset connections
2012-10-03 16:34:55 -07:00
Eric Laurent
04afeea14f am 4eaa2516: Merge "fix settings data base upgrade for ringer mode" into jb-mr1-dev
* commit '4eaa25164bce8a2174110c08256e60ca591f5ce7':
  fix settings data base upgrade for ringer mode
2012-10-03 16:34:43 -07:00
Irfan Sheriff
36ebe6f2a6 am 72f9a3ec: Merge "Clear interface address and reset connections" into jb-mr1-dev
* commit '72f9a3ec070fb140068efe3127ad96f4cf7b798d':
  Clear interface address and reset connections
2012-10-03 16:31:47 -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
Adam Cohen
a76c0a3867 am b6e9fbdc: am 6823de71: Merge "Modifying user switcher per design (issue 7047393)" into jb-mr1-dev
* commit 'b6e9fbdc213c533de3accbf4b16e1625c2fe0e2f':
  Modifying user switcher per design (issue 7047393)
2012-10-03 16:30:56 -07:00
Irfan Sheriff
72f9a3ec07 Merge "Clear interface address and reset connections" into jb-mr1-dev 2012-10-03 16:29:08 -07:00
Adam Cohen
b6e9fbdc21 am 6823de71: Merge "Modifying user switcher per design (issue 7047393)" into jb-mr1-dev
* commit '6823de7142e65cd132433b2f003ae3327fde770f':
  Modifying user switcher per design (issue 7047393)
2012-10-03 16:28:56 -07:00
Adam Cohen
6823de7142 Merge "Modifying user switcher per design (issue 7047393)" into jb-mr1-dev 2012-10-03 16:26:18 -07:00
Scott Main
2335676202 am e3f5a856: am ab781ba0: am d4c18b01: am b31d0b3b: am d2e9486b: Merge "re-write the Dialog guide to focus on using DialogFragment" into jb-dev-docs
* commit 'e3f5a85666f5ff0db32976ee7cbfe4e2d8e4020f':
  re-write the Dialog guide to focus on using DialogFragment
2012-10-03 16:24:51 -07:00
Scott Main
f15f8a1b44 Merge "add analytics event tracking for Design downloads, SDK downloads, Badges and Device art." into jb-dev-docs 2012-10-03 16:23:00 -07:00
Scott Main
fe3057f913 add analytics event tracking for Design downloads, SDK downloads, Badges and Device art.
Change-Id: I479b0059678d31fb993f6ddc68f5a7ef5ee26ecc
2012-10-03 16:21:51 -07:00
Amith Yamasani
3ec7bac9a0 No breadcrumbs for single-pane preferences
Bug: 7274530
Change-Id: I6a4b6321a72ad38a757098ea470ac58d4294639b
2012-10-03 16:21:42 -07:00