OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Fix dupes in initial wallpaper selection" into jb-mr1-dev
Amith Yamasani [Fri, 5 Oct 2012 00:29:34 +0000 (17:29 -0700)]
Merge "Fix dupes in initial wallpaper selection" into jb-mr1-dev

11 years agoMerge "Handle other providers in isAllowedProviderSafe()" into jb-mr1-dev
Victoria Lease [Fri, 5 Oct 2012 00:11:41 +0000 (17:11 -0700)]
Merge "Handle other providers in isAllowedProviderSafe()" into jb-mr1-dev

11 years agoMerge "Prevent overflow in LocationRequest.setExpireIn()" into jb-mr1-dev
Victoria Lease [Fri, 5 Oct 2012 00:10:21 +0000 (17:10 -0700)]
Merge "Prevent  overflow in LocationRequest.setExpireIn()" into jb-mr1-dev

11 years agoMerge "Make sure to check write perms after rewriting destination table" into jb...
Christopher Tate [Thu, 4 Oct 2012 23:52:46 +0000 (16:52 -0700)]
Merge "Make sure to check write perms after rewriting destination table" into jb-mr1-dev

11 years agoMerge "Properly cancel Tether notification." into jb-mr1-dev
Robert Greenwalt [Thu, 4 Oct 2012 23:50:39 +0000 (16:50 -0700)]
Merge "Properly cancel Tether notification." into jb-mr1-dev

11 years agoMerge "multiuser support for LocationBlacklist" into jb-mr1-dev
Victoria Lease [Thu, 4 Oct 2012 23:49:15 +0000 (16:49 -0700)]
Merge "multiuser support for LocationBlacklist" into jb-mr1-dev

11 years agoProperly cancel Tether notification.
Robert Greenwalt [Thu, 4 Oct 2012 23:44:26 +0000 (16:44 -0700)]
Properly cancel Tether notification.

When we add a second type of tethering we unify the notifications
into a single generic type.  This is done by canceling the first
and replacing it, but this flow was improperly canceling, so
you could end up with orphaned tethering icons.

bug:7283605
Change-Id: I1d136f51592b4326d48578cf67b69122e45d4984

11 years agoMake sure to check write perms after rewriting destination table
Christopher Tate [Thu, 4 Oct 2012 22:00:00 +0000 (15:00 -0700)]
Make sure to check write perms after rewriting destination table

The write-permission check must occur after any destination-table
rewriting, otherwise any application would be able to write to
any global setting, by supplying a fraudulent "system" namespace
in the uri, but with a key name that will be redirected to global.

Bug 7289965

Change-Id: I122098a64e40d14e00d3cb6608c50aeb74faf7ce

11 years agoHandle other providers in isAllowedProviderSafe()
Laurent Tu [Thu, 4 Oct 2012 21:21:52 +0000 (14:21 -0700)]
Handle other providers in isAllowedProviderSafe()

Add a case for isAllowedProviderSafe() to handle providers that are not
GPS/Passive/Network/Fused. For example, this is useful for mock
providers.

Bug: 7047435
Change-Id: If4799aa90a5338889c47582d45cbfc25772c9c53

11 years agoMerge "Fix parceling of display info flags." into jb-mr1-dev
Jeff Brown [Thu, 4 Oct 2012 22:04:20 +0000 (15:04 -0700)]
Merge "Fix parceling of display info flags." into jb-mr1-dev

11 years agoMerge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev
Adam Powell [Thu, 4 Oct 2012 22:02:40 +0000 (15:02 -0700)]
Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev

11 years agoMerge "Throw an exception instead of crash when a surface does not have a binding...
James Dong [Thu, 4 Oct 2012 22:02:06 +0000 (15:02 -0700)]
Merge "Throw an exception instead of crash when a surface does not have a binding surface texture" into jb-mr1-dev

11 years agoFix parceling of display info flags.
Jeff Brown [Thu, 4 Oct 2012 21:57:44 +0000 (14:57 -0700)]
Fix parceling of display info flags.

Bug: 7283429
Change-Id: I5365a3b06d9b9f2414f9a9d2c94b0906c41b4ece

11 years agoFix dupes in initial wallpaper selection
Amith Yamasani [Thu, 4 Oct 2012 21:55:42 +0000 (14:55 -0700)]
Fix dupes in initial wallpaper selection

