OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 30bbfeaf: am a180cc3c: am cd579c57: wording tweak to brand guidelines
Scott Main [Mon, 1 Oct 2012 19:05:31 +0000 (12:05 -0700)]
am 30bbfeaf: am a180cc3c: am cd579c57: wording tweak to brand guidelines

* commit '30bbfeafa1645c39790ef7e40c63b427af11b927':
  wording tweak to brand guidelines

11 years agoam a180cc3c: am cd579c57: wording tweak to brand guidelines
Scott Main [Mon, 1 Oct 2012 19:03:09 +0000 (12:03 -0700)]
am a180cc3c: am cd579c57: wording tweak to brand guidelines

* commit 'a180cc3c0c33333c07c7c510aef92cee78dab56c':
  wording tweak to brand guidelines

11 years agoam cd579c57: wording tweak to brand guidelines
Scott Main [Mon, 1 Oct 2012 19:00:24 +0000 (12:00 -0700)]
am cd579c57: wording tweak to brand guidelines

* commit 'cd579c57bb7bce23736216905dc2c0a349bf4246':
  wording tweak to brand guidelines

11 years agoMerge "Remove clearUserActivityTimeout()." into jb-mr1-dev
Jeff Brown [Mon, 1 Oct 2012 18:35:53 +0000 (11:35 -0700)]
Merge "Remove clearUserActivityTimeout()." into jb-mr1-dev

11 years agowording tweak to brand guidelines
Scott Main [Mon, 1 Oct 2012 18:17:54 +0000 (11:17 -0700)]
wording tweak to brand guidelines

Change-Id: Ie1435ac97b6988b74fbcd1e1b29e4ff106492a13

11 years agoMerge "Construct a task stack for picking a wifi network from notification" into...
Adam Powell [Mon, 1 Oct 2012 17:32:34 +0000 (10:32 -0700)]
Merge "Construct a task stack for picking a wifi network from notification" into jb-mr1-dev

11 years agoMerge "Fix IME tile related crash" into jb-mr1-dev
Daniel Sandler [Mon, 1 Oct 2012 17:00:40 +0000 (10:00 -0700)]
Merge "Fix IME tile related crash" into jb-mr1-dev

11 years agoFix IME tile related crash
Daniel Sandler [Mon, 1 Oct 2012 16:59:36 +0000 (12:59 -0400)]
Fix IME tile related crash

Bug: 7246375
Change-Id: I374ed201ea4870fb7397d075baed09524061030d

