OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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

11 years agoMerge "Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into...
Fabrice Di Meglio [Fri, 28 Sep 2012 19:32:00 +0000 (12:32 -0700)]
Merge "Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into jb-mr1-dev

11 years agoFix occasional re-posting of ticker text.
Daniel Sandler [Fri, 28 Sep 2012 19:33:14 +0000 (15:33 -0400)]
Fix occasional re-posting of ticker text.

Bug: 6992707
Change-Id: Ib289d742c2fb24d2c201d597349fa86ad8ce4a28

11 years agoMerge "Other improvements for bug #6427629 Clean up layout direction APIs" into jb...
Fabrice Di Meglio [Fri, 28 Sep 2012 19:31:45 +0000 (12:31 -0700)]
Merge "Other improvements for bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

11 years agoMerge "Remove dock home support." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 19:25:31 +0000 (12:25 -0700)]
Merge "Remove dock home support." into jb-mr1-dev

11 years agoRemove dock home support.
Daniel Sandler [Fri, 28 Sep 2012 18:04:59 +0000 (14:04 -0400)]
Remove dock home support.

We still have dock apps and dock mode, just not home-key
capture.

Bug: 7163049
Change-Id: I8234ebf066798071517b4a586b06708b6ec0bc71

11 years agoMerge "ScaleGestureDetector does the safety dance." into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 19:21:10 +0000 (12:21 -0700)]
Merge "ScaleGestureDetector does the safety dance." into jb-mr1-dev

11 years agoMerge "Adding missing file in previous change (Bug 7252771)" into jb-mr1-dev
Winson Chung [Fri, 28 Sep 2012 19:19:03 +0000 (12:19 -0700)]
Merge "Adding missing file in previous change (Bug 7252771)" into jb-mr1-dev

11 years agoMerge "Add wireless display selection support to MediaRouter." into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 19:07:50 +0000 (12:07 -0700)]
Merge "Add wireless display selection support to MediaRouter." into jb-mr1-dev

11 years agoadd api level 17 to javadoc filter and update version number
Scott Main [Fri, 28 Sep 2012 19:09:59 +0000 (12:09 -0700)]
add api level 17 to javadoc filter and update version number

Change-Id: I278f796b3390e57f4309f215e4f37359a80f0e83

11 years agoMerge "Missed a spot, needInput was not getting called." into jb-mr1-dev
Craig Mautner [Fri, 28 Sep 2012 19:07:16 +0000 (12:07 -0700)]
Merge "Missed a spot, needInput was not getting called." into jb-mr1-dev

11 years agoScaleGestureDetector does the safety dance.
Adam Powell [Fri, 28 Sep 2012 19:05:10 +0000 (12:05 -0700)]
ScaleGestureDetector does the safety dance.

Warn in the event of possibly bogus event streams and don't try to
clear empty history.

Bug 7241640
Bug 7243006

Change-Id: I037cf1334cab790ef5998ca5f8f6b323ed5f4459

11 years agoDO NOT MERGE - Full (local) restore security changes
Christopher Tate [Wed, 26 Sep 2012 22:25:59 +0000 (15:25 -0700)]
DO NOT MERGE - Full (local) restore security changes

(1) Prevent full restore from creating files/directories that are
    accessible by other applications

(2) Don't restore filesets from "system" packages; i.e. any that runs
    as a special uid, unless they define their own agent for handling
    the restore process.

Bug 7168284

This is a cherry-pick from the originating tree.

Change-Id: I9f39ada3c4c3b7ee63330b015e62745e84ccb58f

11 years agoAdding missing file in previous change (Bug 7252771)
Winson Chung [Fri, 28 Sep 2012 18:55:53 +0000 (11:55 -0700)]
Adding missing file in previous change (Bug 7252771)

Change-Id: I5f37a45b7c07d56cad850d90232f39a027e65ba7