Bug: 7281217

Needed to load the settings for the user, in case the user was stopped.

Change-Id: I52d1f59a7681f8c4f7d3596486accb91cb840ecf

11 years agoFix regression in AbsListView CHOICE_MODE_SINGLE
Adam Powell [Thu, 4 Oct 2012 21:53:36 +0000 (14:53 -0700)]
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

11 years agoMerge "Updating Roboto fonts with updated Cyrillic glyphs and fixes to tabular numera...
Justin Ho [Thu, 4 Oct 2012 21:29:34 +0000 (14:29 -0700)]
Merge "Updating Roboto fonts with updated Cyrillic glyphs and fixes to tabular numerals. Bug:7198855,7070912" into jb-mr1-dev

11 years agoPrevent overflow in LocationRequest.setExpireIn()
Laurent Tu [Thu, 4 Oct 2012 20:40:08 +0000 (13:40 -0700)]
Prevent  overflow in LocationRequest.setExpireIn()

Prevent overflow in LocationRequest.setExpireIn(), for example,
when we pass in Long.MAX_VALUE.

Bug: 7047435
Change-Id: Ie56928a59fb387173fbd3887c0ef9aede00f8152

11 years agoMerge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev
John Spurlock [Thu, 4 Oct 2012 20:13:00 +0000 (13:13 -0700)]
Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev

11 years agoam 7645936c: am ab1456ab: am e3eeeb6d: Merge "docs: Remove Android Open Accessory...
Joe Fernandez [Thu, 4 Oct 2012 20:10:30 +0000 (13:10 -0700)]
am 7645936c: am ab1456ab: am e3eeeb6d: Merge "docs: Remove Android Open Accessory docs, which are now on source.android.com" into jb-dev-docs

* commit '7645936c7b223ad865abdf22b79bdfac4cf39d98':
  docs: Remove Android Open Accessory docs, which are now on source.android.com

11 years agoam ab1456ab: am e3eeeb6d: Merge "docs: Remove Android Open Accessory docs, which...
Joe Fernandez [Thu, 4 Oct 2012 20:08:27 +0000 (13:08 -0700)]
am ab1456ab: am e3eeeb6d: Merge "docs: Remove Android Open Accessory docs, which are now on source.android.com" into jb-dev-docs

* commit 'ab1456abad6094e527ab318294c20ec58453e4af':
  docs: Remove Android Open Accessory docs, which are now on source.android.com

11 years agoam e3eeeb6d: Merge "docs: Remove Android Open Accessory docs, which are now on source...
Joe Fernandez [Thu, 4 Oct 2012 20:07:15 +0000 (13:07 -0700)]
am e3eeeb6d: Merge "docs: Remove Android Open Accessory docs, which are now on source.android.com" into jb-dev-docs

* commit 'e3eeeb6d03ed8575df5e8c8dfecd4e26af2d4127':
  docs: Remove Android Open Accessory docs, which are now on source.android.com

11 years agoMerge "docs: Remove Android Open Accessory docs, which are now on source.android...
Joe Fernandez [Thu, 4 Oct 2012 20:05:12 +0000 (13:05 -0700)]
Merge "docs: Remove Android Open Accessory docs, which are now on source.android.com" into jb-dev-docs

11 years agoam a35333c1: am c465ae32: am 688447e5: fix the lesson title names
Scott Main [Thu, 4 Oct 2012 19:50:05 +0000 (12:50 -0700)]
am a35333c1: am c465ae32: am 688447e5: fix the lesson title names

* commit 'a35333c1719b312dd7c0d0a8591ee522f6f625e7':
  fix the lesson title names

11 years agoam c465ae32: am 688447e5: fix the lesson title names
Scott Main [Thu, 4 Oct 2012 19:47:59 +0000 (12:47 -0700)]
am c465ae32: am 688447e5: fix the lesson title names

* commit 'c465ae324521fa1cb6e130f297fbb6da72a5072e':
  fix the lesson title names

11 years agoam 688447e5: fix the lesson title names
Scott Main [Thu, 4 Oct 2012 19:45:29 +0000 (12:45 -0700)]
am 688447e5: fix the lesson title names

