35513 Commits

Author SHA1 Message Date
Dianne Hackborn
0cdbd0776d Merge "Fix issue #7290206: Need API to get/look up user serial number" into jb-mr1-dev 2012-10-04 18:19:01 -07:00
Adam Cohen
a39c5c369a am 327424d6: Merge "Plumbing to allow keyguard to be shown with user switcher (issue 7175023)" into jb-mr1-dev
* commit '327424d69b99213e872e91f05feba2d0a137d6c7':
  Plumbing to allow keyguard to be shown with user switcher (issue 7175023)
2012-10-04 18:03:36 -07:00
Adam Cohen
f752202bee Plumbing to allow keyguard to be shown with user switcher (issue 7175023)
-> Also reduced calls to lockNow, and moved this call in ActivityManagerService

Change-Id: I9ba34ca902f7c0f71fa4ec302104688ca8d11f55
2012-10-04 17:53:01 -07:00
Jeff Brown
25f5a71f31 am 17f36d15: Merge "Allow phone to go to sleep while in call." into jb-mr1-dev
* commit '17f36d154f1a8ebe72fc35af332f5c0069503364':
  Allow phone to go to sleep while in call.
2012-10-04 17:35:29 -07:00
Dianne Hackborn
33f9cb8cf0 Fix issue #7290206: Need API to get/look up user serial number
Change-Id: I1713215e7c205b1b66c36488f89e3fbf4572cb97
2012-10-04 17:15:10 -07:00
Jeff Brown
93cbbb25a5 Allow phone to go to sleep while in call.
Bug: 7279383
Change-Id: Ia05490218f40a1843507b95ff48fa07910e582d4
2012-10-04 16:22:04 -07:00
Jeff Brown
4fb5b85a5b am dce8b948: Merge "Fix parceling of display info flags." into jb-mr1-dev
* commit 'dce8b948320e933e46e4a38c496f56555472495f':
  Fix parceling of display info flags.
2012-10-04 15:27:15 -07:00
Adam Powell
64f369bbc5 am b4fad85c: Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev
* commit 'b4fad85ca0ed258e4f8de8045c707a4bf2a6ce66':
  Fix regression in AbsListView CHOICE_MODE_SINGLE
2012-10-04 15:25:36 -07:00
Jeff Brown
dce8b94832 Merge "Fix parceling of display info flags." into jb-mr1-dev 2012-10-04 15:04:21 -07:00
Adam Powell
b4fad85ca0 Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev 2012-10-04 15:02:52 -07:00
Jeff Brown
3f2ba6220b Fix parceling of display info flags.
Bug: 7283429
Change-Id: I5365a3b06d9b9f2414f9a9d2c94b0906c41b4ece
2012-10-04 14:58:43 -07:00
Adam Powell
f3b8e6fe78 Fix regression in AbsListView CHOICE_MODE_SINGLE
Earlier patch reversed a few lines of code that allowed deselection of
the currently selected item in CHOICE_MODE_SINGLE. Put it back the way
it was.

Bug 7289436

Change-Id: Ia1c5f3238d2faa3dd79e474851333fda90978d3c
2012-10-04 14:53:36 -07:00
Baligh Uddin
97c69c5309 Import translations. DO NOT MERGE
Change-Id: Ia159a8f09466c150299e55fde16eae23a3d8097c
Auto-generated-cl: translation import
2012-10-04 13:00:15 -07:00
Baligh Uddin
5e3a05cdeb Import translations. DO NOT MERGE
Change-Id: I21a13a60a42f8ccb354b9d4df6b319b180284c34
Auto-generated-cl: translation import
2012-10-04 12:58:51 -07:00
Dianne Hackborn
7df202e27a am 8a229195: Merge "Fix issue #6968859: home not exiting an ANR\'d dream" into jb-mr1-dev
* commit '8a2291952528303d284878468fe260ec41998db3':
  Fix issue #6968859: home not exiting an ANR'd dream
2012-10-04 12:43:15 -07:00
Dianne Hackborn
8a22919525 Merge "Fix issue #6968859: home not exiting an ANR'd dream" into jb-mr1-dev 2012-10-04 12:41:41 -07:00
Elliott Hughes
1f7bddce79 am 3594e855: Merge "Fix Catalan ("ca") date formatting." into jb-mr1-dev
* commit '3594e855a46fcfd9b9db62d6f6a39e6cbbe90794':
  Fix Catalan ("ca") date formatting.
2012-10-04 12:40:32 -07:00
Elliott Hughes
3594e855a4 Merge "Fix Catalan ("ca") date formatting." into jb-mr1-dev 2012-10-04 12:38:24 -07:00
Dianne Hackborn
5fe7e2a304 Fix issue #6968859: home not exiting an ANR'd dream
Add a new call to the activity manager for the input dispatcher
to report about any pid having an ANR.  This has a new feature
where it can also tell the activity manager that it is above the
system alert layer, so the activity manager can pop its ANR dialog
on top of everything if it needs to.  (Normally we don't want
these dialogs appearing on top of the lock screen.)

Also fixed some debugging stuff here and there that was useful
as I was working on this -- windows now very clearly include
their uid, various system dialogs now have titles so you know
what they are in the window manager, etc.

Change-Id: Ib8f5d29a5572542cc506e6d338599ab64088ce4e
2012-10-04 12:04:58 -07:00
Amith Yamasani
0cf4c3d4a0 am 3364b2ff: Merge "Fix launching home when there are multiple launchers installed" into jb-mr1-dev
* commit '3364b2ff7970bea9013b53554caf98c2d5f783ed':
  Fix launching home when there are multiple launchers installed
2012-10-04 11:58:07 -07:00
Amith Yamasani
3364b2ff79 Merge "Fix launching home when there are multiple launchers installed" into jb-mr1-dev 2012-10-04 11:55:28 -07:00
Baligh Uddin
ed099251c9 am ceb4a21e: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'ceb4a21e7257d5e39126f3e5290b2e1448a84532':
  Import translations. DO NOT MERGE
2012-10-04 10:56:47 -07:00
Baligh Uddin
ceb4a21e72 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 10:54:18 -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
Satoshi Kataoka
faf45d2525 am ebf7e285: Merge "Close the current input method when attached view doesn\'t have a handler" into jb-mr1-dev
* commit 'ebf7e2851cab55348153fca299c52042b125924d':
  Close the current input method when attached view doesn't have a handler
2012-10-03 21:05:12 -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
Jim Miller
c2cb3c2f3c am 5b14b969: Merge "Fix keyguard landscape layout on phones" into jb-mr1-dev
* commit '5b14b9698c288031fea6b40f0e1240c32ac83725':
  Fix keyguard landscape layout on phones
2012-10-03 20:32:02 -07:00
Jim Miller
5b14b9698c Merge "Fix keyguard landscape layout on phones" into jb-mr1-dev 2012-10-03 20:30:10 -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
Baligh Uddin
85201d3d92 Import translations. DO NOT MERGE
Change-Id: I50db6e8159487c9a725b224e3e2206791f58febd
Auto-generated-cl: translation import
2012-10-03 19:17:05 -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
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
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
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
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
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
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
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
Ben Pietrzak
6f403a8290 Synthesizing D-pad event directly from motion events. Includes fling.
Change-Id: I0b1d4fafee6f21b64ca8b4480e4fde73085efbbe
2012-10-03 17:31:49 -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