2691 Commits

Author SHA1 Message Date
Daniel Sandler
6e061919f3 Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev 2012-09-28 10:47:45 -07:00
Daniel Sandler
21164f2535 am d22e6d0b: am 0dc2b81c: Merge "Cleanup internal status bar APIs." into jb-mr1-dev
* commit 'd22e6d0b50ba293511352d6d05be33f535b75666':
  Cleanup internal status bar APIs.
2012-09-28 10:13:15 -07:00
Daniel Sandler
0dc2b81ce1 Merge "Cleanup internal status bar APIs." into jb-mr1-dev 2012-09-28 10:07:16 -07:00
Daniel Sandler
e680f5483f Prop the tablet notification panel open a bit.
It will now occupy at least 40% of the screen, vertically.

Bug: 7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96
2012-09-28 12:22:27 -04:00
Daniel Sandler
3a12029a3b Add the SystemUI's dream-starter as a DESK_DOCK app.
The circle is complete: dock mode is back, and it will
launch Dreams by default.

Bug: 7163049
Change-Id: I3c681ac701d65b03f882d92d06389d4528e34747
2012-09-28 11:41:41 -04:00
Daniel Sandler
b676c3d5dc am 12736aff: am 195b6e12: Merge "Fix panel handles on large screens." into jb-mr1-dev
* commit '12736aff14171763a9bca604f6189a1a3aa7ff73':
  Fix panel handles on large screens.
2012-09-28 06:55:41 -07:00
Daniel Sandler
195b6e1239 Merge "Fix panel handles on large screens." into jb-mr1-dev 2012-09-28 06:50:57 -07:00
Romain Guy
b8c16ca740 am 3d2c043e: am 97298cdc: Merge "Fix recents animation in landscape Bug #7250041" into jb-mr1-dev
* commit '3d2c043e903c0ac642666ca2c8c06342466bcfa8':
  Fix recents animation in landscape Bug #7250041
2012-09-28 00:38:12 -07:00
Jeff Sharkey
d15021bd07 am 095df34d: am 5e9187a3: Merge "Fix "system" resources; more context user work." into jb-mr1-dev
* commit '095df34d5b663c24d353d3e1b79f869cae1c8400':
  Fix "system" resources; more context user work.
2012-09-28 00:37:00 -07:00
Christopher Tate
c58027c562 am 530e78b2: am 5e08af03: Respect per-user rotation lock et alia
* commit '530e78b231c8cb07dd5ccdb057eff287b814662d':
  Respect per-user rotation lock et alia
2012-09-28 00:36:30 -07:00
Winson Chung
26af98cbf7 am b7caca23: am 327b3217: Merge "Fixing various QS issues. (Bug 7217102)" into jb-mr1-dev
* commit 'b7caca23195ceb654206864ae433168256c86e89':
  Fixing various QS issues. (Bug 7217102)
2012-09-28 00:36:05 -07:00
Romain Guy
97298cdcc0 Merge "Fix recents animation in landscape Bug #7250041" into jb-mr1-dev 2012-09-27 23:11:05 -07:00
Romain Guy
4b416885ac Fix recents animation in landscape
Bug #7250041

Change-Id: I0d7d85aa6a9444ac5dc2451be816f8387036e068
2012-09-27 23:07:38 -07:00
Baligh Uddin
55ada88b7a Import translations. DO NOT MERGE
Change-Id: I80b5a9acede5f7ccc603dafe066b7c4a3d587876
Auto-generated-cl: translation import
2012-09-27 22:22:35 -07:00
Baligh Uddin
1f04fddabf Import translations. DO NOT MERGE
Change-Id: Ibdc8249324fd79240a6fec9cba9b2c22435f549c
Auto-generated-cl: translation import
2012-09-27 22:21:23 -07:00
Jeff Sharkey
ded653b168 Fix "system" resources; more context user work.
Special-case "system" resources, since it doesn't have an
ApplicationInfo.  Also switch Context and PackageManager to using
the wrapped UserHandle for outgoing calls.

Bug: 7242361
Change-Id: I1ecd2a4752399a6dce2de97c59bd5545996c9a99
2012-09-27 19:50:23 -07:00
Christopher Tate
5e08af03a3 Respect per-user rotation lock et alia
Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object.  We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
2012-09-27 18:56:23 -07:00
Winson Chung
efba3235fc Fixing various QS issues. (Bug 7217102)
- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
2012-09-27 17:18:23 -07:00
Daniel Sandler
422ca45298 am f7c1299a: am 4735a1e1: Merge "New notification/settings panel handle assets." into jb-mr1-dev
* commit 'f7c1299ab3f0024750426ccdd1207b29a7e27cf4':
  New notification/settings panel handle assets.
