OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "update image processing to fix ScriptGroup names." into jb-mr1-dev
Jason Sams [Tue, 4 Sep 2012 23:59:06 +0000 (16:59 -0700)]
Merge "update image processing to fix ScriptGroup names." into jb-mr1-dev

11 years agoMerge "Fix line drawing path to use proportional distance from center" into jb-mr1-dev
Chris Craik [Tue, 4 Sep 2012 23:56:16 +0000 (16:56 -0700)]
Merge "Fix line drawing path to use proportional distance from center" into jb-mr1-dev

11 years agoMerge "Code cleanup in FontRenderer" into jb-mr1-dev
Romain Guy [Tue, 4 Sep 2012 23:46:19 +0000 (16:46 -0700)]
Merge "Code cleanup in FontRenderer" into jb-mr1-dev

11 years agoCode cleanup in FontRenderer
Romain Guy [Tue, 4 Sep 2012 23:42:01 +0000 (16:42 -0700)]
Code cleanup in FontRenderer

Change-Id: Ic788721c224a77f0a76f4cd6d9817b62e390a5a7

11 years agoMerge "Make mLayoutNeeded per-Display." into jb-mr1-dev
Craig Mautner [Tue, 4 Sep 2012 23:35:46 +0000 (16:35 -0700)]
Merge "Make mLayoutNeeded per-Display." into jb-mr1-dev

11 years agoMerge "installd: reduce privileges." into jb-mr1-dev
Nick Kralevich [Tue, 4 Sep 2012 23:29:28 +0000 (16:29 -0700)]
Merge "installd: reduce privileges." into jb-mr1-dev

11 years agoMake mLayoutNeeded per-Display.
Craig Mautner [Tue, 4 Sep 2012 18:15:56 +0000 (11:15 -0700)]
Make mLayoutNeeded per-Display.

Switch from a global mLayoutNeeded to one for each Display so that
we don't run layout on Displays that haven't changed.

Change-Id: Ib65c5c667933cceacc46b94f4e6e6bd613d5cb35

11 years agoMerge "Small code cleanup in FontRenderer" into jb-mr1-dev
Romain Guy [Tue, 4 Sep 2012 22:26:14 +0000 (15:26 -0700)]
Merge "Small code cleanup in FontRenderer" into jb-mr1-dev

11 years agoupdate image processing to fix ScriptGroup names.
Jason Sams [Tue, 4 Sep 2012 22:25:34 +0000 (15:25 -0700)]
update image processing to fix ScriptGroup names.

Change-Id: Id3be5142ad740af65f3ce19b9d8047926bb55a85

11 years agoSmall code cleanup in FontRenderer
Romain Guy [Tue, 4 Sep 2012 22:22:57 +0000 (15:22 -0700)]
Small code cleanup in FontRenderer

Change-Id: I09c00debe9b0b4f45b232cae402ed19bdaeabfe4

11 years agoMerge "Update DevicePolicyManager with ability to disable keyguard widgets" into...
Jim Miller [Tue, 4 Sep 2012 22:20:41 +0000 (15:20 -0700)]
Merge "Update DevicePolicyManager with ability to disable keyguard widgets" into jb-mr1-dev

11 years agoMerge "Enable package verification" into jb-mr1-dev
rich cannings [Tue, 4 Sep 2012 22:09:09 +0000 (15:09 -0700)]
Merge "Enable package verification" into jb-mr1-dev

11 years agoMerge "Refactor FontRenderer.cpp" into jb-mr1-dev
Romain Guy [Tue, 4 Sep 2012 22:05:27 +0000 (15:05 -0700)]
Merge "Refactor FontRenderer.cpp" into jb-mr1-dev

11 years agoMerge "Add some new native deletage to layoutlib." into jb-mr1-dev
Xavier Ducrohet [Tue, 4 Sep 2012 22:02:06 +0000 (15:02 -0700)]
Merge "Add some new native deletage to layoutlib." into jb-mr1-dev

11 years agoMerge "Add support for "-rtl" in resources" into jb-mr1-dev
Fabrice Di Meglio [Tue, 4 Sep 2012 22:01:03 +0000 (15:01 -0700)]
Merge "Add support for "-rtl" in resources" into jb-mr1-dev

11 years agoAdd some new native deletage to layoutlib.
Xavier Ducrohet [Tue, 4 Sep 2012 20:59:17 +0000 (13:59 -0700)]
Add some new native deletage to layoutlib.

