85713 Commits

Author SHA1 Message Date
Christopher Tate
1a2fac3eed Merge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev 2012-10-03 18:54:49 -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
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
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
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
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
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
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
2e307a61a3 Merge "No breadcrumbs for single-pane preferences" into jb-mr1-dev 2012-10-03 17:13:24 -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
88c3a51123 Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev 2012-10-03 16:58:01 -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
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
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
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
Scott Main
25a9144bf8 Merge "docs: Update design download links" into jb-dev 2012-10-03 16:36:21 -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
Irfan Sheriff
72f9a3ec07 Merge "Clear interface address and reset connections" into jb-mr1-dev 2012-10-03 16:29:08 -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
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
Scott Main
ab781ba0f0 am d4c18b01: am b31d0b3b: am d2e9486b: Merge "re-write the Dialog guide to focus on using DialogFragment" into jb-dev-docs
* commit 'd4c18b01cc152f97ea30146d0ad795c05b59e178':
  re-write the Dialog guide to focus on using DialogFragment
2012-10-03 16:18:23 -07:00
Scott Main
d4c18b01cc am b31d0b3b: am d2e9486b: Merge "re-write the Dialog guide to focus on using DialogFragment" into jb-dev-docs
* commit 'b31d0b3b6d0506970adeecd9177e276dd407f418':
  re-write the Dialog guide to focus on using DialogFragment
2012-10-03 16:17:13 -07:00
Scott Main
b31d0b3b6d am d2e9486b: Merge "re-write the Dialog guide to focus on using DialogFragment" into jb-dev-docs
* commit 'd2e9486bbf88cfe83f9ce3a7e2f86ea4ddf271bc':
  re-write the Dialog guide to focus on using DialogFragment
2012-10-03 16:15:04 -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
Scott Main
d2e9486bbf Merge "re-write the Dialog guide to focus on using DialogFragment" into jb-dev-docs 2012-10-03 16:12:36 -07:00
Jason Sams
833a89c694 Merge "Fix range on blur intrinsic." into jb-mr1-dev 2012-10-03 16:02:42 -07:00
Adam Powell
b8bb7a0e9c Merge "Port unmerged notification changes from jb-dev to jb-mr1-dev" into jb-mr1-dev 2012-10-03 16:00:51 -07:00
Raph Levien
5a829cbf58 Merge "Fix for testPaintFlagsDrawFilter CTS test" into jb-mr1-dev 2012-10-03 15:58:36 -07:00
Irfan Sheriff
0befeb29bc Clear interface address and reset connections
With the broadcom architecture, the p2p interface on a group
was dynamic that would just go away. Clearing addresses
was thus not important before.

It is good to clear up the addresses and reset connections
when the group is removed.

Bug: 7282358
Change-Id: Ia1a94fce90f86b54abcc2d1f78a33524ef8045fa
2012-10-03 15:53:45 -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
Raph Levien
e174ae210e Fix for testPaintFlagsDrawFilter CTS test
This fixes bug 6948776
android.graphics.cts.PaintFlagsDrawFilterTest#testPaintFlagsDrawFilter
failures on JO

When we moved the drawing of text decorations (underline, strikethrough)
from Skia to our own drawing (so we could take into account the metrics
computed by TextLayoutEngine), we just used the raw flags from the
paint, which ignored the overrides that a DrawFilter can effect.

The patch simply checks for the existence of a DrawFilter in the canvas,
and applies it to a copy of the paint where present. This will be one
extra paint copy where the filter exists, but that's expected to be rare
(other than running this CTS test, of course).

Change-Id: I664c478b73a3a1cc43599ee11bbc02c69b7a96c2
2012-10-03 15:26:47 -07:00
Jeff Brown
8abd7021a6 Merge "Ensure dreams can be started when not powered." into jb-mr1-dev 2012-10-03 15:24:45 -07:00
rich cannings
70bf7d2f64 Merge "Fix PackageInstaller displays with multi-user" into jb-mr1-dev 2012-10-03 15:16:41 -07:00
Jeff Brown
645832dd2b Ensure dreams can be started when not powered.
Previously dreams could not be started unless plugged in.
Now we allow them to start but they will eventually stop
if a user activity timeout occurs and no screen wakelocks
are held.

Bug: 7253639
Change-Id: I84703e144ca6d4aba1ef9437f04a201c3dde8a49
2012-10-03 14:57:03 -07:00
rich cannings
cdf932e050 Fix PackageInstaller displays with multi-user
With this fix, when all users cancel installing an app they were warned about,
then the "Installing..." screen disappears, as desired.

Bug: 7255231
Change-Id: I2475fa790a5d09abbf94411c696682502fb1e8df
2012-10-03 14:32:38 -07:00
mike wakerly
f74df47fc9 NfcAdapterExtras: expose driver name.
Bug: 7276355
Change-Id: I65597f732c2ccb749f8fc5ef1793bacf5de8b592
2012-10-03 14:14:23 -07:00
Roman Nurik
a762dfc68a am 21dec9f9: am 6a54f4e6: am 66ff277f: (-s ours) docs: Update design download links
* commit '21dec9f96e4aaccf11c9e69ebb34e40be13eaed7':
  docs: Update design download links
2012-10-03 13:51:33 -07:00