85947 Commits

Author SHA1 Message Date
John Spurlock
1205d16e02 Merge "Clear notifications properly on ACTION_USER_STOPPED." into jb-mr1-dev 2012-10-04 09:09:15 -07:00
John Spurlock
078a490c22 Clear notifications properly on ACTION_USER_STOPPED.
Which also takes care of the ACTION_USER_REMOVED case.

Bug:7277853
Change-Id: I0a6bade11bd0d420df03e16e69a386cfccfa07cc
2012-10-04 12:00:53 -04: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
Eric Laurent
31fed73701 Merge "AudioService: filter flags in volume methods" into jb-mr1-dev 2012-10-04 08:44:26 -07:00
Victoria Lease
f429921e3a throw SecurityException in isProviderEnabled()
In MR0, we did not allow applications to query enabled status of
location providers they did not have permission to use. Some
applications counted on this behavior, using the thrown
SecurityException to determine whether or not they have permission
to use the specified provider.

Reverting to this behavior fixes the regressions seen in those
applications.

Bug: 7251459
Change-Id: I8b0cfd5862c80f0c831a4ab544c3fa7408bc84a0
2012-10-04 08:01:19 -07: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
6295ef3251 Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev 2012-10-04 06:37:11 -07:00
Satoshi Kataoka
00d2d4125e Support multi-user switch in TextServicesManagerService
Bug: 7231549
Change-Id: I737590688b895ea00d397ddec7702d6d2bec9097
2012-10-04 16:23:06 +09:00
Svetoslav Ganov
f068fed6c4 Accessibility HOVER_ENTER / EXIT without enclosing EXPLORATION_GESTURE_START / END
1. The initial implementation was not sending the gesture start and end
   events until the the user has moved more than a given slop and did not
   do it faster than a given velocity. However, there is the case where
   if the user did not move or just taped on the screen an exploration
   occurs. The system was not sending the exploration start and end
   events for the latter case.

2. The delaued command for long press was not canceled when the pointer
   moves more than the slop distance.

bug:7282811

Change-Id: I7d98470cd4d9ea9b2519326e5e550ff68b040747
2012-10-03 22:48:11 -07:00
Satoshi Kataoka
ebf7e2851c Merge "Close the current input method when attached view doesn't have a handler" into jb-mr1-dev 2012-10-03 21:02:20 -07:00
Scott Main
d4cc942996 add links from various design docs to corresponding developer docs
Change-Id: Id731979a9b6ebcfc956848933d64ea5cf64953b5
2012-10-03 20:53:05 -07:00
Jim Miller
5b14b9698c Merge "Fix keyguard landscape layout on phones" into jb-mr1-dev 2012-10-03 20:30:10 -07:00
Svetoslav Ganov
d211767f9c Merge "Announce changes in keyguard message, e.g. bad unlock pattern." into jb-mr1-dev 2012-10-03 20:21:19 -07:00
Amith Yamasani
203a2f464c Fix launching home when there are multiple launchers installed
Bug: 7283782

Since ResolverActivity now runs in the correct user, it doesn't need to explicitly
pass in the calling userId. In fact, for the Home case, since ActivityManager is
the one requesting resolution of Home activity, Resolver is running as user 0
instead of the current user.

Removing explicit calls based on the launchingUid fixes the problem.

Change-Id: I4676c155aafaa0dd5cefb1acefa0e7e9c1e20f25
2012-10-03 20:16:40 -07:00
Dirk Dougherty
09d1cb3fb1 am 486eb461: am 5713b5bc: am 99f5ff0a: Merge "Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."" into jb-dev-docs
* commit '486eb4616e07d23a408a475adaf450b1bc2f9024':
  Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."
2012-10-03 19:42:36 -07:00
Dirk Dougherty
486eb4616e am 5713b5bc: am 99f5ff0a: Merge "Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."" into jb-dev-docs
* commit '5713b5bc929962e8ddc559f3f3e73a925a0c3150':
  Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."
2012-10-03 19:40:35 -07:00
Dirk Dougherty
5713b5bc92 am 99f5ff0a: Merge "Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."" into jb-dev-docs
* commit '99f5ff0abb361de352f374822d2edc1a9379ad0c':
  Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."
2012-10-03 19:38:17 -07:00
Dirk Dougherty
99f5ff0abb Merge "Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."" into jb-dev-docs 2012-10-03 19:37:01 -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
Dirk Dougherty
b4dc1c80a2 Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."
This reverts commit c395f4a39cef3e0c2eaac8318b5e1723eac7d696

Change-Id: If74bdf2e567f60fc1af9e2c272531ef58e2cee41
2012-10-03 19:36:08 -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
Baligh Uddin
85201d3d92 Import translations. DO NOT MERGE
Change-Id: I50db6e8159487c9a725b224e3e2206791f58febd
Auto-generated-cl: translation import
2012-10-03 19:17: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
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
Jim Miller
ce3e948c5c Fix keyguard landscape layout on phones
This particular layout didn't have layout_height specified, which
is undefined.  However, the undefined behavior seems to have changed
on the platform to one where this layout no longer works.  Not
specifying layout_height causes the security area view to be 0 pixels
wide, effectively ignoring layout_weight.

Fixes bug 7283261

Change-Id: I0e3d156e9b2d7ef1492dec9791f0e241e8cd7fe6
2012-10-03 18:48:07 -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
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
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
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
Elliott Hughes
e59ac5cb27 Fix Catalan ("ca") date formatting.
Bug: 7262477
Change-Id: I506972e214640f91d818c53c60d3c45d975a2f86
2012-10-03 16:54:51 -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