5642 Commits

Author SHA1 Message Date
Jim Miller
a6e7d33cab am 6627406a: am 175ae55c: Merge "Update DevicePolicyManager with ability to disable keyguard widgets" into jb-mr1-dev
* commit '6627406a5ce881d6d6b4bcdfef4b2b9804032810':
  Update DevicePolicyManager with ability to disable keyguard widgets
2012-09-04 15:25:40 -07:00
Jim Miller
175ae55c0d Merge "Update DevicePolicyManager with ability to disable keyguard widgets" into jb-mr1-dev 2012-09-04 15:20:42 -07:00
Fabrice Di Meglio
949c875a05 am 81c66d65: am 035ce2ca: Merge "Add support for "-rtl" in resources" into jb-mr1-dev
* commit '81c66d6592718e9a1c57c39c1675ea13e8e769bb':
  Add support for "-rtl" in resources
2012-09-04 15:06:20 -07:00
Fabrice Di Meglio
035ce2ca92 Merge "Add support for "-rtl" in resources" into jb-mr1-dev 2012-09-04 15:01:03 -07:00
Jim Miller
018eb91a6e am eea5d3cd: am 16761181: Merge "Keyguard bug fixes" into jb-mr1-dev
* commit 'eea5d3cdf35b048bb02a030424cba6ab726c17cd':
  Keyguard bug fixes
2012-09-04 14:21:45 -07:00
Jim Miller
167611811d Merge "Keyguard bug fixes" into jb-mr1-dev 2012-09-04 14:16:48 -07:00
Jim Miller
b8ec470617 Update DevicePolicyManager with ability to disable keyguard widgets
Change-Id: I5876e9e180b2a995aaa355fbbb2b67cebb86104d
2012-09-04 13:52:36 -07:00
Baligh Uddin
599943e48b Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-04 09:31:42 -07:00
Baligh Uddin
b9aedb5709 Merge "Import translations. DO NOT MERGE" 2012-09-04 09:28:16 -07:00
Jim Miller
d36ebe03c9 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
2012-08-31 19:33:42 -07:00
Jeff Brown
b7b396cf5b am 697b1a01: am f83ec838: Merge "More improvements to the display manager." into jb-mr1-dev
* commit '697b1a015efde0ed69cfa69de4f9a908640a4ec1':
  More improvements to the display manager.
2012-08-31 15:53:47 -07:00
Jeff Brown
7768e5e829 am 058ebd25: am 3b9a4160: Merge "Initial draft of high-level multi-display APIs." into jb-mr1-dev
* commit '058ebd259ddc4e50eaae319126c0998f2702ddb0':
  Initial draft of high-level multi-display APIs.
2012-08-31 15:53:43 -07:00
Jeff Brown
f83ec83891 Merge "More improvements to the display manager." into jb-mr1-dev 2012-08-31 15:49:17 -07:00
Jeff Brown
3b9a4160c9 Merge "Initial draft of high-level multi-display APIs." into jb-mr1-dev 2012-08-31 15:48:26 -07:00
Jeff Brown
4ed8fe75e1 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
2012-08-31 15:42:46 -07:00
Jeff Brown
a492c3a7b2 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
2012-08-31 15:42:45 -07:00
Jim Miller
06ce03f57e am 6d044921: am 58a2950b: 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 -
* commit '6d0449214aef65d60de81c8dcdf65974245f6b18':
  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
2012-08-31 14:02:36 -07:00
Jim Miller
58a2950b66 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 2012-08-31 13:57:27 -07:00
Baligh Uddin
3d217ad644 Import translations. DO NOT MERGE
Change-Id: I3989a93943a9b756d8d4816044787e291865a217
Auto-generated-cl: translation import
2012-08-31 08:36:05 -07:00
Baligh Uddin
464fb99b91 Import translations. DO NOT MERGE
Change-Id: Ifec4a4a20b1dbe717c83778d48582fc071282fc8
Auto-generated-cl: translation import
2012-08-31 08:28:20 -07:00
Baligh Uddin
0cc2e9b2e9 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-30 22:16:42 -07:00
Baligh Uddin
3af1cf3b23 Merge "Import translations. DO NOT MERGE" 2012-08-30 22:15:03 -07:00
Jim Miller
258341c377 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 7088482, 7088631