2012-09-27 16:12:15 -07:00
Daniel Sandler
13522a2e40 Fix panel handles on large screens.
Bug: 7171620
Change-Id: If8445210fe654aa0b8ba508f4e6f93ad6d4fca14
2012-09-27 15:08:28 -04:00
Daniel Sandler
11cf178100 Cleanup internal status bar APIs.
IStatusBarService.collapseQuickSettings is gone;
collapseNotifications is now collapsePanels, which does what
collapse() used to do. Similarly,
IStatusBar.animateCollapseQuickSettings is now simply
IStatusBar.animateCollapse().

Bug: 7245229
Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
2012-09-27 14:03:08 -04:00
Baligh Uddin
e7fc0771ab Merge "Import translations. DO NOT MERGE" 2012-09-27 10:09:29 -07:00
Baligh Uddin
6c805cb53d Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-27 10:04:08 -07:00
Daniel Sandler
4735a1e12c Merge "New notification/settings panel handle assets." into jb-mr1-dev 2012-09-27 08:23:28 -07:00
Daniel Sandler
4e32ba7ce7 New notification/settings panel handle assets.
Bug: 7171620
Change-Id: Ie6bc31345eafe91c03ca2bd09399419e54831f33
2012-09-27 10:34:41 -04:00
Jeff Brown
260f07a713 am f8a752d5: am 0c9bbf4e: Merge "Make DreamManagerService more robust." into jb-mr1-dev
* commit 'f8a752d511da2eb96209b75b61dfac039db46498':
  Make DreamManagerService more robust.
2012-09-26 17:29:41 -07:00
Baligh Uddin
32cdc06fc9 Import translations. DO NOT MERGE
Change-Id: I1a152dc29e74b8a229daed0c6a7545b1cbc4d152
Auto-generated-cl: translation import
2012-09-26 17:06:51 -07:00
Baligh Uddin
43d1c2dbce Import translations. DO NOT MERGE
Change-Id: Id53f9a240b652c58886b3c46323ce84d14bfc168
Auto-generated-cl: translation import
2012-09-26 17:05:30 -07:00
Jeff Brown
62c82e4d92 Make DreamManagerService more robust.
Clearly isolated the DreamManagerService and DreamController
responsibilities.  DreamManagerService contains just enough logic to
manage the global synchronous behaviors.  All of the asynchronous
behaviors are in DreamController.

Added a new PowerManager function called nap() to request the device
to start napping.  If it is a good time to nap, then the
PowerManagerService will call startDream() on the DreamManagerService
to start dreaming.

Fixed a possible multi-user issue by explicitly tracking for
which user a dream service is being started and stopping dreams
when the current user changes.  The user id is also passed to
bindService() to ensure that the dream has the right environment.

Fix interactions with docks and the UI mode manager.  It is
important that we always send the ACTION_DOCK_EVENT broadcast
to the system so that it can configure audio routing and the like.
When docked, the UI mode manager starts a dock app if there is
one, otherwise it starts a dream.

This change resolves issues with dreams started for reasons other
than a user activity timeout.

Bug: 7204211
Change-Id: I3193cc8190982c0836319176fa2e9c4dcad9c01f
2012-09-26 15:24:27 -07:00
Jeff Sharkey
2ecc9592e5 am a98137c1: am 1951db86: Merge "Multi-user ringtone playback." into jb-mr1-dev
* commit 'a98137c16d433ebc14e64c363e8c2fe86c74c2a7':
  Multi-user ringtone playback.
2012-09-26 13:42:39 -07:00
Jeff Sharkey
1951db86f5 Merge "Multi-user ringtone playback." into jb-mr1-dev 2012-09-26 13:38:22 -07:00
Jeff Sharkey
65c4a2b26c Multi-user ringtone playback.
Change RingtonePlayer to open content:// Uris based on requesting
UserHandle.  Grant SystemUI visibility to all emulated storage so
it can play ringtones for apps without READ_EXTERNAL_STORAGE.

Resolve canonical file:// Uris before passing out of source app,
replacing any /emulated_legacy/-style paths with user-specific
variant so they can be opened by SystemUI.  Calling for RemoteViews,
Ringtones, and Notifications.

Bug: 7202982
Change-Id: Ibf0eca8df80c1486711144a7b648f464aadfe099
2012-09-26 10:49:35 -07:00
Svetoslav Ganov
0f24e03168 am ba78ebb8: am 2fd6cb04: Merge "Fixing the build" into jb-mr1-dev
* commit 'ba78ebb88aae22f410d2682d91297b3cbdfc2a3a':
  Fixing the build
2012-09-25 17:11:33 -07:00
Jeff Brown
9da4d74477 am 876f95ed: am b32e2216: Merge changes I332f020f,I632648ac into jb-mr1-dev
* commit '876f95ed7f914b4d86634db552277f835d288805':
  Update references to migrated global settings.
  Handle user switched for settings changes.
2012-09-25 17:11:25 -07:00
Svetoslav Ganov
2fd6cb0439 Merge "Fixing the build" into jb-mr1-dev 2012-09-25 17:05:04 -07:00
Svetoslav Ganov
063158561e Fixing the build
Change-Id: Ia3a7051bf26001da019b08d1b718d0a63d6c7919
2012-09-25 17:03:12 -07:00
Jeff Brown
b32e221699 Merge changes I332f020f,I632648ac into jb-mr1-dev
* changes:
  Update references to migrated global settings.
  Handle user switched for settings changes.
2012-09-25 17:03:11 -07:00
Winson Chung
5f1969a340 am eb6c0d5d: am 282c51d3: Merge "Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)" into jb-mr1-dev
* commit 'eb6c0d5d159e643cfa0c7e48c11c12339e3f1c9d':
  Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)
2012-09-25 16:56:08 -07:00
Svetoslav Ganov
2a0168615b am dfd00788: am c91fb587: Merge "Adding a global accessibility action to open quick settings." into jb-mr1-dev
* commit 'dfd007884d104417b8d39fd2002f09b11ac875f8':
  Adding a global accessibility action to open quick settings.
2012-09-25 16:52:34 -07:00
Winson Chung
282c51d391 Merge "Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)" into jb-mr1-dev 2012-09-25 16:51:11 -07:00
Svetoslav Ganov
c91fb5875b Merge "Adding a global accessibility action to open quick settings." into jb-mr1-dev 2012-09-25 16:47:06 -07:00
Winson Chung
c86b23b9a6 Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)
Change-Id: If42308a0bbc4a31ffb7f5f0b66063c3b1418ca3e
2012-09-25 16:44:29 -07:00
Michael Jurka
4bce86ab68 am dcf09121: am 99f19db6: Merge "Fix 7216326: Recents has a "dead zone" on tablets" into jb-mr1-dev
* commit 'dcf0912133188c5df5729ab5124eb22bc1912733':
  Fix 7216326: Recents has a "dead zone" on tablets
2012-09-25 16:31:46 -07:00
Michael Jurka
51b5d2ccf0 am 9e5513fe: am 150443a9: Merge "Fix 7216870: recents relaunches dismissed activity" into jb-mr1-dev
* commit '9e5513fee7bae45f19afc12de3a94519f49f2eb6':
  Fix 7216870: recents relaunches dismissed activity
2012-09-25 16:31:43 -07:00
Michael Jurka
99f19db697 Merge "Fix 7216326: Recents has a "dead zone" on tablets" into jb-mr1-dev 2012-09-25 16:22:31 -07:00
Michael Jurka
76218b8a16 Fix 7216326: Recents has a "dead zone" on tablets 2012-09-25 16:17:12 -07:00
Svetoslav Ganov
e20a177d3f Adding a global accessibility action to open quick settings.
1. Added APIs for opening the quick settings to the StatusBarManagerService
   and the local StatausBarManager. The new APIs are protected by the old
   EXPAND_STATUS_BAR permission.
   Renamed the expand* and collapse* non-public APIs that are expanding
   the notifications to expandNotifications* collapseNotifications* to
   better convey what they do given that this change adds
   expandQuickSettings* and collapseQuickSettings*.
   Added a global action to the accessibility layer to expand the quick
   settings which is calling into the new status bar manager APIs.

bug:7030487

Change-Id: Ic7b46e1a132f1c0d71355f18e7c5a9a2424171c3
2012-09-25 16:07:59 -07:00
Michael Jurka
150443a99f Merge "Fix 7216870: recents relaunches dismissed activity" into jb-mr1-dev 2012-09-25 16:04:53 -07:00
Amith Yamasani
7585c8f39d am c33ad3be: am be47828f: Merge "Load resources for the correct user" into jb-mr1-dev
* commit 'c33ad3bec8c9670a2671b6217bdfc2b7bbe6e437':
  Load resources for the correct user
2012-09-25 15:53:43 -07:00
Amith Yamasani
98edc95171 Load resources for the correct user
For apps that are only installed on secondary users, the SystemUI is
unable to see them by default. Added some methods to explicitly pass the
userId of the user the resources are requested for by the StatusBarIcon

Bug: 7214384

Also fix binding to remote views

Bug: 7192802

Change-Id: I5d6c5f624aa37fb231f3467f9764c8d99077a91d
2012-09-25 15:45:27 -07:00