Change-Id: Ib53df6c944ecd9680bf929afe03b08bcaa61ad70

11 years agoinstalld: reduce privileges.
Nick Kralevich [Fri, 31 Aug 2012 23:08:06 +0000 (16:08 -0700)]
installd: reduce privileges.

Make installd run with fewer privileges. This will help make
exploitation of installd based vulnerabilities more difficult
to perform.

installd now runs with the following privileges:

* CAP_DAC_OVERRIDE
* CAP_CHOWN

These two capabilities are needed to add and remove files
from application's home directories.

* CAP_SETUID
* CAP_SETGID

These permissions are needed to further drop privileges when
running dexopt as the application UID.

"installd" no longer runs with full root privileges.  It cannot,
for example, mount and unmount filesystems, install modules,
perform direct I/O, etc.

Change-Id: Ib407e41e5e4c95f35a5c6a154812c5e8ae3006ed

11 years agoFix line drawing path to use proportional distance from center
Chris Craik [Tue, 4 Sep 2012 21:35:19 +0000 (14:35 -0700)]
Fix line drawing path to use proportional distance from center

boundaryWidth and boundaryLength are now distance from center, instead of
distance from edge, in order to avoid unnecessary calculation in the shader. New
calculation of these matches drawAARect.

Change-Id: I1c7f576a97a6f0ce00d521661fd56fb62e05e6f2

11 years agoMerge "Keyguard bug fixes" into jb-mr1-dev
Jim Miller [Tue, 4 Sep 2012 21:16:48 +0000 (14:16 -0700)]
Merge "Keyguard bug fixes" into jb-mr1-dev

11 years agoUpdate DevicePolicyManager with ability to disable keyguard widgets
Jim Miller [Sat, 1 Sep 2012 00:19:10 +0000 (17:19 -0700)]
Update DevicePolicyManager with ability to disable keyguard widgets

Change-Id: I5876e9e180b2a995aaa355fbbb2b67cebb86104d

11 years agoEnable package verification
rich cannings [Tue, 4 Sep 2012 20:42:32 +0000 (13:42 -0700)]
Enable package verification

Turn on package verification, if a verifier exists. Play app is now a verifier.

Bug: 7064853
Change-Id: I11f6b108c507ea6236038b1415eb9064ca4c3c6d

11 years agoMerge "Fix issue #7097984 java.lang.SecurityException: Permission Denial:" into jb...
Dianne Hackborn [Tue, 4 Sep 2012 20:11:48 +0000 (13:11 -0700)]
Merge "Fix issue #7097984 java.lang.SecurityException: Permission Denial:" into jb-mr1-dev

11 years agoRefactor FontRenderer.cpp
Romain Guy [Tue, 4 Sep 2012 19:55:44 +0000 (12:55 -0700)]
Refactor FontRenderer.cpp

FontRenderer.h defined several classes and structures that now live
in the font/ folder. This will make the code easier to read and
maintain.

Change-Id: I3dc044e9bde1d6515f8704f5c72462877d279fe2

11 years agoMerge "Remove single pass actions from display loop." into jb-mr1-dev
Craig Mautner [Tue, 4 Sep 2012 19:32:11 +0000 (12:32 -0700)]
Merge "Remove single pass actions from display loop." into jb-mr1-dev

11 years agoMerge "Change layout inner loop order for multi display." into jb-mr1-dev
Craig Mautner [Tue, 4 Sep 2012 19:30:45 +0000 (12:30 -0700)]
Merge "Change layout inner loop order for multi display." into jb-mr1-dev

11 years agoMerge "Only show the BeanFlinger screensaver to the worthy." into jb-mr1-dev
Daniel Sandler [Tue, 4 Sep 2012 19:29:03 +0000 (12:29 -0700)]
Merge "Only show the BeanFlinger screensaver to the worthy." into jb-mr1-dev

11 years agoFix issue #7097984 java.lang.SecurityException: Permission Denial:
Dianne Hackborn [Tue, 4 Sep 2012 17:55:44 +0000 (10:55 -0700)]
Fix issue #7097984 java.lang.SecurityException: Permission Denial:

broadcast asks to run as user -1 but is calling from user 0; this requires

Also improve part of issue #7087789: Local denial of service via
low-permissioned apps

No longer allow closeSystemDialogs() from background processes.