* commit '688447e512185dab4acd9ddfc9f22066d164ff4e':
  fix the lesson title names

11 years agofix the lesson title names
Scott Main [Thu, 4 Oct 2012 19:43:05 +0000 (12:43 -0700)]
fix the lesson title names

Change-Id: I09ba41685664b92b5082376a8b9e885bf444415f

11 years agoMerge "Fix issue #6968859: home not exiting an ANR'd dream" into jb-mr1-dev
Dianne Hackborn [Thu, 4 Oct 2012 19:41:41 +0000 (12:41 -0700)]
Merge "Fix issue #6968859: home not exiting an ANR'd dream" into jb-mr1-dev

11 years agoMerge "Bring back the notification panel handle peek animation." into jb-mr1-dev
Daniel Sandler [Thu, 4 Oct 2012 19:38:37 +0000 (12:38 -0700)]
Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev

11 years agoMerge "Fix Catalan ("ca") date formatting." into jb-mr1-dev
Elliott Hughes [Thu, 4 Oct 2012 19:38:23 +0000 (12:38 -0700)]
Merge "Fix Catalan ("ca") date formatting." into jb-mr1-dev

11 years agoBring back the notification panel handle peek animation.
Daniel Sandler [Thu, 4 Oct 2012 16:08:54 +0000 (12:08 -0400)]
Bring back the notification panel handle peek animation.

Bug: 7286201
Change-Id: Id93d6a00689ffb7f97e89af935460b1debec3850

11 years agoMerge "Accessibility HOVER_ENTER / EXIT without enclosing EXPLORATION_GESTURE_START...
Svetoslav Ganov [Thu, 4 Oct 2012 19:31:01 +0000 (12:31 -0700)]
Merge "Accessibility HOVER_ENTER / EXIT without enclosing EXPLORATION_GESTURE_START / END" into jb-mr1-dev

11 years agoMerge "Invoking the global action dialog stops dreaming." into jb-mr1-dev
John Spurlock [Thu, 4 Oct 2012 19:29:46 +0000 (12:29 -0700)]
Merge "Invoking the global action dialog stops dreaming." into jb-mr1-dev

11 years agoMerge "Reset status bar in keyguard, fix MU status bar bug." into jb-mr1-dev
John Spurlock [Thu, 4 Oct 2012 19:26:17 +0000 (12:26 -0700)]
Merge "Reset status bar in keyguard, fix MU status bar bug." into jb-mr1-dev

11 years agoMerge "Fix for bug: 7274232. Bold date on lock screen." into jb-mr1-dev
Philip Milne [Thu, 4 Oct 2012 19:14:44 +0000 (12:14 -0700)]
Merge "Fix for bug: 7274232. Bold date on lock screen." into jb-mr1-dev

11 years agoMerge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev
Daniel Sandler [Thu, 4 Oct 2012 19:14:15 +0000 (12:14 -0700)]
Merge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev

11 years agoFix issue #6968859: home not exiting an ANR'd dream
Dianne Hackborn [Thu, 4 Oct 2012 18:58:16 +0000 (11:58 -0700)]
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

11 years agoRemove Start Dreaming^W^W Sleep Now 1x1 widget.
Daniel Sandler [Thu, 4 Oct 2012 19:03:22 +0000 (15:03 -0400)]
Remove Start Dreaming^W^W Sleep Now 1x1 widget.

If you need its functionality for testing:

  $ adb shell am start -n com.android.systemui/.Somnambulator

Bug: 7267723
Change-Id: I9e0dd9d020e251d1ced4377329436ea46c3a8af5

11 years agoFix for bug: 7274232. Bold date on lock screen.
Philip Milne [Thu, 4 Oct 2012 19:01:41 +0000 (12:01 -0700)]
Fix for bug: 7274232. Bold date on lock screen.

Change-Id: Ic3fc3e7c0770b2431139c3faf10296d307f1175e

11 years agoMerge "Read in the disable-keyguard-features flag from the XML file" into jb-mr1-dev
Amith Yamasani [Thu, 4 Oct 2012 18:56:29 +0000 (11:56 -0700)]
Merge "Read in the disable-keyguard-features flag from the XML file" into jb-mr1-dev

