85263 Commits

Author SHA1 Message Date
Adam Cohen
bd1e0076c6 Changing public method to @hide, doesn't have to be public
Change-Id: I4c87b154fd99376a0337f9fc65024e13ddb74da5
2012-09-21 16:51:50 -07:00
Svetoslav Ganov
58d37b55bd Multi-user support for the accessibility layer.
1. This change converts the accessibility manager service to
   maintain a state per user. When the user changes the services
   for the user that is going away are disconnected, the local
   accessibility managers in the processes for this user are
   disabled, the state is swapped with the new user's one, and
   the new user state is refreshed.

   This change updates all calls into the system to use their
   user specific versions when applicable. For example, regisetring
   content observers, package monitors, calls into other system
   services, etc.

   There are some components that are shared across users such
   as UI created by the system process and the SystemUI package.
   Such components are managed as a global state shared across
   all users and are updated accordingly on a user switch. Since
   the SystemUI is running in a normal app process this change
   adds hidden APIs on the local window manager to allow the
   SystemUI to notify the accessibility layer that it will run
   accross users.

   Calls to AccessibiltyManager's isEnabled(), isTouchExplorationEnabled()
   and sendAccessibilityEvent return false or a are a nop for a
   background user sice he should not send accessibility events,
   and should not perform touch exploration.

   Update the internal accessibility tests due to changes in the
   AccessibilityManager.

   This change also fixes several issues that were encountered
   such as calling out the accessibility manager service with a
   lock held.

   Removed some incorrect debugging code from the TouchExplorer
   that was leading to a system crash.

bug:6967373

Change-Id: I2cf32ffdee1d827a8197ae4ce717dc0ff798b259
2012-09-21 16:48:07 -07:00
Brian Carlstrom
7ab7a8b582 Add SSLCertificateSocketFactory.setSoWriteTimeout to allow SO_SNDTIMEO to be specified
Bug: 6693087
Change-Id: Id7b07f033b5ff9f01da33d535e01aa909aace8a1
2012-09-21 16:33:50 -07:00
Svetoslav Ganov
08681adda0 Merge "Day numbers in CalendarView have incorrect size." into jb-mr1-dev 2012-09-21 16:32:02 -07:00
Victoria Lease
b77b3cfe41 Merge "Get your own cursor Drawables, WebViewClassic!" into jb-mr1-dev 2012-09-21 16:29:43 -07:00
Jason Sams
7b3132d97a Merge "Add Blend intrinsic." into jb-mr1-dev 2012-09-21 16:24:07 -07:00
Chet Haase
a1d12dd619 Optimize shaders for dithered gradients
It's faster to compute a dither calculation in the vertex shader and use
a varying (letting the GPU interpolate the fragment values) than to perform
that calculation in the fragment shader as part of a texture lookup.

Issue #7207600 Prime mr1 shader performance issues
Issue #7158326 Bad framerates on MR1 (Mako, Manta, Prime)

Change-Id: I15789582a6e9e2d8b9dd22aa5b0f72f0ba1cce7f
2012-09-21 16:20:57 -07:00
Kenny Root
abb53b72fb LockScreen: don't update KeyStore password on unlock
The Gingerbread migration case updated the password when the user
unlocked their device. This is probably not needed anymore and disturbs
multi-user, so just remove it.

Bug: 7169463
Change-Id: Ie62eb9f3fee6953b1123cb7ef3665d519632c6f7
2012-09-21 16:15:33 -07:00
Jason Sams
f70bb04346 Add Blend intrinsic.
Change-Id: I6f679c910fc23fe7441e17ad66bcf5f3dd7425a0
2012-09-21 16:10:49 -07:00
Michael Jurka
03bdc8a8f7 Fix security check for private allocateAppWidgetId api
Bug: 7182054
2012-09-21 16:10:21 -07:00
Eino-Ville Talvala
5ce25d7170 Merge "NEW_API: Add android.hardware.Camera.CameraInfo#canDisableShutterSound" into jb-mr1-dev 2012-09-21 16:05:59 -07:00
Scott Main
ec501466ea am 2e642866: am be676b6c: am 4a5425db: fix layout bug
* commit '2e6428668c97826e169e51ac5d0a7c6e8ba3bd79':
  fix layout bug
2012-09-21 16:03:39 -07:00
Scott Main
2e6428668c am be676b6c: am 4a5425db: fix layout bug
* commit 'be676b6cc4a2a594dcb1fb233539cf927f0b49e5':
  fix layout bug
2012-09-21 16:00:51 -07:00
Scott Main
be676b6cc4 am 4a5425db: fix layout bug
* commit '4a5425dbd29329aaffbab3bb83c33bd437958237':
  fix layout bug
2012-09-21 15:59:04 -07:00
Scott Main
4a5425dbd2 fix layout bug
Change-Id: Ibf3f04d6c2077c77b75076c02312d3b2dea394eb
2012-09-21 15:55:15 -07:00
Philip Milne
2f6d882952 Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()
Change-Id: I71c24ea10093ece07a0780e97bc641ff548c1a44
2012-09-21 15:54:41 -07:00
Jeff Brown
3ca5971339 Merge "Support HDMI hotplug." into jb-mr1-dev 2012-09-21 15:51:41 -07:00
Baligh Uddin
063d15ff48 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-21 15:43:54 -07:00
Jeff Brown
e87bf03076 Support HDMI hotplug.
Bug: 7206678
Change-Id: Ia5212b16658a5f5a2ccf8528eca7bebd45ca857a
2012-09-21 15:34:32 -07:00
Baligh Uddin
691b68b0d5 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-21 15:32:51 -07:00
Jim Miller
7478cf86ce Merge "Tweak keyguard security flip animation timing." into jb-mr1-dev 2012-09-21 15:23:34 -07:00
Jim Miller
1ed9fa10de Merge "Make DPM API for disabling keyguard widgets more generic" into jb-mr1-dev 2012-09-21 15:21:33 -07:00
Romain Guy
059aedf808 Merge "Finish this bit before I forget." into jb-mr1-dev 2012-09-21 15:08:12 -07:00
Romain Guy
f7e52d92b4 Finish this bit before I forget.
This code is not enabled in current builds.

Change-Id: I488ec9e94889efbf2c8f3312abfed4298a76b7f1
2012-09-21 15:06:52 -07:00
Jim Miller
25645d8bbc Remove UID checks from LockPatternUtils
The UID checks should be unnecessary because LockPatternUtils already relies
on system permission checks in Settings, LockSettings, DevicePolicyManager
and Keystore.  These checks should already catch illegal operations.

This was interfering with the stand-alone test app for keyguard.

Change-Id: I2da2a729ca29feae9e962c2e360ec47490bcbbf0
2012-09-21 14:47:54 -07:00
Tim Murray
0e64d892d6 Add Mandelbrot test to ImageProcessing.
Change-Id: I1d5478d58609394111410fbfd9f48b5018f385b1
2012-09-21 14:46:45 -07:00
John Reck
f98db0de22 Merge "Improve find on page accessibility" into jb-mr1-dev 2012-09-21 14:18:15 -07:00
Baligh Uddin
2be31d890a Import translations. DO NOT MERGE
Change-Id: I84b2f0c629da551293130a0a31024b4bf8172d56
Auto-generated-cl: translation import
2012-09-21 14:12:27 -07:00
John Reck
26d48a7607 Improve find on page accessibility
Bug: 6827306

Change-Id: I09fe5736b53e0da499ea08a13c1e7a9e56486af7
2012-09-21 14:04:19 -07:00
Eric Laurent
2c0feeaffc Merge "Do not turn safe volume on upon headset connection" into jb-mr1-dev 2012-09-21 13:55:46 -07:00
Baligh Uddin
15cd68517e Import translations. DO NOT MERGE
Change-Id: Ie49c391d083e0b3be0fab541180e09aae3d04142
Auto-generated-cl: translation import
2012-09-21 13:54:12 -07:00
Wink Saville
c6e4917add Refactor Cell Location public API.
Bug: 7189651
Change-Id: I173412095a5f7ae6116ee65b5315782f1c0c7688
2012-09-21 13:54:05 -07:00
rich cannings
04c2bb86ca Merge "Add setting to skip verifying ADB installs" into jb-mr1-dev 2012-09-21 13:46:42 -07:00
Victoria Lease
09016ab4dd Do not use passive GPS data for COARSE only apps.
FusionEngine now attaches a secondary location that has never seen
GPS data to its result. LocationFudger uses the GPS-less location so
that COARSE apps never see data from the GPS provider.

When the previous location is updated, the previous GPS-less location
is carried over if the location update was GPS-only.

Additionally, apps without FINE permission are not notified when GPS
location changes, and any attempt to use GPS_PROVIDER without FINE
permission is met by a stern SecurityException.

Bug: 7153659
Change-Id: I12f26725782892038ce1133561e1908d91378a4a
2012-09-21 13:45:41 -07:00
John Spurlock
268118df8a Migrate away from lightsOut() in BeanBagDream.
Bug:7211867
Change-Id: Ic81a61e368b44fa22db4fffac912219d9f2ca951
2012-09-21 16:41:14 -04:00
Nick Kralevich
987f1e759c Merge "allowBackup doc fix." into jb-mr1-dev 2012-09-21 13:34:36 -07:00
Derek Sollenberger
642030e3b3 Merge "Ensure that the decoder is thread-safe." into jb-mr1-dev 2012-09-21 13:32:11 -07:00
rich cannings
4e5753f5f6 Add setting to skip verifying ADB installs
Create a setting "verifier_verify_adb_installs" to allow developers to control
package verification on ADB installs only. If package verification is enabled,
the setting will:

0, Do not perform package verification on apps installed through ADB/ADT/USB
and perform package verification on all other installs.

1, Use package verification on all installs. (Default)

Bug: 7183252
Change-Id: I9d3eb8abb5ba5e93f8634d3135794e92ff6273b6
2012-09-21 13:26:15 -07:00
Daniel Sandler
df655d09c0 Merge "Fix javadocs to fix build." into jb-mr1-dev 2012-09-21 13:01:58 -07:00
John Spurlock
5e416d8803 Fix javadocs to fix build.
Change-Id: I6d7d63b9322f225124f722a245c1222540afbff4
2012-09-21 15:56:13 -04:00
John Spurlock
2250550187 Merge "Additions to Dream public api." into jb-mr1-dev 2012-09-21 12:28:35 -07:00
Winson Chung
3ed6f9456a Showing QuickContacts card, adding brightness bar timeout and width, fixing wifi display icon visibility. (Bug 7186309, Bug 7175023)
Change-Id: Iea717e97bf90301bef68b06e1a35644e24ab029d
2012-09-21 11:59:12 -07:00
Svetoslav Ganov
0c6f3795b3 Day numbers in CalendarView have incorrect size.
1. The text size of the paint for drawing week days was never set.

bug:6933206

Change-Id: Ie50286d46e2c21a9c2d5f51b309a49f17d46d4b9
2012-09-21 11:49:05 -07:00
Romain Guy
4187f92892 Merge "API REVIEW: Undeprecate Location.dump() Bug #7173109" into jb-mr1-dev 2012-09-21 11:20:58 -07:00
Romain Guy
8a624ef0fe API REVIEW: Undeprecate Location.dump()
Bug #7173109

Change-Id: Ia2f4a5b6255dae7ace4702f7d66ec30a077c9c79
2012-09-21 11:20:00 -07:00
Craig Mautner
9921d842bb Merge "Eliminate potential for NPE in WindowAnimator." into jb-mr1-dev 2012-09-21 11:17:51 -07:00
Nick Kralevich
5cb61c8a3d allowBackup doc fix.
Clarify that setting allowBackup="false" opts an application
out of both backups AND RESTORES.  The previous documentation
implied this setting was for backups only.

Bug: 7211025
Change-Id: I89f095be36d4d0016a8c05928b1922755a7cd75a
2012-09-21 11:16:16 -07:00
Svetoslav Ganov
abcaeea1ee NPE in AcitivtyChooserModel.
1. If there is not current intent sent and the client tries to
   choose an activity a NPE occurs. The code in chooseActivity
   now checks for null intent. Note that having a null intent
   is a valid state.

bug:6738922

Change-Id: I91d4415649ce070d4fa4aa187e9eac02928dd38c
2012-09-21 11:10:27 -07:00
Chris Craik
61d37041ac Merge "Polygonal rendering of simple fill shapes" into jb-mr1-dev 2012-09-21 11:03:59 -07:00
Dianne Hackborn
739bc9e3f5 Merge "Fix issue #7205845: Permissions screen: make "New" text blue instead of red" into jb-mr1-dev 2012-09-21 10:58:55 -07:00