11 years agoMissed a spot, needInput was not getting called.
Craig Mautner [Fri, 28 Sep 2012 18:54:09 +0000 (11:54 -0700)]
Missed a spot, needInput was not getting called.

Fixes bug 7250008.

Change-Id: I837af438510275ea69e217289aeb7a08111b91b5

11 years agoAdd wireless display selection support to MediaRouter.
Adam Powell [Mon, 17 Sep 2012 20:30:51 +0000 (13:30 -0700)]
Add wireless display selection support to MediaRouter.

* Adds the new route type LIVE_VIDEO

* Wireless displays support both LIVE_VIDEO and LIVE_AUDIO, making
  wireless display routes valid selections in when apps make selecting
  live audio routes available.

* MediaRouter will only report/manipulate wireless displays that have
  already been paired at the system level.

Bug 7177920

Change-Id: Ic221b8687d77b4c0df9801c396b74870e86206e9

11 years agoFixing crash in QuickContacts. (Bug 7252771)
Winson Chung [Fri, 28 Sep 2012 18:37:41 +0000 (11:37 -0700)]
Fixing crash in QuickContacts. (Bug 7252771)

Change-Id: Ibf304a4c2115f557e0408e345c7714d248fcd35d

11 years agoam ad8bda21: (-s ours) am 64d1f3ef: DO NOT MERGE - Full (local) restore security...
Christopher Tate [Fri, 28 Sep 2012 18:33:54 +0000 (11:33 -0700)]
am ad8bda21: (-s ours) am 64d1f3ef: DO NOT MERGE - Full (local) restore security changes

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

11 years agoam 64d1f3ef: DO NOT MERGE - Full (local) restore security changes
Christopher Tate [Fri, 28 Sep 2012 18:32:15 +0000 (11:32 -0700)]
am 64d1f3ef: DO NOT MERGE - Full (local) restore security changes

* commit '64d1f3efd759b70462aecb6cf1d8c733872a8911':
  DO NOT MERGE - Full (local) restore security changes

11 years agoSome accessibility events not sent from touch explorer if apps misbehave.
Svetoslav Ganov [Fri, 28 Sep 2012 18:12:34 +0000 (11:12 -0700)]
Some accessibility events not sent from touch explorer if apps misbehave.

1. The touch explorer is relying on the hover exit accessibility event to be sent
   from the app's view tree before sending the exploration end and last touch
   accessibility events. However, if the app is buggy and does not send the hover
   exit event, then the interaction ending events are never sent. Now there is a
   timeout in which we wait for the hover exit accessibility event before sending
   the gesture end and last touch accessibility events. Hence, we are making a
   best effort to have a consistent event stream.

2. Sneaking in the new nine patch for the border around the magnified region
   since the current one is engineering art.

bug:7233616

Change-Id: Ie64f23659c25ab914565d50537b9a82bdc6a44a0

11 years agoMerge "Fix for bug 6936752 Tamil text gets truncated on right-hand side" into jb...
Raph Levien [Fri, 28 Sep 2012 18:14:47 +0000 (11:14 -0700)]
Merge "Fix for bug 6936752 Tamil text gets truncated on right-hand side" into jb-mr1-dev

11 years agoMerge "Remove user switcher from long-press power menu" into jb-mr1-dev
Amith Yamasani [Fri, 28 Sep 2012 18:09:22 +0000 (11:09 -0700)]
Merge "Remove user switcher from long-press power menu" into jb-mr1-dev

11 years agoMerge "Pass the originating uid to the package verifier" into jb-mr1-dev
Ben Gruver [Fri, 28 Sep 2012 17:58:18 +0000 (10:58 -0700)]
Merge "Pass the originating uid to the package verifier" into jb-mr1-dev

11 years agoMake the theme for choose account and choose account type dialogs same.
Jatin Lodhia [Fri, 28 Sep 2012 17:53:37 +0000 (10:53 -0700)]
Make the theme for choose account and choose account type dialogs same.