11 years agoMerge "Status bar: Keep disabled state per user." into jb-mr1-dev
John Spurlock [Mon, 1 Oct 2012 16:55:57 +0000 (09:55 -0700)]
Merge "Status bar: Keep disabled state per user." into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Mon, 1 Oct 2012 16:41:35 +0000 (09:41 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoStatus bar: Keep disabled state per user.
John Spurlock [Fri, 28 Sep 2012 18:40:41 +0000 (14:40 -0400)]
Status bar: Keep disabled state per user.

Bug:7165607
Change-Id: If6f7a41c2516996612aef5e013dd0d2bd23f9084

11 years agoMerge "Remove IME tile from Quick Settings." into jb-mr1-dev
Daniel Sandler [Mon, 1 Oct 2012 15:43:32 +0000 (08:43 -0700)]
Merge "Remove IME tile from Quick Settings." into jb-mr1-dev

11 years agoRemove IME tile from Quick Settings.
Daniel Sandler [Mon, 1 Oct 2012 14:19:09 +0000 (10:19 -0400)]
Remove IME tile from Quick Settings.

It will remain a transient notification.

Bug: 7246375
Change-Id: I34e262816c6f000d1ae64c41982ff9cc48e378e6

11 years agoMerge "Assets were drawn in the wrong timezone." into jb-mr1-dev
Daniel Sandler [Mon, 1 Oct 2012 13:32:52 +0000 (06:32 -0700)]
Merge "Assets were drawn in the wrong timezone." into jb-mr1-dev

11 years agoMerge "Tapping the clock now takes you to date/time settings." into jb-mr1-dev
Alan Smithee [Mon, 1 Oct 2012 13:32:48 +0000 (06:32 -0700)]
Merge "Tapping the clock now takes you to date/time settings." into jb-mr1-dev

11 years agoAssets were drawn in the wrong timezone.
Daniel Sandler [Mon, 1 Oct 2012 13:23:08 +0000 (09:23 -0400)]
Assets were drawn in the wrong timezone.

Bug: 7258384
Change-Id: I62eaeaceb304789ced8027d2b17543a68d5eeca1

11 years agoTapping the clock now takes you to date/time settings.
Alan Smithee [Mon, 1 Oct 2012 13:14:21 +0000 (09:14 -0400)]
Tapping the clock now takes you to date/time settings.

Bug: 7175168
Change-Id: Ib430f0c5765cc6e474ed9a2a2a09e6a127cacf3c

11 years agoAlways accept API calls from processes which have INTERACT_ACROSS_USERS_FULL in Input...
Satoshi Kataoka [Fri, 28 Sep 2012 09:25:06 +0000 (18:25 +0900)]
Always accept API calls from processes which have INTERACT_ACROSS_USERS_FULL in InputMethodManagerService

Bug: 6931482
Change-Id: I1620413578b9e8da6564664219f65bdc00d5ecfd

11 years agoConstruct a task stack for picking a wifi network from notification
Adam Powell [Mon, 1 Oct 2012 01:27:31 +0000 (18:27 -0700)]
Construct a task stack for picking a wifi network from notification

Bug 7001327

Change-Id: I5a79e6933cd33386cd0aa4df626f15902deedd67

11 years agoMerge "Make rssi state change sticky" into jb-mr1-dev
Irfan Sheriff [Mon, 1 Oct 2012 00:49:38 +0000 (17:49 -0700)]
Merge "Make rssi state change sticky" into jb-mr1-dev

11 years agoMerge "Handle ISE when physical volume isn't mounted." into jb-mr1-dev
Jeff Sharkey [Mon, 1 Oct 2012 00:16:50 +0000 (17:16 -0700)]
Merge "Handle ISE when physical volume isn't mounted." into jb-mr1-dev

11 years agoMake rssi state change sticky
Irfan Sheriff [Sun, 30 Sep 2012 23:25:50 +0000 (16:25 -0700)]
Make rssi state change sticky

NetworkController misses the rssi state at boot. It gets the wifi
connection status because it is sticky. The rssi state will remain
out of sync until the wifi state machine sends another update which may
not happen if rssi does not change significantly.

Make rssi sticky as well to make sure NetworkController has the last known
signal strength on wifi.

Bug: 6916156
Change-Id: Id7dd621c6dbc35d7354757c61aa18a3b1ba90593

11 years agoRemove clearUserActivityTimeout().
Jeff Brown [Sun, 30 Sep 2012 22:52:02 +0000 (15:52 -0700)]
Remove clearUserActivityTimeout().

This function is not implemented and not needed.

Bug: 7165399
Change-Id: Ib1c50fabad6292ccf670404ba70aeb1242c4614d

11 years agoMerge "Fix texture corruption" into jb-mr1-dev
Chet Haase [Sun, 30 Sep 2012 22:54:09 +0000 (15:54 -0700)]
Merge "Fix texture corruption" into jb-mr1-dev

11 years agoMerge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..."...
Dianne Hackborn [Sun, 30 Sep 2012 22:52:46 +0000 (15:52 -0700)]
Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev

11 years agoFix texture corruption
Chet Haase [Sun, 30 Sep 2012 19:14:13 +0000 (12:14 -0700)]
Fix texture corruption

When memory gets low on a device, activities flush everything they can.
Hardware-accelerated activites, such as Launcher, flush GL resources and destroy
the GL context. However, some resources were still hanging around, due to deferred
destruction policies (we don't delete layers until the DisplayLists they are in
are finalized, to ensure we don't deref deleted objects). This meant that we were
referring to obsolete GL data in these objects. in particular, it meant that we might
come around later, after a new GL context was created, and delete a texture object
that was incorrect. We use the layer's "texture id" to refer to the texture underlying the
layer. But if there's a new GL context, then this texture ID is no longer valid, and
we may be deleting the texture that a different object (layer, icon, whatever) is referring
to, because the driver may return that same ID under the new GL context.

The fix is to more aggressively delete things that we know will not be used again
when the GL context is destroyed. In particular, we delete all resources being used
by all DisplayLists at GL context destruction time.

Issue #7195815 Textures corruption on all devices, in many apps

Change-Id: I52d2d208173690dbb794a83402d38f14ea4c6c22

11 years agoMerge "Disable package verification in test harness" into jb-mr1-dev
rich cannings [Sun, 30 Sep 2012 22:23:41 +0000 (15:23 -0700)]
Merge "Disable package verification in test harness" into jb-mr1-dev

11 years agoWork on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
Dianne Hackborn [Sun, 30 Sep 2012 19:24:33 +0000 (12:24 -0700)]
Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...

...#testScreenLayout failures on JO

This doesn't actually fix it; I have concluded that the test is broken
(the platform is correctly reporting that this is a NOT LONG device
because in portrait once you account for the status bar and system
bar our size is 880dp high and 600dp wide, which is not enough for us
to be in the LONG config).

However while working on this I noticed that the code for computing
the configuration of the external display was wrong.  I have fixed
that by putting this code for computing these parts of the configuration
in a common place that both the window manager and external display
code can use.

Change-Id: Ic6a84b955e9ec345a87f725203a29e4712dac0ad

11 years agoDisable package verification in test harness
rich cannings [Sun, 30 Sep 2012 21:52:41 +0000 (14:52 -0700)]
Disable package verification in test harness

Bug: 7233608
Change-Id: I521980728f5fb68b42a3906ff4fd25cd59dbbd7a

11 years agoMerge "Making runway lights appear for correct pages (issue 7232481)" into jb-mr1-dev
Adam Cohen [Sun, 30 Sep 2012 21:52:02 +0000 (14:52 -0700)]
Merge "Making runway lights appear for correct pages (issue 7232481)" into jb-mr1-dev

11 years agoMaking runway lights appear for correct pages (issue 7232481)
Adam Cohen [Sun, 30 Sep 2012 21:30:02 +0000 (14:30 -0700)]
Making runway lights appear for correct pages (issue 7232481)

Change-Id: I66a48cc8f14cb9ebfbf032287591565f38cb3606

11 years agoMerge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev
Adam Powell [Sun, 30 Sep 2012 21:24:52 +0000 (14:24 -0700)]
Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev

11 years agoHandle ISE when physical volume isn't mounted.
Jeff Sharkey [Sun, 30 Sep 2012 20:21:31 +0000 (13:21 -0700)]
Handle ISE when physical volume isn't mounted.

Bug: 7238149
Change-Id: I85081225a1a43a2c1b6f70b6275c6bbca0b3764e

11 years agoFix build
Adam Cohen [Sun, 30 Sep 2012 19:58:45 +0000 (12:58 -0700)]
Fix build

Change-Id: I7642494039edec85f8c690a7854b86f318589ff0

11 years agoFix UNSPECIFIED measurement in RelativeLayout
Adam Powell [Sun, 30 Sep 2012 19:39:56 +0000 (12:39 -0700)]
Fix UNSPECIFIED measurement in RelativeLayout

Explicitly handle UNSPECIFIED MeasureSpec mode.

Bug 7258418

Change-Id: Idc7b4f0a4a92505379eb5479a84665f7908fcb83

11 years agoMerge "Update APIs to JB MR1 level 17." into jb-mr1-dev
Dianne Hackborn [Sun, 30 Sep 2012 19:22:50 +0000 (12:22 -0700)]
Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev

11 years agoMerge "Integrate keyguard paging hint" into jb-mr1-dev
Adam Cohen [Sun, 30 Sep 2012 19:21:21 +0000 (12:21 -0700)]
Merge "Integrate keyguard paging hint" into jb-mr1-dev

11 years agoMerge "Getting rid of keyguard widget flag that isn't used" into jb-mr1-dev
Adam Cohen [Sun, 30 Sep 2012 19:19:50 +0000 (12:19 -0700)]
Merge "Getting rid of keyguard widget flag that isn't used" into jb-mr1-dev

11 years agoMerge "Changing debug for b/7094175." into jb-mr1-dev
Craig Mautner [Sun, 30 Sep 2012 18:45:32 +0000 (11:45 -0700)]
Merge "Changing debug for b/7094175." into jb-mr1-dev

11 years agoMerge "Fix the build" into jb-mr1-dev
Fabrice Di Meglio [Sun, 30 Sep 2012 18:36:47 +0000 (11:36 -0700)]
Merge "Fix the build" into jb-mr1-dev

11 years agoMerge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play...
Fabrice Di Meglio [Sun, 30 Sep 2012 18:33:30 +0000 (11:33 -0700)]
Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

11 years agoFix the build
Fabrice Di Meglio [Sun, 30 Sep 2012 18:32:33 +0000 (11:32 -0700)]
Fix the build

Change-Id: I82c31a0091ee46d9e4923cf08f73f3db213c0762

11 years agoMerge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into...
Romain Guy [Sun, 30 Sep 2012 18:28:54 +0000 (11:28 -0700)]
Merge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into jb-mr1-dev

11 years agoPerform a long computation to catch bitmap sizes > 32 bits
Romain Guy [Sun, 30 Sep 2012 17:49:15 +0000 (10:49 -0700)]
Perform a long computation to catch bitmap sizes > 32 bits
Bug #7257930

Change-Id: I28d08024fabe8103251d480524b0b0f2fd2d2aba

11 years agoUpdate APIs to JB MR1 level 17.
Dianne Hackborn [Thu, 27 Sep 2012 23:15:42 +0000 (16:15 -0700)]
Update APIs to JB MR1 level 17.

17 is current, resources are fixed, cleanup is done.

Change-Id: I6de446e209f59c5dd5fe1cde311776ab222817ea

11 years agoMerge "reset() should reset. Otherwise it would be called something else. Bug #725609...
Romain Guy [Sun, 30 Sep 2012 18:23:51 +0000 (11:23 -0700)]
Merge "reset() should reset. Otherwise it would be called something else. Bug #7256095" into jb-mr1-dev

11 years agoFix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
Fabrice Di Meglio [Sat, 29 Sep 2012 02:50:18 +0000 (19:50 -0700)]
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings

- do not need those variables. Use what we already have in View.
- reset padding to initial values before changing it.

Change-Id: Ib396b3dca6e98a94d83a538a9b594b5eb426c453

11 years agoMerge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
Fabrice Di Meglio [Sun, 30 Sep 2012 17:53:25 +0000 (10:53 -0700)]
Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Sun, 30 Sep 2012 13:43:09 +0000 (06:43 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoChanging debug for b/7094175.
Craig Mautner [Sat, 29 Sep 2012 23:02:43 +0000 (16:02 -0700)]
Changing debug for b/7094175.

Fixes bug 7094175 (but not really).

Change-Id: Ice2abb93f479ea0bda931e9643710668c25aa285

11 years agoExplore by touch enabled when screen magnification is on.
Svetoslav Ganov [Sat, 29 Sep 2012 17:46:13 +0000 (10:46 -0700)]
Explore by touch enabled when screen magnification is on.

1. A recently added check was preventing touch exploration being
   disabled when the last touch exploring service was turned off.
   As a consequence enabling explore by touch was initializing the
   input filter with the magnification and the not disabled
   screen magnification features.
bug:7256223

Change-Id: I9ed5457705d625805462e4d316b2c8a5af9aabca

11 years agoMerge "Getting rid of blue outline in user switcher, instead brighten the user" into...
Mike Cleron [Sat, 29 Sep 2012 02:43:16 +0000 (19:43 -0700)]
Merge "Getting rid of blue outline in user switcher, instead brighten the user" into jb-mr1-dev

11 years agoIntegrate keyguard paging hint
Jim Miller [Sat, 29 Sep 2012 02:37:26 +0000 (19:37 -0700)]
Integrate keyguard paging hint

Bug 7232481

Change-Id: I1959ae61b8f5afd055158dad67bdceecc4870d24

11 years agoGetting rid of keyguard widget flag that isn't used
Adam Cohen [Sat, 29 Sep 2012 01:35:41 +0000 (18:35 -0700)]
Getting rid of keyguard widget flag that isn't used

-> issue 7238875

Change-Id: Ifad890b4061784889f3fc7711a165452cf230fbd

11 years agoGetting rid of blue outline in user switcher, instead brighten the user
Adam Cohen [Sat, 29 Sep 2012 01:13:14 +0000 (18:13 -0700)]
Getting rid of blue outline in user switcher, instead brighten the user

Change-Id: I4817615cc28eb1fea35ecb5c3d69c4298c9cf2cf

11 years agoreset() should reset. Otherwise it would be called something else.
Romain Guy [Sat, 29 Sep 2012 02:24:37 +0000 (19:24 -0700)]
reset() should reset. Otherwise it would be called something else.
Bug #7256095

Change-Id: I610bbcaccdceaf2b5bb5f9d231283335911d4cd9

11 years agoMerge "Get rid of preventScreenOn()." into jb-mr1-dev
Jeff Brown [Sat, 29 Sep 2012 02:05:51 +0000 (19:05 -0700)]
Merge "Get rid of preventScreenOn()." into jb-mr1-dev

11 years agoMerge "Make the theme for choose account and choose account type dialogs same." into...
Jatin Lodhia [Sat, 29 Sep 2012 01:50:19 +0000 (18:50 -0700)]
Merge "Make the theme for choose account and choose account type dialogs same." into jb-mr1-dev

11 years agoMerge "Clean up SIM PIN and PUK screens in keyguard." into jb-mr1-dev
Jim Miller [Sat, 29 Sep 2012 01:40:43 +0000 (18:40 -0700)]
Merge "Clean up SIM PIN and PUK screens in keyguard." into jb-mr1-dev

11 years agoFix bug #6427629 Clean up layout direction APIs
Fabrice Di Meglio [Sat, 29 Sep 2012 01:01:17 +0000 (18:01 -0700)]
Fix bug #6427629 Clean up layout direction APIs

- remove onPaddingChanged(int) and fold it into onRtlPropertiesChanged(int)

Change-Id: I1d7f02d2b4538c6c991bd4285501bbc73e6aa5c3

11 years agoGet rid of preventScreenOn().
Jeff Brown [Sat, 29 Sep 2012 01:21:36 +0000 (18:21 -0700)]
Get rid of preventScreenOn().

Bug: 7165399
Change-Id: I1968265ecd74fff4d85efd2ca03b1983425ea518

11 years agoMerge "Revert setting GO idle time out" into jb-mr1-dev
Irfan Sheriff [Sat, 29 Sep 2012 01:20:11 +0000 (18:20 -0700)]
Merge "Revert setting GO idle time out" into jb-mr1-dev

11 years agoMerge "Fix issue #7255954: API Review: rename Dream to DreamService" into jb-mr1-dev
Dianne Hackborn [Sat, 29 Sep 2012 01:17:12 +0000 (18:17 -0700)]
Merge "Fix issue #7255954: API Review: rename Dream to DreamService" into jb-mr1-dev

11 years agoFix issue #7255954: API Review: rename Dream to DreamService
Dianne Hackborn [Fri, 28 Sep 2012 23:31:34 +0000 (16:31 -0700)]
Fix issue #7255954: API Review: rename Dream to DreamService

Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872

11 years agoMerge "Sending interaction end event at the end of a drag." into jb-mr1-dev
Svetoslav Ganov [Sat, 29 Sep 2012 00:38:32 +0000 (17:38 -0700)]
Merge "Sending interaction end event at the end of a drag." into jb-mr1-dev

11 years agoSending interaction end event at the end of a drag.
Svetoslav Ganov [Fri, 28 Sep 2012 23:51:53 +0000 (16:51 -0700)]
Sending interaction end event at the end of a drag.

1. In explore-by-touch when the user slides two fingers in the same
   direction we consider it a drag gesture. We merge the pointers into
   one and deliver a touch event. When one of the pointers goes up
   we were transitioning into touch exploring state. This means that
   were transitioning to another state in the middle of a gesture which
   creates complications and leads for interaction end event not being
   sent.

   This change transitions out of dragging state when all pointers go up
   - simple and all events are properly sent. Consequentially, staring a
   drag the user has to lift all pointers to touch explore. Since usually
   users either drags or touch explores this seems the simplest and
   *least risky* fix.

bug:7253731

Change-Id: Ie8588fbe9b26cb81312bd7fd377c94732e41e3f8

11 years agoClean up SIM PIN and PUK screens in keyguard.
Jim Miller [Fri, 28 Sep 2012 23:59:31 +0000 (16:59 -0700)]
Clean up SIM PIN and PUK screens in keyguard.

- new flow for PUK screen
- clean up SIM and PUK screen to match UX designs
- simplified logic for showing emergency call button

Change-Id: I66fcd312f3c52dd212d9836dc020735dbc88d5ee

11 years agoMerge "Update Premium-SMS detection UI." into jb-mr1-dev
Robert Greenwalt [Fri, 28 Sep 2012 23:55:43 +0000 (16:55 -0700)]
Merge "Update Premium-SMS detection UI." into jb-mr1-dev

11 years agoRevert setting GO idle time out
Irfan Sheriff [Fri, 28 Sep 2012 23:49:50 +0000 (16:49 -0700)]
Revert setting GO idle time out

GO idle time out causes issues with multi-channel capable client which
can take longer to connect.

Use the supplicant default detection when acting as a GO.

Bug: 7254008
Change-Id: I6c40081cfa83ca0ddbb764640a48c92d69e609fd

11 years agoMerge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 23:15:35 +0000 (16:15 -0700)]
Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev

11 years agoMerge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play...
Fabrice Di Meglio [Fri, 28 Sep 2012 23:12:14 +0000 (16:12 -0700)]
Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

11 years agoMerge "Keep callback reference from being null." into jb-mr1-dev
Craig Mautner [Fri, 28 Sep 2012 22:54:43 +0000 (15:54 -0700)]
Merge "Keep callback reference from being null." into jb-mr1-dev

11 years agoMerge "Fix issue #7211769 and #7244492, thrash around on #7226656." into jb-mr1-dev
Dianne Hackborn [Fri, 28 Sep 2012 22:53:19 +0000 (15:53 -0700)]
Merge "Fix issue #7211769 and #7244492, thrash around on #7226656." into jb-mr1-dev

11 years agoFix adjustViewBounds handling for ImageView
Adam Powell [Wed, 26 Sep 2012 22:21:39 +0000 (15:21 -0700)]
Fix adjustViewBounds handling for ImageView

When computing the adjusted view bounds, don't constrain the
dimensions by the original estimate if the opposite dimension has a
fixed size. This can result in the view never getting properly
enlarged.

Also fix a long-standing bug in MeasureSpec.makeMeasureSpec where
oversized or negative values could result in broken packed values.

Bug 7240251

Change-Id: I359d108ff52b6f3b5c4bf393d2271d28999c0127

11 years agoMerge "Fix issue #7202950: After clearing data, clear data button is still enabled...
Dianne Hackborn [Fri, 28 Sep 2012 22:52:25 +0000 (15:52 -0700)]
Merge "Fix issue #7202950: After clearing data, clear data button is still enabled." into jb-mr1-dev

11 years agoFix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
Fabrice Di Meglio [Fri, 28 Sep 2012 22:49:38 +0000 (15:49 -0700)]
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings

- fix padding issue. Need to update padding if layout direction change

Change-Id: I2924c1b94c7ef054dd9bd670de4c5c206f52e412

11 years agoMerge "Use updatable file for premium-sms filter" into jb-mr1-dev
Robert Greenwalt [Fri, 28 Sep 2012 22:47:19 +0000 (15:47 -0700)]
Merge "Use updatable file for premium-sms filter" into jb-mr1-dev

11 years agoFix issue #7211769 and #7244492, thrash around on #7226656.
Dianne Hackborn [Fri, 28 Sep 2012 06:20:10 +0000 (23:20 -0700)]
Fix issue #7211769 and #7244492, thrash around on #7226656.

Issue #7211769: Crash dialog from background user has non-working "report"

The report button now launches the issue reporter for the correct user.
Also for crashes on background users, either disable the report button,
or simply don't show the dialog depending on the build config.

Issue #7244492: Bugreport button in Quick Settings doesn't actually do anything

Now they do.

Issue #7226656: second user seeing primary user's apps

I haven't had any success at reproducing this.  I have tried to tighten up
the path where we create the user to ensure nothing could cause the
user's applications to be accessed before the user it fully created and thus
make them installed...  but I can't convince myself that is the actual problem.

Also tightened up the user switch code to use forground broadcasts for all
of the updates about the switch (since this is really a foreground operation),
added a facility to have BOOT_COMPELTED broadcasts not get launched for
secondary users and use that on a few key system receivers, fixed some debug
output.

Change-Id: Iadf8f8e4878a86def2e495e9d0dc40c4fb347021

11 years agoKeep callback reference from being null.
Craig Mautner [Fri, 28 Sep 2012 22:22:39 +0000 (15:22 -0700)]
Keep callback reference from being null.

The hide call delays removal of mKeyguardView but the inflate call
occurred before the delay expired. The method inflateKeyguardView
would have removed it except hide() also nulled out mKeyguardView.
Consequently there were two KeyguardHostViews in the view hierarchy.
The findViewById returned the first view which got the callback
assigned. Later that view was removed from the hierarchy and when
the new view was called it had no callback assigned => NPE!

This fix removes the KeyguardHostView from the mKeyguardHost by
referncing the id rather than the null mKeyguardView.

Fixes bug 7250008.

Change-Id: Ic9da3415d72187628f06271c12d5184f9d01059b

11 years agoMerge "Don't try to open action bar overflow menus from bogus events" into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 22:20:27 +0000 (15:20 -0700)]
Merge "Don't try to open action bar overflow menus from bogus events" into jb-mr1-dev

11 years agoam ef6130d6: am dc3e0069: am b78c2207: Merge "updates to the brand guidelines, based...
Scott Main [Fri, 28 Sep 2012 22:15:53 +0000 (15:15 -0700)]
am ef6130d6: am dc3e0069: am b78c2207: Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs

* commit 'ef6130d6fa0e84c5aa038ff87e1fa633fe98a7b4':
  updates to the brand guidelines, based on the partner toolkit

11 years agoam dc3e0069: am b78c2207: Merge "updates to the brand guidelines, based on the partne...
Scott Main [Fri, 28 Sep 2012 22:09:20 +0000 (15:09 -0700)]
am dc3e0069: am b78c2207: Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs

* commit 'dc3e0069827289c77e769e2d1861f0e1520f7693':
  updates to the brand guidelines, based on the partner toolkit

11 years agoam b78c2207: Merge "updates to the brand guidelines, based on the partner toolkit...
Scott Main [Fri, 28 Sep 2012 22:05:19 +0000 (15:05 -0700)]
am b78c2207: Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs

* commit 'b78c2207a05cee804f225e86c27211ae5b1629ab':
  updates to the brand guidelines, based on the partner toolkit

11 years agoMerge "updates to the brand guidelines, based on the partner toolkit" into jb-dev...
Scott Main [Fri, 28 Sep 2012 22:02:28 +0000 (15:02 -0700)]
Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs

11 years agoDon't try to open action bar overflow menus from bogus events
Adam Powell [Fri, 28 Sep 2012 21:24:48 +0000 (14:24 -0700)]
Don't try to open action bar overflow menus from bogus events

Some monkey tests could hit a case where a posted overflow button
click event was still lingering after the menu was no longer in a
created state, which could lead apps to crash. Just drop open-overflow
requests on the floor if the menu is in a weird state when we try.

Bug 7242431

Change-Id: Ieebb1fccfeeccbf17fd7c6cff06efbcb19b11ce3

11 years agoMerge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 21:15:20 +0000 (14:15 -0700)]
Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev

11 years agoMerge "Fix a couple of rendering issues Bug #7253839" into jb-mr1-dev
Romain Guy [Fri, 28 Sep 2012 21:11:40 +0000 (14:11 -0700)]
Merge "Fix a couple of rendering issues Bug #7253839" into jb-mr1-dev

11 years agoMerge "NumberPicker should adjust min and max when displayed values are set." into...
Svetoslav Ganov [Fri, 28 Sep 2012 21:08:00 +0000 (14:08 -0700)]
Merge "NumberPicker should adjust min and max when displayed values are set." into jb-mr1-dev

11 years agoTrack offset of center child view in Gallery for later layouts
Adam Powell [Fri, 28 Sep 2012 21:04:48 +0000 (14:04 -0700)]
Track offset of center child view in Gallery for later layouts

When apps request layouts while scrolling is in progress, Gallery
children can get offset in strange ways. Compensate for this by
tracking the last known offset and applying it during layout.

Bug 7245853

Change-Id: I9d746ae6bb06918e2d920c58052f72e749a7ffbf

11 years agoFix a couple of rendering issues
Romain Guy [Fri, 28 Sep 2012 20:55:44 +0000 (13:55 -0700)]
Fix a couple of rendering issues
Bug #7253839

1. Make sure we don't make GL calls while recording display lists

