85405 Commits

Author SHA1 Message Date
Adam Powell
6a5b0a3673 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
2012-09-28 14:27:36 -07:00
Adam Powell
29dcd656df Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev 2012-09-28 14:15:20 -07:00
Romain Guy
8c43650d92 Merge "Fix a couple of rendering issues Bug #7253839" into jb-mr1-dev 2012-09-28 14:11:41 -07:00
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
Adam Powell
4e8510b23f 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
2012-09-28 14:07:35 -07:00
Romain Guy
a3dc55f83a 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
2012-09-28 13:55:44 -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
Jatin Lodhia
856b01e7e4 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
2012-09-28 10:53:37 -07:00
Baligh Uddin
edf60a29cd Import translations. DO NOT MERGE
Change-Id: I7cff2dd7d10ebd07608f24d499f867e4b21a3a9d
Auto-generated-cl: translation import
2012-09-28 10:52:06 -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
Robert Greenwalt
c6fa237dae Use updatable file for premium-sms filter
The data is really to big for a gservices-driven secure setting.

bug:7221402
Change-Id: Ie3d4a1a0aeb69b9ef8fad360fa7ec32e927644e8
2012-09-28 10:24:09 -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