Contacts app uses a custom account picker which calls the system account picker
when an account needs to be added. The system accout picker invokes choose
accout type dialog which overlays over the system acccount picker. Because these
two dialog boxes use different themes, he one behind is wider than the one in
foreground and ends up looking like a thin black strip protruding from the two
sides.
Bug: 6980517

Change-Id: Ia8b23767d995dcbe1a58087cb4bfbee140c2c744

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 28 Sep 2012 17:52:06 +0000 (10:52 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Add the SystemUI's dream-starter as a DESK_DOCK app." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 17:49:05 +0000 (10:49 -0700)]
Merge "Add the SystemUI's dream-starter as a DESK_DOCK app." into jb-mr1-dev

11 years agoMerge "Prop the tablet notification panel open a bit." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 17:47:45 +0000 (10:47 -0700)]
Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev

11 years agoMerge "Inconsistent events on transition from gesture detection to touch exploration...
Svetoslav Ganov [Fri, 28 Sep 2012 17:37:55 +0000 (10:37 -0700)]
Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev

11 years agoMerge "Accessibility services that do not accept events are mismanaged." into jb...
Svetoslav Ganov [Fri, 28 Sep 2012 17:36:53 +0000 (10:36 -0700)]
Merge "Accessibility services that do not accept events are mismanaged." into jb-mr1-dev

11 years agoMerge "Add null checks before using mViewMediatorCallback." into jb-mr1-dev
Craig Mautner [Fri, 28 Sep 2012 17:33:06 +0000 (10:33 -0700)]
Merge "Add null checks before using mViewMediatorCallback." into jb-mr1-dev

11 years agoAdd null checks before using mViewMediatorCallback.
Craig Mautner [Fri, 28 Sep 2012 17:27:56 +0000 (10:27 -0700)]
Add null checks before using mViewMediatorCallback.

Fixes bug 7250008.

Change-Id: I744241c46de5222a3e1767a04464e657ccd9f799

11 years agoUse updatable file for premium-sms filter
Robert Greenwalt [Mon, 24 Sep 2012 20:57:16 +0000 (13:57 -0700)]
Use updatable file for premium-sms filter

The data is really to big for a gservices-driven secure setting.

bug:7221402
Change-Id: Ie3d4a1a0aeb69b9ef8fad360fa7ec32e927644e8

11 years agoRemove user switcher from long-press power menu
Amith Yamasani [Fri, 28 Sep 2012 17:14:01 +0000 (10:14 -0700)]
Remove user switcher from long-press power menu

Bug: 7252218

Also lock the screen before doing the user switch. This prevents the
janky behavior of showing the target user's homescreen after the switch
and then the lock screen. This is also a privacy issue.

Change-Id: I9f8db047335d06fc93505d7b5cca71e27ca3ac39

11 years agoMerge "Close the notification shade when starting dream." into jb-mr1-dev
John Spurlock [Fri, 28 Sep 2012 17:20:22 +0000 (10:20 -0700)]
Merge "Close the notification shade when starting dream." into jb-mr1-dev

11 years agoMerge "Cleanup internal status bar APIs." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 17:07:15 +0000 (10:07 -0700)]
Merge "Cleanup internal status bar APIs." into jb-mr1-dev

11 years agoInconsistent events on transition from gesture detection to touch exploration.
Svetoslav Ganov [Fri, 28 Sep 2012 17:06:18 +0000 (10:06 -0700)]
Inconsistent events on transition from gesture detection to touch exploration.

1. The problem is that we have a gesture detection timeout after which we transition
   to touch exploration state. This handles the case where the user is using too high
   velocity while trying to touch explore. The delayed command that transitions from
   gesture detection state to touch exploration state was not firing an event for the
   end of gesture detection and begin of touch exploration before doing its main work
   to transition to touch exploring state.

bug:7233819

Change-Id: I5c4855231aa3826dadbee324e74a3c9e52c96cd9