11 years agoMerge "Fix launching home when there are multiple launchers installed" into jb-mr1-dev
Amith Yamasani [Thu, 4 Oct 2012 18:55:27 +0000 (11:55 -0700)]
Merge "Fix launching home when there are multiple launchers installed" into jb-mr1-dev

11 years agoam c3b8a9b6: am bc7a20a4: resolved conflicts for merge of 78866b71 to jb-dev
Scott Main [Thu, 4 Oct 2012 18:52:41 +0000 (11:52 -0700)]
am c3b8a9b6: am bc7a20a4: resolved conflicts for merge of 78866b71 to jb-dev

* commit 'c3b8a9b6d03283c77d179e1f6293a6319c91e6e6':
  Doc update: TTL change.

11 years agoReset status bar in keyguard, fix MU status bar bug.
John Spurlock [Thu, 4 Oct 2012 18:51:51 +0000 (14:51 -0400)]
Reset status bar in keyguard, fix MU status bar bug.

Two things going on here, status bar disabled flags need to be reset
on user switch.  Also make status bar's internal disable-record lookup
multi-user aware.

Bug:7278793
Change-Id: I1d7088d956a065330736da4c09cc1874c528c133

11 years agoam bc7a20a4: resolved conflicts for merge of 78866b71 to jb-dev
Scott Main [Thu, 4 Oct 2012 18:50:18 +0000 (11:50 -0700)]
am bc7a20a4: resolved conflicts for merge of 78866b71 to jb-dev

* commit 'bc7a20a48c3e8405c8dbbf54dd8f422fa5e19e3a':
  Doc update: TTL change.

11 years agodocs: Remove Android Open Accessory docs, which are now on source.android.com
Joe Fernandez [Thu, 4 Oct 2012 18:43:09 +0000 (11:43 -0700)]
docs: Remove Android Open Accessory docs, which are now on source.android.com

Change-Id: I5346de7e575304523d33a94329792fb1a37db89b

11 years agoresolved conflicts for merge of 78866b71 to jb-dev
Scott Main [Thu, 4 Oct 2012 18:39:00 +0000 (11:39 -0700)]
resolved conflicts for merge of 78866b71 to jb-dev

Change-Id: I028637f4622f398769ad43e714d45ec95ff3f23d

11 years agoMerge "throw SecurityException in isProviderEnabled()" into jb-mr1-dev
Victoria Lease [Thu, 4 Oct 2012 18:18:13 +0000 (11:18 -0700)]
Merge "throw SecurityException in isProviderEnabled()" into jb-mr1-dev

11 years agoRead in the disable-keyguard-features flag from the XML file
Amith Yamasani [Thu, 4 Oct 2012 17:28:50 +0000 (10:28 -0700)]
Read in the disable-keyguard-features flag from the XML file