Change-Id: I23099feae3b7446ec291d8f860601bfc12f9edd8
2012-08-30 21:40:44 -07:00
rich cannings
6c197585c1 am d3fe930d: am a2875f48: Merge "Notify verifiers that verification is complete" into jb-mr1-dev
* commit 'd3fe930da9199d7fde39e243ba9c695872c0622b':
  Notify verifiers that verification is complete
2012-08-30 20:39:58 -07:00
rich cannings
a2875f481b Merge "Notify verifiers that verification is complete" into jb-mr1-dev 2012-08-30 20:35:08 -07:00
Adam Powell
8ab556f1c0 am c8f2fcb5: am b2fc49bc: Merge "Integrate new assets from UX that include layout bounds." into jb-mr1-dev
* commit 'c8f2fcb53505c68bda5af7d62774ba6adb62dfaa':
  Integrate new assets from UX that include layout bounds.
2012-08-30 18:31:33 -07:00
Adam Powell
dc2cf24ecf Integrate new assets from UX that include layout bounds.
Change-Id: I682b3f693d8eedb741ea689f56363532cde32132
2012-08-30 18:06:38 -07:00
rich cannings
d1b5cfc94a 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
2012-08-30 16:00:59 -07:00
Jeff Sharkey
4ce07726a8 am 3faed633: am e217ee4d: Access to all users\' external storage.
* commit '3faed6337f260ff734115d8d404dc132f6e6755a':
  Access to all users' external storage.
2012-08-30 11:50:39 -07:00
Jeff Sharkey
e217ee4d7a Access to all users' external storage.
System services holding this permission have external storage bound
one level higher, giving them access to all users' files.

Bug: 7003520
Change-Id: Ib2bcb8455740c713ebd01f71c9a2b89b4e642832
2012-08-30 10:37:51 -07:00
Jim Miller
a31b4da94e am b354ffa2: am 08db9df1: Merge "Fix keyguard layout on tablet" into jb-mr1-dev
* commit 'b354ffa2b98e62d20f2228a557e74f6d6e059464':
  Fix keyguard layout on tablet
2012-08-30 10:36:54 -07:00
Jim Miller
07cb030c4e Fix keyguard layout on tablet
Bug:7084961
Change-Id: I6415aa736bf9e2b71a288716e3125429be2b663c
2012-08-30 10:24:40 -07:00
Adam Cohen
8c4b4a8692 am cd37ece7: am b07e89f6: Merge "Integrate overscroll into KeyguardWidgetView." into jb-mr1-dev
* commit 'cd37ece71bb0174f0624b56960b7b2a367ca9af1':
  Integrate overscroll into KeyguardWidgetView.
2012-08-29 19:53:07 -07:00
Adam Cohen
b07e89f6fd Merge "Integrate overscroll into KeyguardWidgetView." into jb-mr1-dev 2012-08-29 19:49:02 -07:00
Baligh Uddin
e479ac121d Import translations. DO NOT MERGE
Change-Id: Ifb35d663ed00e724256ac3ec8e24f5592a19792b
Auto-generated-cl: translation import
2012-08-29 19:11:42 -07:00
Baligh Uddin
8b9df6cccd Import translations. DO NOT MERGE
Change-Id: Id3259e8368d2ab53d1f8b16d756806b4ca520c39
Auto-generated-cl: translation import
2012-08-29 19:04:43 -07:00
Jim Miller
f2dfc351de Integrate overscroll into KeyguardWidgetView.
This integrates overscroll behavior into keyguard.

Change-Id: I19c0f70c85a4ebb0ddd3f433b6f88a992f40919b
2012-08-29 18:42:21 -07:00
Dianne Hackborn
cf8e40ebe2 am 0322498e: am 12631ec3: Merge "Start implementing concept of "running" users." into jb-mr1-dev
* commit '0322498e05cfec1d73bc5205d46ce86847e7dd79':
  Start implementing concept of "running" users.
2012-08-29 18:20:09 -07:00
Dianne Hackborn
12631ec35e Merge "Start implementing concept of "running" users." into jb-mr1-dev 2012-08-29 18:15:07 -07:00
Jeff Brown
c9996258ca am f1b88ab2: am d5ea3b46: Merge "Add initial multi-display support." into jb-mr1-dev
* commit 'f1b88ab27d8fc675121a53f44103c8730d66ccd1':
  Add initial multi-display support.