11 years agoAccessibility services that do not accept events are mismanaged.
Svetoslav Ganov [Fri, 28 Sep 2012 16:27:35 +0000 (09:27 -0700)]
Accessibility services that do not accept events are mismanaged.

1. If an accessibility service does not specify that it handles any
   event types it was never added to the list of services while
   the system is bound to it. Since the service is not in the list
   with enabled services we never unbind it, hence it consumes
   resources without doing nothing. This is also semantically
   incorrect because a sevice may not want to receive events while
   handling only gestures.

bug:5648345

Change-Id: Id478a4704cdeeb1729330f6ae4b8ff9e06320952

11 years agoProp the tablet notification panel open a bit.
Daniel Sandler [Fri, 28 Sep 2012 16:22:27 +0000 (12:22 -0400)]
Prop the tablet notification panel open a bit.

It will now occupy at least 40% of the screen, vertically.

Bug: 7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96

11 years agoClose the notification shade when starting dream.
John Spurlock [Fri, 28 Sep 2012 16:15:08 +0000 (12:15 -0400)]
Close the notification shade when starting dream.

Bug:7205491
Change-Id: I17d2b75bc502ff8fb739a6cbb4d0219681fa4e8a

11 years agoAdd the SystemUI's dream-starter as a DESK_DOCK app.
Daniel Sandler [Fri, 28 Sep 2012 15:28:09 +0000 (11:28 -0400)]
Add the SystemUI's dream-starter as a DESK_DOCK app.

The circle is complete: dock mode is back, and it will
launch Dreams by default.

Bug: 7163049
Change-Id: I3c681ac701d65b03f882d92d06389d4528e34747

11 years agoMerge "Fix panel handles on large screens." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 13:50:57 +0000 (06:50 -0700)]
Merge "Fix panel handles on large screens." into jb-mr1-dev

11 years agoMerge "Bundle correlated switch changes atomically." into jb-mr1-dev
Jeff Brown [Fri, 28 Sep 2012 07:35:57 +0000 (00:35 -0700)]
Merge "Bundle correlated switch changes atomically." into jb-mr1-dev

11 years agoMerge "Fix ime swtich issue" into jb-mr1-dev
Satoshi Kataoka [Fri, 28 Sep 2012 07:26:54 +0000 (00:26 -0700)]
Merge "Fix ime swtich issue" into jb-mr1-dev

11 years agoFix ime swtich issue
Satoshi Kataoka [Fri, 28 Sep 2012 06:59:58 +0000 (15:59 +0900)]
Fix ime swtich issue

Bug: 7250097
Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2

11 years agoMerge "Fix HierarchyViewer so it can load Contacts" into jb-mr1-dev
Romain Guy [Fri, 28 Sep 2012 06:40:56 +0000 (23:40 -0700)]
Merge "Fix HierarchyViewer so it can load Contacts" into jb-mr1-dev

11 years agoFix HierarchyViewer so it can load Contacts
Romain Guy [Fri, 28 Sep 2012 06:36:34 +0000 (23:36 -0700)]
Fix HierarchyViewer so it can load Contacts

Change-Id: I5d5f400a9283f9c2431d91a10f85be42b02fe6a0

11 years agoMerge "Fix recents animation in landscape Bug #7250041" into jb-mr1-dev
Romain Guy [Fri, 28 Sep 2012 06:11:04 +0000 (23:11 -0700)]
Merge "Fix recents animation in landscape Bug #7250041" into jb-mr1-dev

11 years agoFix recents animation in landscape
Romain Guy [Fri, 28 Sep 2012 06:07:38 +0000 (23:07 -0700)]
Fix recents animation in landscape
Bug #7250041

Change-Id: I0d7d85aa6a9444ac5dc2451be816f8387036e068

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Fri, 28 Sep 2012 06:03:04 +0000 (23:03 -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 [Fri, 28 Sep 2012 06:00:21 +0000 (23:00 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev