34612 Commits

Author SHA1 Message Date
Eino-Ville Talvala
c9108b1856 Merge "Add hardware feature android.hardware.camera.any." into jb-mr1-dev 2012-09-21 17:57:03 -07:00
Jim Miller
6eeff850b2 Merge "Remove UID checks from LockPatternUtils" into jb-mr1-dev 2012-09-21 17:31:09 -07:00
Svetoslav Ganov
0a5c5567f2 Merge "Multi-user support for the accessibility layer." into jb-mr1-dev 2012-09-21 17:21:45 -07:00
Adam Cohen
172cb76964 Merge "Fixing onRestoreInstanceState crash in Launcher" into jb-mr1-dev 2012-09-21 17:11:38 -07:00
Dianne Hackborn
c9e94ea645 Merge "Fix issue #7213113: Remove old intent resolver" into jb-mr1-dev 2012-09-21 17:05:47 -07:00
Dianne Hackborn
52c62344c5 Fix issue #7213113: Remove old intent resolver
Also make the query package restart broadcast protected like the
documentation says it should be.

Change-Id: I445166111318a02f2f2b1ab0dff9c641a441c20b
2012-09-21 17:04:16 -07:00
Adam Cohen
6ccf4e2791 Fixing onRestoreInstanceState crash in Launcher
-> Issue 7084152

Change-Id: Ic91074adfff5918e6471c861313a51d0a179ad08
2012-09-21 16:56:51 -07:00
Adam Cohen
8562cb5982 Merge "Changing public method to @hide, doesn't have to be public" into jb-mr1-dev 2012-09-21 16:56:31 -07:00
Svetoslav Ganov
38533ea514 Merge "NPE in AcitivtyChooserModel." into jb-mr1-dev 2012-09-21 16:55:29 -07:00
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
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
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
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
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
John Reck
f98db0de22 Merge "Improve find on page accessibility" into jb-mr1-dev 2012-09-21 14:18:15 -07:00
John Reck
26d48a7607 Improve find on page accessibility
Bug: 6827306

Change-Id: I09fe5736b53e0da499ea08a13c1e7a9e56486af7
2012-09-21 14:04:19 -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
rich cannings
04c2bb86ca Merge "Add setting to skip verifying ADB installs" into jb-mr1-dev 2012-09-21 13:46:42 -07:00
Nick Kralevich
987f1e759c Merge "allowBackup doc fix." into jb-mr1-dev 2012-09-21 13:34:36 -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
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
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
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
Dianne Hackborn
adfe87c661 Fix issue #7205845: Permissions screen: make "New" text blue instead of red
Change-Id: I8f359d22dc0a9ddc058cd9a49459a846924338ee
2012-09-21 10:57:45 -07:00
Romain Guy
3f7c246f3e Merge "Update layers in a single batch at the beginning of a frame Bug #7186819" into jb-mr1-dev 2012-09-21 10:50:12 -07:00
Bjorn Bringert
45b07b9427 Merge "Add intents to open text and video from search." into jb-mr1-dev 2012-09-21 10:30:20 -07:00
Alon Albert
8e28555f6d Skip operations for users who are not running
Listen to ACTION_USER_FOREGROUND and check alarms when it happens
Also add user logging to dumpsys

Bug: 7115753
Change-Id: Idb7881b62e31813feec684db8ff2e9d22e65a0f9
2012-09-21 10:04:24 -07:00
Dan Morrill
466bd63681 Merge "New method returning user metadata." into jb-mr1-dev 2012-09-21 09:53:57 -07:00
John Spurlock
d5c582c494 Additions to Dream public api.
- lightsOut() -> setLightsOut(boolean)
   (deprecated lightsOut, will remove once all baked-in dreams are updated)
 - Added ability to keep the screen bright (default = false).
 - Lights out is now true by default.
 - Consistent setters(setXxx) + getters(isXxx) for
   interactive, lightsOut, fullscreen, and screenBright dream attributes.
   Can set attributes at any time (even before window is created).
 - Fleshed out javadocs for public api.
 - Reordered things a bit.
 - Added example of manifest dream declaration ready for copypasta.
 - Removed unused action constant, added category constant.

Bug:7172816
Bug:7111868
Change-Id: I721db7a1a5e5ad047a3723b4d5141ef53b0970af
2012-09-21 12:37:11 -04:00
Victoria Lease
37563c5249 Get your own cursor Drawables, WebViewClassic!
These are shared resources! You can't just animate *everyone's*
cursors!

This is a hand-merge of Icdc86af4fba427a352019cd3e2017f97a3b9fdba
from jb-dev branch. I'm not sure why it wouldn't automerge, as it
seemed pretty straightforward...

Bug: 7110290
Change-Id: I131a611b9e16699a51d3769658f079c2ae4cf262
2012-09-21 09:31:11 -07:00
Daniel Sandler
0887711d0f Merge "Add Notification.Builder.setShowWhen(boolean)." into jb-mr1-dev 2012-09-21 07:30:43 -07:00
Florian Uunk
b1ac72b54b Add intents to open text and video from search.
We're adding support for searching for text (books, magazines) and video
(tv, movies).

Bug: 7208141
Change-Id: I19dd2f745518a96b22b02a29c1ab9a89d53cc0cc
2012-09-21 15:15:04 +01:00
Wu-cheng Li
edc1a2bbc5 Unhide android.provider.MediaStore.ACTION_IMAGE_CAPTURE_SECURE
bug:7141738
Change-Id: If0109671a072e978501e238fe3d7554693a92157
2012-09-21 19:04:24 +08:00
Michael Jurka
7566abd305 Merge "Add support for changing status widget on security screen" into jb-mr1-dev 2012-09-21 01:10:53 -07:00
Wu-cheng Li
c9cc62b965 Merge "Add secure version of image capture intent." into jb-mr1-dev 2012-09-21 01:08:00 -07:00
Romain Guy
11cb642756 Update layers in a single batch at the beginning of a frame
Bug #7186819

Change-Id: Ice5926dfedfb3be3a3064e65008dafa2852407da
2012-09-21 00:39:43 -07:00
Wu-cheng Li
37959ef70f Add secure version of image capture intent.
bug:7141738

Change-Id: I77789ffb53e70efd946f331286a895b7a1239661
2012-09-21 14:47:47 +08:00
Raph Levien
3034d45104 Merge "Fix for native crash on image decode OOM" into jb-mr1-dev 2012-09-20 23:25:26 -07:00