2. Disable an early and trivial clip optimization in font renderer
   when a perspective transformation is used on the Canvas

Change-Id: I3f1052164239329346854f72d0a0d401fbfecf06

11 years agoMerge "Pass display arg to blank/unblank" into jb-mr1-dev
Andy McFadden [Fri, 28 Sep 2012 20:06:44 +0000 (13:06 -0700)]
Merge "Pass display arg to blank/unblank" into jb-mr1-dev

11 years agoMerge "add api level 17 to javadoc filter and update version number" into jb-mr1-dev
Scott Main [Fri, 28 Sep 2012 20:01:50 +0000 (13:01 -0700)]
Merge "add api level 17 to javadoc filter and update version number" into jb-mr1-dev

11 years agoam 7e8c613f: (-s ours) Reconcile with jb-mr0-release - do not merge
The Android Open Source Project [Fri, 28 Sep 2012 19:58:34 +0000 (12:58 -0700)]
am 7e8c613f: (-s ours) Reconcile with jb-mr0-release - do not merge

* commit '7e8c613f823b382ecc7cab843e2920aa5dd05447':
  DO NOT MERGE - Full (local) restore security changes

11 years agoMerge "String change for video routing via MediaRouter; "HDMI" not "HDMI audio."...
Adam Powell [Fri, 28 Sep 2012 19:57:14 +0000 (12:57 -0700)]
Merge "String change for video routing via MediaRouter; "HDMI" not "HDMI audio."" into jb-mr1-dev