Bug: 7283501 Exchange Services crash while using Email App after upgrading
Change-Id: I40d13f5d3805ea3139dc3938077a5265ff78c426

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Thu, 4 Oct 2012 17:55:32 +0000 (10:55 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Thu, 4 Oct 2012 17:54:18 +0000 (10:54 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoMerge "Doc update: TTL change." into jb-dev-docs
Scott Main [Thu, 4 Oct 2012 17:20:12 +0000 (10:20 -0700)]
Merge "Doc update: TTL change." into jb-dev-docs

11 years agoam 70e6cff9: am 6b962174: am cea1f19c: Merge "add links from various design docs...
Scott Main [Thu, 4 Oct 2012 17:12:16 +0000 (10:12 -0700)]
am 70e6cff9: am 6b962174: am cea1f19c: Merge "add links from various design docs to corresponding developer docs" into jb-dev-docs

* commit '70e6cff9bcd464fcb22a0d7dc977863ef0952448':
  add links from various design docs to corresponding developer docs

11 years agoam 6b962174: am cea1f19c: Merge "add links from various design docs to corresponding...
Scott Main [Thu, 4 Oct 2012 17:10:21 +0000 (10:10 -0700)]
am 6b962174: am cea1f19c: Merge "add links from various design docs to corresponding developer docs" into jb-dev-docs

* commit '6b962174bf974edd5298a37498777780e0b7b1fe':
  add links from various design docs to corresponding developer docs

11 years agoam cea1f19c: Merge "add links from various design docs to corresponding developer...
Scott Main [Thu, 4 Oct 2012 17:08:00 +0000 (10:08 -0700)]
am cea1f19c: Merge "add links from various design docs to corresponding developer docs" into jb-dev-docs

* commit 'cea1f19cb85c8204cc920bb1073c0726b610cedd':
  add links from various design docs to corresponding developer docs

11 years agoMerge "add links from various design docs to corresponding developer docs" into jb...
Scott Main [Thu, 4 Oct 2012 17:06:02 +0000 (10:06 -0700)]
Merge "add links from various design docs to corresponding developer docs" into jb-dev-docs

11 years agomultiuser support for LocationBlacklist
Victoria Lease [Wed, 3 Oct 2012 20:51:17 +0000 (13:51 -0700)]
multiuser support for LocationBlacklist

This allows primary/secondary users to have different "Google
Location Services" preferences. It also reenables LocationBlacklist,
which is fixed elsewhere.

Bug: 7213502
Bug: 7248239
Change-Id: I94837682f95920c225c00b7da2de6dd1418a673e

11 years agoThrow an exception instead of crash when a surface does not have a binding surface...
James Dong [Thu, 4 Oct 2012 16:16:40 +0000 (09:16 -0700)]
Throw an exception instead of crash when a surface does not have a binding surface texture

o related-to-bug: 7270329

Change-Id: I498d72187968e89d9498d01b10719569e12be2af

11 years agoMerge "Clear notifications properly on ACTION_USER_STOPPED." into jb-mr1-dev
John Spurlock [Thu, 4 Oct 2012 16:09:14 +0000 (09:09 -0700)]
Merge "Clear notifications properly on ACTION_USER_STOPPED." into jb-mr1-dev

11 years agoClear notifications properly on ACTION_USER_STOPPED.
John Spurlock [Thu, 4 Oct 2012 16:00:53 +0000 (12:00 -0400)]
Clear notifications properly on ACTION_USER_STOPPED.

Which also takes care of the ACTION_USER_REMOVED case.

Bug:7277853
Change-Id: I0a6bade11bd0d420df03e16e69a386cfccfa07cc

11 years agoMerge "AudioService: filter flags in volume methods" into jb-mr1-dev
Eric Laurent [Thu, 4 Oct 2012 15:44:25 +0000 (08:44 -0700)]
Merge "AudioService: filter flags in volume methods" into jb-mr1-dev

11 years agothrow SecurityException in isProviderEnabled()
Victoria Lease [Thu, 4 Oct 2012 15:01:19 +0000 (08:01 -0700)]
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

11 years agoDisable quick settings panel in setup wizard (user 0).
John Spurlock [Thu, 4 Oct 2012 13:55:01 +0000 (09:55 -0400)]
Disable quick settings panel in setup wizard (user 0).

Already fixed for additional users, but not the main user.

Bug:7285805
Change-Id: I1ab29470e23b0d06cd21919c72be72c092c86b2c

11 years agoMerge "hide the redundant clock when the notification shade is open." into jb-mr1-dev
Chris Wren [Thu, 4 Oct 2012 13:37:10 +0000 (06:37 -0700)]
Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev

11 years agoAccessibility HOVER_ENTER / EXIT without enclosing EXPLORATION_GESTURE_START / END
Svetoslav Ganov [Thu, 4 Oct 2012 05:25:07 +0000 (22:25 -0700)]
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

11 years agoMerge "Close the current input method when attached view doesn't have a handler"...
Satoshi Kataoka [Thu, 4 Oct 2012 04:02:19 +0000 (21:02 -0700)]
Merge "Close the current input method when attached view doesn't have a handler" into jb-mr1-dev

11 years agoadd links from various design docs to corresponding developer docs
Scott Main [Thu, 4 Oct 2012 01:47:08 +0000 (18:47 -0700)]
add links from various design docs to corresponding developer docs

Change-Id: Id731979a9b6ebcfc956848933d64ea5cf64953b5

11 years agoMerge "Fix keyguard landscape layout on phones" into jb-mr1-dev
Jim Miller [Thu, 4 Oct 2012 03:30:09 +0000 (20:30 -0700)]
Merge "Fix keyguard landscape layout on phones" into jb-mr1-dev

11 years agoMerge "Announce changes in keyguard message, e.g. bad unlock pattern." into jb-mr1-dev
Svetoslav Ganov [Thu, 4 Oct 2012 03:21:19 +0000 (20:21 -0700)]
Merge "Announce changes in keyguard message, e.g. bad unlock pattern." into jb-mr1-dev

11 years agoFix launching home when there are multiple launchers installed
Amith Yamasani [Thu, 4 Oct 2012 03:16:40 +0000 (20:16 -0700)]
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

11 years agoam 486eb461: am 5713b5bc: am 99f5ff0a: Merge "Revert "Doc change: Add core quality...
Dirk Dougherty [Thu, 4 Oct 2012 02:42:36 +0000 (19:42 -0700)]
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."

11 years agoam 5713b5bc: am 99f5ff0a: Merge "Revert "Doc change: Add core quality and tablet...
Dirk Dougherty [Thu, 4 Oct 2012 02:40:35 +0000 (19:40 -0700)]
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."

11 years agoam 99f5ff0a: Merge "Revert "Doc change: Add core quality and tablet quality docs...
Dirk Dougherty [Thu, 4 Oct 2012 02:38:17 +0000 (19:38 -0700)]
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."

11 years agoMerge "Revert "Doc change: Add core quality and tablet quality docs, tablet developer...
Dirk Dougherty [Thu, 4 Oct 2012 02:37:00 +0000 (19:37 -0700)]
Merge "Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."" into jb-dev-docs

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 4 Oct 2012 02:36:28 +0000 (19:36 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3948ca1d5441099dae59c6e0b95e3f53acc47437
Auto-generated-cl: translation import

11 years agoRevert "Doc change: Add core quality and tablet quality docs, tablet developer stories."
Dirk Dougherty [Thu, 4 Oct 2012 02:36:08 +0000 (19:36 -0700)]
Revert "Doc change: Add core quality and tablet quality docs, tablet developer stories."

This reverts commit c395f4a39cef3e0c2eaac8318b5e1723eac7d696

Change-Id: If74bdf2e567f60fc1af9e2c272531ef58e2cee41

11 years agoMerge "Rewrite raw insert()s and some raw query()s of moved-to-global keys" into...
Christopher Tate [Thu, 4 Oct 2012 02:31:40 +0000 (19:31 -0700)]
Merge "Rewrite raw insert()s and some raw query()s of moved-to-global keys" into jb-mr1-dev

11 years agoRewrite raw insert()s and some raw query()s of moved-to-global keys
Christopher Tate [Thu, 4 Oct 2012 01:33:52 +0000 (18:33 -0700)]
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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 4 Oct 2012 02:17:05 +0000 (19:17 -0700)]
Import translations. DO NOT MERGE

Change-Id: I50db6e8159487c9a725b224e3e2206791f58febd
Auto-generated-cl: translation import

11 years agoMerge "Events for window's content change should be dispatched only for the active...
Svetoslav Ganov [Thu, 4 Oct 2012 02:00:17 +0000 (19:00 -0700)]
Merge "Events for window's content change should be dispatched  only for the active window." into jb-mr1-dev

11 years agoMerge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev
Christopher Tate [Thu, 4 Oct 2012 01:54:48 +0000 (18:54 -0700)]
Merge "Use myUserId() only in registerContentObserver()" into jb-mr1-dev

11 years agoMerge "Remove unneeded margin below action bar subtitles" into jb-mr1-dev
Adam Powell [Thu, 4 Oct 2012 01:50:10 +0000 (18:50 -0700)]
Merge "Remove unneeded margin below action bar subtitles" into jb-mr1-dev

11 years agoFix keyguard landscape layout on phones
Jim Miller [Thu, 4 Oct 2012 01:39:22 +0000 (18:39 -0700)]
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

11 years agoMerge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev
Romain Guy [Thu, 4 Oct 2012 01:47:35 +0000 (18:47 -0700)]
Merge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev

11 years agoMerge "Fix issue #7267494, issue #7212347" into jb-mr1-dev
Dianne Hackborn [Thu, 4 Oct 2012 01:45:37 +0000 (18:45 -0700)]
Merge "Fix issue #7267494, issue #7212347" into jb-mr1-dev

11 years agoEvents for window's content change should be dispatched only for the active window.
Svetoslav Ganov [Thu, 4 Oct 2012 01:10:27 +0000 (18:10 -0700)]
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

11 years agoRemove unneeded margin below action bar subtitles
Adam Powell [Thu, 4 Oct 2012 01:31:08 +0000 (18:31 -0700)]
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

11 years agoFix rendering artifacts on tiled renderers
Romain Guy [Wed, 3 Oct 2012 21:53:25 +0000 (14:53 -0700)]
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

11 years agoFix issue #7267494, issue #7212347
Dianne Hackborn [Wed, 3 Oct 2012 23:38:22 +0000 (16:38 -0700)]
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

11 years agoMerge "Fix bug #7282594 EditText does not allow to move the cursor when typing RTL...
Fabrice Di Meglio [Thu, 4 Oct 2012 00:43:08 +0000 (17:43 -0700)]
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

11 years agoUse myUserId() only in registerContentObserver()
Christopher Tate [Thu, 4 Oct 2012 00:41:51 +0000 (17:41 -0700)]
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

11 years agoAnnounce changes in keyguard message, e.g. bad unlock pattern.
alanv [Thu, 4 Oct 2012 00:40:40 +0000 (17:40 -0700)]
Announce changes in keyguard message, e.g. bad unlock pattern.

Bug: 7280849
Change-Id: Ie28f7fa2f249c11d6523955de526d5f72da8d6f3

11 years agoam c1f68fdd: am 3a247b27: am 48b2cadf: fix badge generator button
Scott Main [Thu, 4 Oct 2012 00:31:05 +0000 (17:31 -0700)]
am c1f68fdd: am 3a247b27: am 48b2cadf: fix badge generator button

* commit 'c1f68fdde0880270d0b865ad6a728d65355dbb44':
  fix badge generator button

11 years agoam 3a247b27: am 48b2cadf: fix badge generator button
Scott Main [Thu, 4 Oct 2012 00:28:53 +0000 (17:28 -0700)]
am 3a247b27: am 48b2cadf: fix badge generator button

* commit '3a247b27284060ce16346091a8bb8bf36fc41b5a':
  fix badge generator button

11 years agoam 48b2cadf: fix badge generator button
Scott Main [Thu, 4 Oct 2012 00:26:24 +0000 (17:26 -0700)]
am 48b2cadf: fix badge generator button

* commit '48b2cadf1bc2c1c3400e567e1ea7c66be86e3ff5':
  fix badge generator button

11 years agofix badge generator button
Scott Main [Thu, 4 Oct 2012 00:23:45 +0000 (17:23 -0700)]
fix badge generator button

Change-Id: I797da9baca30873db0c3600de67c41a0fba1b492

11 years agoFix bug #7282594 EditText does not allow to move the cursor when typing RTL text...
Fabrice Di Meglio [Thu, 4 Oct 2012 00:17:14 +0000 (17:17 -0700)]
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

11 years agoMerge "No breadcrumbs for single-pane preferences" into jb-mr1-dev
Amith Yamasani [Thu, 4 Oct 2012 00:13:24 +0000 (17:13 -0700)]
Merge "No breadcrumbs for single-pane preferences" into jb-mr1-dev

11 years agoMerge "Exception in the touch explorer when dragging." into jb-mr1-dev
Mike Cleron [Thu, 4 Oct 2012 00:07:04 +0000 (17:07 -0700)]
Merge "Exception in the touch explorer when dragging." into jb-mr1-dev

11 years agoException in the touch explorer when dragging.
Svetoslav Ganov [Thu, 4 Oct 2012 00:00:18 +0000 (17:00 -0700)]
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

11 years agoMerge "Fix a bug in double-swiping panels..." into jb-mr1-dev
Daniel Sandler [Wed, 3 Oct 2012 23:58:00 +0000 (16:58 -0700)]
Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev

11 years agoMerge "Exception when performing the global gestrue to enable accessibility." into...
Svetoslav Ganov [Wed, 3 Oct 2012 23:55:20 +0000 (16:55 -0700)]
Merge "Exception when performing the global gestrue to enable accessibility." into jb-mr1-dev