85344 Commits

Author SHA1 Message Date
Svetoslav Ganov
07ddb460af Merge "NumberPicker should adjust min and max when displayed values are set." into jb-mr1-dev 2012-09-28 14:08:00 -07:00
Andy McFadden
94ffe8739e Merge "Pass display arg to blank/unblank" into jb-mr1-dev 2012-09-28 13:06:45 -07:00
Scott Main
053644dba9 Merge "add api level 17 to javadoc filter and update version number" into jb-mr1-dev 2012-09-28 13:01:50 -07:00
The Android Open Source Project
59adf04ab3 am 7e8c613f: (-s ours) Reconcile with jb-mr0-release - do not merge
* commit '7e8c613f823b382ecc7cab843e2920aa5dd05447':
  DO NOT MERGE - Full (local) restore security changes
2012-09-28 12:58:34 -07:00
Adam Powell
aa64b11020 Merge "String change for video routing via MediaRouter; "HDMI" not "HDMI audio."" into jb-mr1-dev 2012-09-28 12:57:14 -07:00
The Android Open Source Project
7e8c613f82 Reconcile with jb-mr0-release - do not merge
Change-Id: Icaa1aa21771c3281f508f5c90644f4b9a97c22b9
2012-09-28 12:53:18 -07:00
Adam Powell
4131a37366 String change for video routing via MediaRouter; "HDMI" not "HDMI audio."
Change-Id: Ifece0cf0bc11ff2ffab254c6177f9db741037df6
2012-09-28 12:52:34 -07:00
Russell Brenner
fd4da14c83 Merge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev 2012-09-28 12:47:25 -07:00
Svetoslav Ganov
a1410e6789 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
2012-09-28 12:40:42 -07:00
Daniel Sandler
073a32d5ef Merge "Fix occasional re-posting of ticker text." into jb-mr1-dev 2012-09-28 12:40:41 -07:00
Svetoslav Ganov
47c52a873e Merge "Some accessibility events not sent from touch explorer if apps misbehave." into jb-mr1-dev 2012-09-28 12:35:58 -07:00
Fabrice Di Meglio
8af2a13d03 Merge "Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into jb-mr1-dev 2012-09-28 12:33:49 -07:00
Daniel Sandler
f59a90c247 Fix occasional re-posting of ticker text.
Bug: 6992707
Change-Id: Ib289d742c2fb24d2c201d597349fa86ad8ce4a28
2012-09-28 15:33:14 -04:00
Fabrice Di Meglio
669aa7cb35 Merge "Other improvements for bug #6427629 Clean up layout direction APIs" into jb-mr1-dev 2012-09-28 12:31:46 -07:00
Daniel Sandler
287f8a6e11 Merge "Remove dock home support." into jb-mr1-dev 2012-09-28 12:25:31 -07:00
Daniel Sandler
7c135205f2 Remove dock home support.
We still have dock apps and dock mode, just not home-key
capture.

Bug: 7163049
Change-Id: I8234ebf066798071517b4a586b06708b6ec0bc71
2012-09-28 15:21:45 -04:00
Adam Powell
808ce66a08 Merge "ScaleGestureDetector does the safety dance." into jb-mr1-dev 2012-09-28 12:21:28 -07:00
Winson Chung
cfb7d392ef Merge "Adding missing file in previous change (Bug 7252771)" into jb-mr1-dev 2012-09-28 12:19:04 -07:00
Adam Powell
f7910e3148 Merge "Add wireless display selection support to MediaRouter." into jb-mr1-dev 2012-09-28 12:19:04 -07:00
Scott Main
1134de0f12 add api level 17 to javadoc filter and update version number
Change-Id: I278f796b3390e57f4309f215e4f37359a80f0e83
2012-09-28 12:12:59 -07:00
Craig Mautner
6e2cbccc46 Merge "Missed a spot, needInput was not getting called." into jb-mr1-dev 2012-09-28 12:07:17 -07:00
Adam Powell
f3a2bf8edd 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
2012-09-28 12:05:10 -07:00
Christopher Tate
4873a480f6 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
2012-09-28 12:00:38 -07:00
Winson Chung
1d74a5a46d Adding missing file in previous change (Bug 7252771)
Change-Id: I5f37a45b7c07d56cad850d90232f39a027e65ba7
2012-09-28 11:56:46 -07:00
Craig Mautner
cd03a26f4f Missed a spot, needInput was not getting called.
Fixes bug 7250008.

Change-Id: I837af438510275ea69e217289aeb7a08111b91b5
2012-09-28 11:54:09 -07:00
Adam Powell
705ab808cf 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
2012-09-28 11:46:40 -07:00
Winson Chung
9fc6b8c5b7 Fixing crash in QuickContacts. (Bug 7252771)
Change-Id: Ibf304a4c2115f557e0408e345c7714d248fcd35d
2012-09-28 11:37:46 -07:00
Christopher Tate
8c832e9f76 am ad8bda21: (-s ours) am 64d1f3ef: DO NOT MERGE - Full (local) restore security changes
* commit 'ad8bda219e9d9b18144ace7853997c536bb2f1fc':
  DO NOT MERGE - Full (local) restore security changes
2012-09-28 11:33:54 -07:00
Christopher Tate
ad8bda219e am 64d1f3ef: DO NOT MERGE - Full (local) restore security changes
* commit '64d1f3efd759b70462aecb6cf1d8c733872a8911':
  DO NOT MERGE - Full (local) restore security changes
2012-09-28 11:32:15 -07:00
Svetoslav Ganov
fe304b8939 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
2012-09-28 11:23:24 -07:00
Raph Levien
54801e120a Merge "Fix for bug 6936752 Tamil text gets truncated on right-hand side" into jb-mr1-dev 2012-09-28 11:14:48 -07:00
Amith Yamasani
01996793dd Merge "Remove user switcher from long-press power menu" into jb-mr1-dev 2012-09-28 11:09:22 -07:00
Ben Gruver
9dbbfcda81 Merge "Pass the originating uid to the package verifier" into jb-mr1-dev 2012-09-28 10:58:19 -07:00
Daniel Sandler
f80ad90f0b Merge "Add the SystemUI's dream-starter as a DESK_DOCK app." into jb-mr1-dev 2012-09-28 10:49:19 -07:00
Daniel Sandler
6e061919f3 Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev 2012-09-28 10:47:45 -07:00
Svetoslav Ganov
95841ac3c2 Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev 2012-09-28 10:39:38 -07:00
Svetoslav Ganov
ca8688207b Merge "Accessibility services that do not accept events are mismanaged." into jb-mr1-dev 2012-09-28 10:36:53 -07:00
Craig Mautner
af08ccb20d Merge "Add null checks before using mViewMediatorCallback." into jb-mr1-dev 2012-09-28 10:33:07 -07:00
Craig Mautner
7def1db039 Add null checks before using mViewMediatorCallback.
Fixes bug 7250008.

Change-Id: I744241c46de5222a3e1767a04464e657ccd9f799
2012-09-28 10:27:56 -07:00
Amith Yamasani
bc4ba82335 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
2012-09-28 10:21:32 -07:00
John Spurlock
a174a77632 Merge "Close the notification shade when starting dream." into jb-mr1-dev 2012-09-28 10:20:23 -07:00
Daniel Sandler
0dc2b81ce1 Merge "Cleanup internal status bar APIs." into jb-mr1-dev 2012-09-28 10:07:16 -07:00
Svetoslav Ganov
aed4b6f812 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
2012-09-28 10:06:24 -07:00
Svetoslav Ganov
1f22b6a25d 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
2012-09-28 09:45:15 -07:00
Daniel Sandler
e680f5483f Prop the tablet notification panel open a bit.
It will now occupy at least 40% of the screen, vertically.

Bug: 7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96
2012-09-28 12:22:27 -04:00
John Spurlock
591a9e8d6e Close the notification shade when starting dream.
Bug:7205491
Change-Id: I17d2b75bc502ff8fb739a6cbb4d0219681fa4e8a
2012-09-28 12:15:08 -04:00
Daniel Sandler
3a12029a3b 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
2012-09-28 11:41:41 -04:00
Daniel Sandler
195b6e1239 Merge "Fix panel handles on large screens." into jb-mr1-dev 2012-09-28 06:50:57 -07:00
Jeff Brown
13701b50f5 Merge "Bundle correlated switch changes atomically." into jb-mr1-dev 2012-09-28 00:35:57 -07:00
Satoshi Kataoka
3cd961292e Merge "Fix ime swtich issue" into jb-mr1-dev 2012-09-28 00:26:55 -07:00