Change-Id: I752d5a1d51be0b69fde6999d6659835e5bde3efe

11 years agoam ad17717e: am d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice...
Jean-Baptiste Queru [Tue, 4 Sep 2012 18:44:00 +0000 (11:44 -0700)]
am ad17717e: am d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"

* commit 'ad17717e52576a05dffd1b99c06c46a80c149722':
  SearchWidget: passing APP_DATA to voice intent

11 years agoam d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"
Jean-Baptiste Queru [Tue, 4 Sep 2012 18:41:32 +0000 (11:41 -0700)]
am d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"

* commit 'd3b74b9124e713e291053652839a7d725ffb64d9':
  SearchWidget: passing APP_DATA to voice intent

11 years agoam b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"
Jean-Baptiste Queru [Tue, 4 Sep 2012 18:38:28 +0000 (11:38 -0700)]
am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"

* commit 'b307ceb43fa96e8d54851c20278a4344469c9269':
  SearchWidget: passing APP_DATA to voice intent

11 years agoMerge "Fix my fix." into jb-mr1-dev
Dianne Hackborn [Tue, 4 Sep 2012 18:14:13 +0000 (11:14 -0700)]
Merge "Fix my fix." into jb-mr1-dev

11 years agoFix my fix.
Dianne Hackborn [Tue, 4 Sep 2012 18:13:41 +0000 (11:13 -0700)]
Fix my fix.

Change-Id: I35fce760f8d91fceb554d372e7423749a4ac6d2d

11 years agoMerge "Fix build." into jb-mr1-dev
Dianne Hackborn [Tue, 4 Sep 2012 18:09:30 +0000 (11:09 -0700)]
Merge "Fix build." into jb-mr1-dev

11 years agoFix build.
Dianne Hackborn [Tue, 4 Sep 2012 18:08:43 +0000 (11:08 -0700)]
Fix build.

Change-Id: I15592889b8679d946e402dcfdeb124df349cbd4d

11 years agoam 10d1095a: am 1eca514a: Merge "Doc update: Fix typo." into jb-dev
Katie McCormick [Tue, 4 Sep 2012 18:08:13 +0000 (11:08 -0700)]
am 10d1095a: am 1eca514a: Merge "Doc update: Fix typo." into jb-dev

* commit '10d1095a0a1fec2513b1a3b6525846929f659b86':
  Doc update: Fix typo.

11 years agoMerge "SearchWidget: passing APP_DATA to voice intent"
Jean-Baptiste Queru [Tue, 4 Sep 2012 17:49:48 +0000 (10:49 -0700)]
Merge "SearchWidget: passing APP_DATA to voice intent"

11 years agoMerge "Add registering for explicit users." into jb-mr1-dev
Dianne Hackborn [Tue, 4 Sep 2012 17:40:06 +0000 (10:40 -0700)]
Merge "Add registering for explicit users." into jb-mr1-dev

11 years agoAdd registering for explicit users.
Dianne Hackborn [Sat, 1 Sep 2012 02:00:44 +0000 (19:00 -0700)]
Add registering for explicit users.

New API to register as an explicit user, which allows you to
also select ALL to see broadcasts for all users.

New BroadcastReceiver API to find out which user the broadcast
was sent to.

Use this in app widget service to handle per-user package broadcasts
and boot completed broadcasts correctly.

Change-Id: Ibbe28993bd4aa93900c79e412026c27863019eb8

11 years agoAdd new hw acceleration test
Romain Guy [Tue, 4 Sep 2012 17:27:05 +0000 (10:27 -0700)]
Add new hw acceleration test

Change-Id: Id2b94286cf62ab77d8c843cffaba09b3070a6332

11 years agoam 1eca514a: Merge "Doc update: Fix typo." into jb-dev
Katie McCormick [Tue, 4 Sep 2012 17:00:42 +0000 (10:00 -0700)]
am 1eca514a: Merge "Doc update: Fix typo." into jb-dev

* commit '1eca514a1b36c767ed5aac10b7fcf0b2f47de890':
  Doc update: Fix typo.

11 years agoMerge "Doc update: Fix typo." into jb-dev
Katie McCormick [Tue, 4 Sep 2012 16:58:46 +0000 (09:58 -0700)]
Merge "Doc update: Fix typo." into jb-dev

11 years agoRemove single pass actions from display loop.
Craig Mautner [Tue, 4 Sep 2012 16:49:35 +0000 (09:49 -0700)]
Remove single pass actions from display loop.