11 years agoReconcile with jb-mr0-release - do not merge
The Android Open Source Project [Fri, 28 Sep 2012 19:53:18 +0000 (12:53 -0700)]
Reconcile with jb-mr0-release - do not merge

Change-Id: Icaa1aa21771c3281f508f5c90644f4b9a97c22b9

11 years agoString change for video routing via MediaRouter; "HDMI" not "HDMI audio."
Adam Powell [Fri, 28 Sep 2012 19:52:34 +0000 (12:52 -0700)]
String change for video routing via MediaRouter; "HDMI" not "HDMI audio."

Change-Id: Ifece0cf0bc11ff2ffab254c6177f9db741037df6

11 years agoMerge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev
Russell Brenner [Fri, 28 Sep 2012 19:47:25 +0000 (12:47 -0700)]
Merge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev

11 years agoNumberPicker should adjust min and max when displayed values are set.
Svetoslav Ganov [Fri, 28 Sep 2012 19:35:55 +0000 (12:35 -0700)]
NumberPicker should adjust min and max when displayed values are set.

1. The BumberPicker exposes APIs for settings displayed values for the
   selected numbers. If the min and max value of the picker are less then
   the length of the new displayed values array, i.e. they are out of
   bounds, the NumberPicker crashes.

bug:7254000

Change-Id: I182e30216ef28c98d6541f9c985b43c8179dec76

11 years agoMerge "Fix occasional re-posting of ticker text." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 19:40:41 +0000 (12:40 -0700)]
Merge "Fix occasional re-posting of ticker text." into jb-mr1-dev

11 years agoMerge "Some accessibility events not sent from touch explorer if apps misbehave....
Svetoslav Ganov [Fri, 28 Sep 2012 19:33:56 +0000 (12:33 -0700)]
Merge "Some accessibility events not sent from touch explorer if apps misbehave." into jb-mr1-dev