2012-08-29 15:49:56 -07:00
Jeff Brown
d5ea3b4647 Merge "Add initial multi-display support." into jb-mr1-dev 2012-08-29 15:43:55 -07:00
Jeff Brown
bd6e1500ae Add initial multi-display support.
Split the DisplayManager into two parts.  One part is bound
to a Context and takes care of Display compatibility and
caching Display objects on behalf of the Context.  The other
part is global and takes care of communicating with the
DisplayManagerService, handling callbacks, and caching
DisplayInfo objects on behalf of the process.

Implemented support for enumerating Displays and getting
callbacks when displays are added, removed or changed.

Elaborated the roles of DisplayManagerService, DisplayAdapter,
and DisplayDevice.  We now support having multiple display
adapters registered, each of which can register multiple display
devices and configure them dynamically.

Added an OverlayDisplayAdapter which is used to simulate
secondary displays by means of overlay windows.  Different
configurations of overlays can be selected using a new
setting in the Developer Settings panel.  The overlays can
be repositioned and resized by the user for convenience.

At the moment, all displays are mirrors of display 0 and
no display transformations are applied.  This will be improved
in future patches.

Refactored the way that the window manager creates its threads.
The OverlayDisplayAdapter needs to be able to use hardware
acceleration so it must share the same UI thread as the Keyguard
and window manager policy.  We now handle this explicitly as
part of starting up the system server.  This puts us in a
better position to consider how we might want to share (or not
share) Loopers among components.

Overlay displays are disabled when in safe mode or in only-core
mode to reduce the number of dependencies started in these modes.

Change-Id: Ic2a661d5448dde01b095ab150697cb6791d69bb5
2012-08-29 15:34:17 -07:00
Jim Miller
0b63b536aa am 8897b4f5: am c134885e: Merge "Replace keyguard with new implementation" into jb-mr1-dev
* commit '8897b4f530aace505a65e0ff66fdf0561a4b30fd':
  Replace keyguard with new implementation
2012-08-29 12:56:46 -07:00
Jim Miller
c134885e6f Merge "Replace keyguard with new implementation" into jb-mr1-dev 2012-08-29 12:52:09 -07:00
Jim Miller
dcb3d84b82 Replace keyguard with new implementation
This change refactors keyguard to be more modular and maintainable.  More
specifically, it replaces the top-level view with just one device-dependent
view that contains two views: a widget area and a security area.

The widget area can be populated with custom widgets.

The security area contains the current security method as dictated by
the stored password quality.

This change contains both the old and the new keyguard with the old keyguard
still enabled.  The new keyguard will be enabled in a subsequent change.

Change-Id: Id75286113771ca1407e9db182172b580f870b612
2012-08-29 12:36:26 -07:00
Elliott Hughes
989e14bee1 Merge "Use icu4c for CLDR "yesterday", "today", and "tomorrow" strings." 2012-08-28 16:54:14 -07:00
Elliott Hughes
47a0539eca Use icu4c for CLDR "yesterday", "today", and "tomorrow" strings.
Change-Id: Id9e3b678a98751c4ca85f63b130cc7781d2a6cfe
2012-08-28 16:41:37 -07:00
Dianne Hackborn
80a4af2bbc Start implementing concept of "running" users.
The activity manager now keeps track of which users are running.

Initially, only user 0 is running.

When you switch to another user, that user is started so it is
running.  It is only at this point that BOOT_COMPLETED is sent
for that user and it is allowed to execute anything.

You can stop any user except user 0, which brings it back to the
same state as when you first boot the device.  This is also used
to be able to more cleaning delete a user, by first stopping it
before removing its data.

There is a new broadcast ACTION_USER_STOPPED sent when a user is
stopped; system services need to handle this like they currently
handle ACTION_PACKAGE_RESTARTED when individual packages are
restarted.

Change-Id: I89adbd7cbaf4a0bb72ea201385f93477f40a4119
2012-08-28 16:30:55 -07:00
Baligh Uddin
b210018760 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-28 15:51:02 -07:00
Baligh Uddin
4216984c05 Merge "Import translations. DO NOT MERGE" 2012-08-28 15:48:43 -07:00