The WindowAnimator loop over each Display contained actions that
only needed to be done one time but were instead done once per loop.

Change-Id: Ia916b08cdb7670686e6295dbcef6a5ff27474099

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 4 Sep 2012 16:31:41 +0000 (09:31 -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 [Tue, 4 Sep 2012 16:07:45 +0000 (09:07 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoChange layout inner loop order for multi display.
Craig Mautner [Tue, 4 Sep 2012 06:23:58 +0000 (23:23 -0700)]
Change layout inner loop order for multi display.

The inner loop that ran over each display had a few problems:
- The Surface transaction was starting and stopping between each
display.
- The layout change bits were being applied globally so all
displays were layed out when only individual displays needed to be.
- Wallpaper and input actions were being applied each time through
the display loop rather than once only for the default display.

Change-Id: I924252bab28c426222a4bb73693accc4b21cecbe

11 years agoSearchWidget: passing APP_DATA to voice intent
Jorge Ruesga [Sun, 2 Sep 2012 23:26:59 +0000 (01:26 +0200)]
SearchWidget: passing APP_DATA to voice intent

SearchView uses SearchManager.APP_DATA to pass data between the origin activity
and the search activity. This works for text searches (keyboard), but it's not
implemented by voice recognition searches. The method createVoiceAppSearchIntent
initializes a empty bundle that is filled with the QUERY parameter.
This patch adds the SearchManager.APP_DATA parameter if is present, let the
search activity access to the data passed by the origin activity

Patch 2: Fix code style

Change-Id: I52dce34e1efd07a30ad74d52bfc60fbae1c4310b

11 years agoMerge "Minor refactors." into jb-mr1-dev
Craig Mautner [Sun, 2 Sep 2012 14:51:28 +0000 (07:51 -0700)]
Merge "Minor refactors." into jb-mr1-dev

11 years agoMinor refactors.
Craig Mautner [Sun, 2 Sep 2012 14:47:24 +0000 (07:47 -0700)]
Minor refactors.

- Refactor DragState to take Display instead of DisplayContent.
- Rename xxxAnimationLw methods in WindowManagerPolicy to xxxPostLayout
to reflect animation refactoring.

Change-Id: I502f2aa45a699ad395a249a12abf9843294623f0

11 years agoRevert "Revert "Add more support for transformed clip rects and paths""
Romain Guy [Sat, 1 Sep 2012 03:31:01 +0000 (20:31 -0700)]
Revert "Revert "Add more support for transformed clip rects and paths""

This reverts commit a8557d2169e14997637f57bc897640c8882d4a46.

Change-Id: I36d4883d548fc47ba6c0b4a42012107d0d2f85a6

11 years agoRevert "Add more support for transformed clip rects and paths"
Mathias Agopian [Sat, 1 Sep 2012 02:52:30 +0000 (19:52 -0700)]
Revert "Add more support for transformed clip rects and paths"

this introduced a dead lock in GradientCache's ctor.

This reverts commit dfe082f63e94cde9aee271c94d13de5e7217e036.

Bug: 7096001
Change-Id: I57b8bbab11fb7cb502fa58e3bbf5d19864db874f

11 years agoKeyguard bug fixes
Jim Miller [Sat, 1 Sep 2012 00:42:42 +0000 (17:42 -0700)]
Keyguard bug fixes

Bug:7088530 Lockscreen falsely states "Wrong PIN"
Bug:7091531 Owner name no longer shown on slide to unlock screen, Nakasi
Bug:7091131 When entering a SIM PIN, focus is not put onto the pin entry box
Change-Id: I5c7e957083b25a3445804ea092d962163d187fa1

11 years agoMerge "Add more support for transformed clip rects and paths" into jb-mr1-dev
Romain Guy [Sat, 1 Sep 2012 00:18:03 +0000 (17:18 -0700)]
Merge "Add more support for transformed clip rects and paths" into jb-mr1-dev

11 years agoAdd more support for transformed clip rects and paths
Romain Guy [Sat, 1 Sep 2012 00:14:30 +0000 (17:14 -0700)]
Add more support for transformed clip rects and paths

Change-Id: I41791b1e1bffef77d503dc9e52428395d2309688

11 years agoAdd some NullPointerExceptions to AndroidKeyStore
Kenny Root [Fri, 31 Aug 2012 20:38:11 +0000 (13:38 -0700)]
Add some NullPointerExceptions to AndroidKeyStore

Existing KeyStore implementations throw NullPointerExceptions beacuse
the KeyStoreSpi doesn't check these arguments for null. Add in checks so
we don't accidentally check some bogus values.

Also switch a RuntimeException to a KeyStoreException

Change-Id: I18f4d4474d607cb2057ea8069b901e0992275e78

11 years agoMerge "Remove Binder.getOrigCallingUid()." into jb-mr1-dev
Dianne Hackborn [Fri, 31 Aug 2012 23:23:41 +0000 (16:23 -0700)]
Merge "Remove Binder.getOrigCallingUid()." into jb-mr1-dev

11 years agoMerge "Centralize the creation of the user system directory" into jb-mr1-dev
Amith Yamasani [Fri, 31 Aug 2012 23:22:52 +0000 (16:22 -0700)]
Merge "Centralize the creation of the user system directory" into jb-mr1-dev

11 years agoMerge "Paramaterize and adjust the glyph cache sizes" into jb-mr1-dev
Chet Haase [Fri, 31 Aug 2012 22:57:27 +0000 (15:57 -0700)]
Merge "Paramaterize and adjust the glyph cache sizes" into jb-mr1-dev

11 years agoMerge "More improvements to the display manager." into jb-mr1-dev
Jeff Brown [Fri, 31 Aug 2012 22:49:11 +0000 (15:49 -0700)]
Merge "More improvements to the display manager." into jb-mr1-dev

11 years agoMerge "Initial draft of high-level multi-display APIs." into jb-mr1-dev
Jeff Brown [Fri, 31 Aug 2012 22:48:25 +0000 (15:48 -0700)]
Merge "Initial draft of high-level multi-display APIs." into jb-mr1-dev

11 years agoMore improvements to the display manager.
Jeff Brown [Fri, 31 Aug 2012 01:18:29 +0000 (18:18 -0700)]
More improvements to the display manager.

Added more complete support for logical displays with
support for mirroring, rotation and scaling.

Improved the overlay display adapter's touch interactions.

A big change here is that the display manager no longer relies
on a single-threaded model to maintain its synchronization
invariants.  Unfortunately we had to change this so as to play
nice with the fact that the window manager wants to own
the surface flinger transaction around display and surface
manipulations.  As a result, the display manager has to be able
to update displays from the context of any thread.

It would be nice to make this process more cooperative.
There are already several components competing to perform
surface flinger transactions including the window manager,
display manager, electron beam, overlay display window,
and mouse pointer.  They are not manipulating the same surfaces
but they can collide with one another when they make global
changes to the displays.

Change-Id: I04f448594241f2004f6f3d1a81ccd12c566bf296

11 years agoInitial draft of high-level multi-display APIs.
Jeff Brown [Fri, 24 Aug 2012 02:48:44 +0000 (19:48 -0700)]
Initial draft of high-level multi-display APIs.

This patch introduces the ability to create a Context that
is bound to a Display.  The context gets its configuration and
metrics from that display and is able to provide a WindowManager
that is bound to the display.

To make it easier to use, we also add a new kind of Dialog
called a Presentation.  Presentation takes care of setting
up the context as needed and watches for significant changes
in the display configuration.  If the display is removed,
then the presentation simply dismisses itself.

Change-Id: Idc54b4ec84b1ff91505cfb78910cf8cd09696d7d

11 years agoCentralize the creation of the user system directory
Amith Yamasani [Fri, 31 Aug 2012 19:12:28 +0000 (12:12 -0700)]
Centralize the creation of the user system directory

Environment.getUserSystemDirectory(int userId)

Use it all relevant places that was hardcoding it.
Also, wipe out the user's system directory when user is removed, otherwise old state
might be transferred to a new user.

Change-Id: I788ce9c4cf9624229e65efa7047bc0c019ccef0a

11 years agoRemove Binder.getOrigCallingUid().
Dianne Hackborn [Fri, 31 Aug 2012 21:05:51 +0000 (14:05 -0700)]
Remove Binder.getOrigCallingUid().

Replaced all remaining places that used it with explicit user
specification.

While doing this, I ran into stuff that was creating PendingIntent
objects (that now need to specify the explicit user they are for),
which are also posting notifications...  but have no way to specify
the user for the notification.

So the notification manager in the system process now also gets a
formal concept of a user associated with the notification, which
is passed in to all the necessary aidl calls.  I also removed the
old deprecated aidl interface for posting/cancelling notifications,
since we now always need a user supplied.

There is more work that needs to be done here, though.  For example
I think we need to be able to specify USER_ALL for a notification that
should be shown to all users (such as low storage or low battery).
Along with that, the PendingIntent creation needs to be tweaked to
be able to handle USER_CURRENT by evaluating the user at the point the
pending intent is sent.

That's for another change, however.

Change-Id: I468e14dce8def0e13e0870571e7c31ed32b6310c

11 years agoMerge "Don't set the time zone under the caller's identity" into jb-mr1-dev
Christopher Tate [Fri, 31 Aug 2012 21:47:34 +0000 (14:47 -0700)]
Merge "Don't set the time zone under the caller's identity" into jb-mr1-dev

11 years agoDon't set the time zone under the caller's identity
Christopher Tate [Fri, 31 Aug 2012 21:40:03 +0000 (14:40 -0700)]
Don't set the time zone under the caller's identity

...otherwise you crash trying to send a broadcast to all users.

Change-Id: If627eeb3eadb1052242c986fe24482d87c8fc093

11 years agoParamaterize and adjust the glyph cache sizes
Chet Haase [Fri, 31 Aug 2012 20:54:03 +0000 (13:54 -0700)]
Paramaterize and adjust the glyph cache sizes

Add new parameters for the texture size used for the larger, fallback caches.
Bump up the defaults in some situations.

Issue #7045164 Adjust cache sizes for manta

Change-Id: I562118ce785d7f8b6e445178878672e9709d25f2

11 years agoMerge "Lots of keyguard improvements - Fix "too many attempts" dialogs - Fix account...
Jim Miller [Fri, 31 Aug 2012 20:57:26 +0000 (13:57 -0700)]
Merge "Lots of keyguard improvements - Fix "too many attempts" dialogs - Fix account unlock mechanism so the user can use email account as backup for pattern unlock - Add mechanism to support future account recovery from non-pattern screen - Tune animation timing for flipping security view. - Move password field to the top of the security view - Add padding and visual feedback to navigation area button" into jb-mr1-dev

11 years agoOnly show the BeanFlinger screensaver to the worthy.
Daniel Sandler [Fri, 31 Aug 2012 20:18:31 +0000 (16:18 -0400)]
Only show the BeanFlinger screensaver to the worthy.

(That is: you must have discovered the flying-jellybeans
easter egg to gain permanent access to the Dreams version of
same.)

Change-Id: I65ce39c0ab5b61f492a3637e3c31b3c91f4f0f89

11 years agoMerge "Work around instability of Display.getRotation()." into jb-mr1-dev
Daniel Sandler [Fri, 31 Aug 2012 19:06:41 +0000 (12:06 -0700)]
Merge "Work around instability of Display.getRotation()." into jb-mr1-dev

11 years agoWork around instability of Display.getRotation().
Daniel Sandler [Fri, 31 Aug 2012 18:57:09 +0000 (14:57 -0400)]
Work around instability of Display.getRotation().

Ensures that the navigation buttons are properly oriented
each time the screen comes on.

Bug: 7086018
Change-Id: Iac6243792a8c64001ff7409108fb892bd470e4c4

11 years agoam a3503f26: am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915""...
Sascha Prueter [Fri, 31 Aug 2012 18:46:13 +0000 (11:46 -0700)]
am a3503f26: am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev

* commit 'a3503f2688c69b49a309763d8da7e7c04327d6d7':
  Revert "Update Back softkey icon Bug: 6020915"

11 years agoam 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
Sascha Prueter [Fri, 31 Aug 2012 18:43:59 +0000 (11:43 -0700)]
am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev

* commit '6ee6615d8f923a68021d04dc06b20d72c3f8498a':
  Revert "Update Back softkey icon Bug: 6020915"

11 years agoMerge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
Sascha Prueter [Fri, 31 Aug 2012 18:40:51 +0000 (11:40 -0700)]
Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev

11 years agoRevert "Update Back softkey icon Bug: 6020915"
Sascha Prueter [Fri, 31 Aug 2012 18:39:44 +0000 (11:39 -0700)]
Revert "Update Back softkey icon Bug: 6020915"

This reverts commit 962daf9b1c4b12aff68a137472b6a7f4db123c65

Change-Id: If60099643336e35fe5bf7dcbf68a419bcd7ebae3

11 years agoam b9445141: (-s ours) am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action...
Adam Powell [Fri, 31 Aug 2012 18:29:45 +0000 (11:29 -0700)]
am b9445141: (-s ours) am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev

* commit 'b94451411bbdea42eb61ece08c1d759e0b1bf177':
  DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP

11 years agoam f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_...
Adam Powell [Fri, 31 Aug 2012 18:27:31 +0000 (11:27 -0700)]
am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev

* commit 'f1faf7743f39f56cc57d6f2a520e5c8ecf4e58b5':
  DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP

11 years agoMerge "Add an OnDismissListener to AutoCompleteTextView" into jb-mr1-dev
Adam Powell [Fri, 31 Aug 2012 18:26:54 +0000 (11:26 -0700)]
Merge "Add an OnDismissListener to AutoCompleteTextView" into jb-mr1-dev

11 years agoMerge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into...
Adam Powell [Fri, 31 Aug 2012 18:24:30 +0000 (11:24 -0700)]
Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev

11 years agoDO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
Adam Powell [Fri, 31 Aug 2012 18:11:39 +0000 (11:11 -0700)]
DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP

Bug 7088494

Change-Id: I723e9b77f0d0473f9d769e53aaa568c4aaac90aa

11 years agoMerge "GestureDetector - Mask action when checking POINTER_UP" into jb-mr1-dev
Adam Powell [Fri, 31 Aug 2012 18:13:16 +0000 (11:13 -0700)]
Merge "GestureDetector - Mask action when checking POINTER_UP" into jb-mr1-dev

11 years agoGestureDetector - Mask action when checking POINTER_UP
Adam Powell [Fri, 31 Aug 2012 18:11:39 +0000 (11:11 -0700)]
GestureDetector - Mask action when checking POINTER_UP

Bug 7088494

Change-Id: I723e9b77f0d0473f9d769e53aaa568c4aaac90aa

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 31 Aug 2012 15:43:24 +0000 (08:43 -0700)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 31 Aug 2012 15:28:20 +0000 (08:28 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Tweak overlay display adapter scaling." into jb-mr1-dev
Jeff Brown [Fri, 31 Aug 2012 07:41:14 +0000 (00:41 -0700)]
Merge "Tweak overlay display adapter scaling." into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Fri, 31 Aug 2012 05:16:42 +0000 (22:16 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoLots of keyguard improvements
Jim Miller [Thu, 30 Aug 2012 23:50:10 +0000 (16:50 -0700)]
Lots of keyguard improvements
- Fix "too many attempts" dialogs
- Fix account unlock mechanism so the user can use email account as backup for pattern unlock
- Add mechanism to support future account recovery from non-pattern screen
- Tune animation timing for flipping security view.
- Move password field to the top of the security view
- Add padding and visual feedback to navigation area button

Fixes bugs 70884827088631

Change-Id: I23099feae3b7446ec291d8f860601bfc12f9edd8

11 years agoMerge "Notify verifiers that verification is complete" into jb-mr1-dev
rich cannings [Fri, 31 Aug 2012 03:35:07 +0000 (20:35 -0700)]
Merge "Notify verifiers that verification is complete" into jb-mr1-dev

11 years agoMerge "Make detachViewFromParent more robust" into jb-mr1-dev
Chet Haase [Fri, 31 Aug 2012 02:31:59 +0000 (19:31 -0700)]
Merge "Make detachViewFromParent more robust" into jb-mr1-dev

11 years agoMerge "Integrate new assets from UX that include layout bounds." into jb-mr1-dev
Adam Powell [Fri, 31 Aug 2012 01:25:38 +0000 (18:25 -0700)]
Merge "Integrate new assets from UX that include layout bounds." into jb-mr1-dev

11 years agoam 0e90f738: am f5311768: am 0dab1a19: Merge "Fix code problem in writePidDns"
Wink Saville [Fri, 31 Aug 2012 01:16:30 +0000 (18:16 -0700)]
am 0e90f738: am f5311768: am 0dab1a19: Merge "Fix code problem in writePidDns"

* commit '0e90f738aa82d9b30e6b4f43cd321e3f9cad2fc1':
  Fix code problem in writePidDns

11 years agoam f5311768: am 0dab1a19: Merge "Fix code problem in writePidDns"
Wink Saville [Fri, 31 Aug 2012 01:14:15 +0000 (18:14 -0700)]
am f5311768: am 0dab1a19: Merge "Fix code problem in writePidDns"

* commit 'f5311768e3dfdc6be60288363da4f120b0c88e28':
  Fix code problem in writePidDns

11 years agoam 0dab1a19: Merge "Fix code problem in writePidDns"
Wink Saville [Fri, 31 Aug 2012 01:11:30 +0000 (18:11 -0700)]
am 0dab1a19: Merge "Fix code problem in writePidDns"

* commit '0dab1a198e19c9993897b031d425a61a3bfec562':
  Fix code problem in writePidDns

11 years agoIntegrate new assets from UX that include layout bounds.
Adam Powell [Fri, 31 Aug 2012 01:06:38 +0000 (18:06 -0700)]
Integrate new assets from UX that include layout bounds.

Change-Id: I682b3f693d8eedb741ea689f56363532cde32132

11 years agoAdd an OnDismissListener to AutoCompleteTextView
Adam Powell [Fri, 31 Aug 2012 00:30:05 +0000 (17:30 -0700)]
Add an OnDismissListener to AutoCompleteTextView

Bug 4551310

Change-Id: I702301ad3360828ec6637b6c09789e00d9661271

11 years agoMake detachViewFromParent more robust
Chet Haase [Fri, 31 Aug 2012 00:20:08 +0000 (17:20 -0700)]
Make detachViewFromParent more robust

Calling detachViewFromParent() without calling remove or attach in the
same drawing frame could, in some situations, cause a crash in the native
DisplayList code. detach/attach are intended to be very lightweight and do
not manage the native DisplayList content the same way that add/remove do.
Nor do they cause an invalidate() or requestLayout(), which would cause the
native structures to get recreated appropriately.

This fix makes this process more robust in two ways:
- DisplayLists should not get finalized (therefore destroying their native
structures) when there are still parent DisplayLists referring to them
(each DisplayList keeps references to its child DisplayLists). This will
prevent the native crash associated with unmatched detach*() calls.
- The docs for detach/attach have been enhanced to make it easier for
developers to understand how to use these methods more correctly and
successfully.

Issue #7064818 detachViewFromParent() should be more robust

Change-Id: I53befc04d5d58c225060f397725566d470488c9b

11 years agoMerge "Fix code problem in writePidDns"
Wink Saville [Fri, 31 Aug 2012 00:36:05 +0000 (17:36 -0700)]
Merge "Fix code problem in writePidDns"

11 years agoEnforce permissions for calls with specified userId
Amith Yamasani [Thu, 30 Aug 2012 01:41:53 +0000 (18:41 -0700)]
Enforce permissions for calls with specified userId

Fix a couple of places where incorrect userIds were being passed in.

Change-Id: I398c676e0488ff7e584be96e96c8b32652134238

11 years agoam 1a907db0: am 862c3835: am 4b60a8d1: Merge "Added check of ActivityInfo launch...
Dianne Hackborn [Thu, 30 Aug 2012 23:04:19 +0000 (16:04 -0700)]
am 1a907db0: am 862c3835: am 4b60a8d1: Merge "Added check of ActivityInfo launch mode when starting activity."

* commit '1a907db07ea105ea65e146713f436ed072d7084b':
  Added check of ActivityInfo launch mode when starting activity.

11 years agoam 862c3835: am 4b60a8d1: Merge "Added check of ActivityInfo launch mode when startin...
Dianne Hackborn [Thu, 30 Aug 2012 23:01:59 +0000 (16:01 -0700)]
am 862c3835: am 4b60a8d1: Merge "Added check of ActivityInfo launch mode when starting activity."

* commit '862c383530d64e6c493fb519f567dd5778d9d48c':
  Added check of ActivityInfo launch mode when starting activity.

11 years agoNotify verifiers that verification is complete
rich cannings [Wed, 29 Aug 2012 21:49:51 +0000 (14:49 -0700)]
Notify verifiers that verification is complete

Send the Intent.ACTION_PACKAGE_VERIFIED to all verifiers when
verification is complete (either one verifier verified the package or a
timeout occurred). Details of what occurred is in a new extra,
PackageManager.EXTRA_VERIFICATION_RESULT.

Bug: 7048930
Change-Id: I4f9855a29b0eb6d77f469891402c69e2e8922945