2846 Commits

Author SHA1 Message Date
Adam Powell
48a9d69313 am a4400148: am 521b011c: am b3419595: Merge "QuickSettings - fail gracefully if we can\'t query the profile data" into jb-mr1-dev
* commit 'a440014836a2cdd306f6f6748f71c922f45e0b20':
  QuickSettings - fail gracefully if we can't query the profile data
2012-10-07 23:44:12 -07:00
Daniel Sandler
de8e3b122b Merge "Fix NPE if pulling down QS quickly on very first boot." into jb-mr1-dev 2012-10-07 21:12:04 -07:00
Daniel Sandler
9d09824a66 Fix NPE if pulling down QS quickly on very first boot.
The cling interception code can interfere with the touch
stream to the point that PanelView might get an ACTION_UP or
_CANCEL without a corresponding ACTION_DOWN, causing
problems.

Bug: 7301742
Change-Id: Idd5074c2544b3238517655ab3c068966bae9f912
2012-10-07 23:27:30 -04:00
Daniel Sandler
33a8bd8c40 Merge "New icon for "Sleep now."" into jb-mr1-dev 2012-10-07 18:37:09 -07:00
Daniel Sandler
118f484424 Fix NPE on devices without notification panel help clings.
Bug: 7302657
Change-Id: Ia161ea2ef74ef1dfbab55dacaa7274ebc2d66439
2012-10-07 20:48:28 -04:00
Adam Powell
db43f4722d QuickSettings - fail gracefully if we can't query the profile data
Fix a bug where QuickSettings couldn't get the user info tile data
when starting up encrypted. Since the system will be restarted once
the password is entered, it will be loaded properly once unlocked.

Bug 7301192

Change-Id: I6455df1d2bc33d375a1af8f2efb42dbdeb38f056
2012-10-07 16:04:37 -07:00
Daniel Sandler
3d55e3c68f am f90b44df: am 40e262e0: am b8831168: Merge "Notification & settings panel help." into jb-mr1-dev
* commit 'f90b44df64d9cac5313cf9b6be7f1cef41610e10':
  Notification & settings panel help.
2012-10-07 13:57:08 -07:00
Daniel Sandler
b88311685c Merge "Notification & settings panel help." into jb-mr1-dev 2012-10-07 13:51:57 -07:00
Daniel Sandler
af3f32d9a4 New icon for "Sleep now."
Should only be shown in the docking intent chooser, but if
you use AnyCut to link to the Somnambulator you'll see it
there as well.

Bug: 7267723
Change-Id: I4be7572e4785f35b4ac1ad91d03a617d5d2fe3c1
2012-10-07 15:03:42 -04:00
Daniel Sandler
b17a726f2f Notification & settings panel help.
Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").

Bug: 7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
2012-10-07 14:48:24 -04:00
Adam Powell
02ff76c5d9 am fee7dded: am f94da061: am 786d1092: Merge "Quick settings user display and switching" into jb-mr1-dev
* commit 'fee7ddedc99e377002aa6a88c3e287cb6e6c405d':
  Quick settings user display and switching
2012-10-07 11:40:19 -07:00
Adam Powell
786d10921b Merge "Quick settings user display and switching" into jb-mr1-dev 2012-10-07 11:33:29 -07:00
John Spurlock
01b28579db am aca8cfc2: am 4101e035: am 7711260e: Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev
* commit 'aca8cfc29ad2876a87ba96cb029c5a7589e7ba76':
  Keep quick settings brightness icon/dialog level in sync.
2012-10-07 09:10:35 -07:00
John Spurlock
df52ac86f4 am 0ba37897: am db84d2cc: am fc6825b1: Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev
* commit '0ba37897e9ad5e0239dd73e69b43f8cb187b0700':
  Update quick settings wireless display tile per spec.
2012-10-07 09:10:31 -07:00
John Spurlock
7711260e49 Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev 2012-10-07 06:39:23 -07:00
John Spurlock
fc6825b1b7 Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev 2012-10-07 06:33:42 -07:00
John Spurlock
48f37ec8c9 Keep quick settings brightness icon/dialog level in sync.
We now listen for brightness changes and update the icon appropriately.
Note there are still only two icon states in QS (auto-on and auto-off).

We also listen for user switches, since the brightness setting is per-user.

The manual brightness level is now kept in sync with level set in Settings.

This change is tightly scoped to brightness only.  Any other
QS bugs should be triaged separately.

Bug:7283805
Change-Id: Ibaf8fe94e98f65cc02efe7fcddf4f38370fdb09f
2012-10-06 11:57:52 -04:00
Adam Powell
6f2a3d2982 Quick settings user display and switching
Load user information for the current user and display in quick
settings tile. Name is pulled from the contacts DB from the "Me"
profile, which will override the raw name on the system user if
needed.

Open the user switcher on the lock screen if this tile is clicked and
there is more than one user registered on the system. If there is only
one user, show the "Me" quick contact card.

Darken the background protection behind the user's name on the QS tile
layout so that it's readable against very light profile pic
backgrounds.

Bug 7175023
Bug 7257997

Change-Id: Ia1e7dd7af72dbd49113a827f9228e0a32e20a0dc
2012-10-05 22:36:13 -07:00
Craig Mautner
eef14894db am 51e461a9: am f630bd76: am 2874a540: Merge "Add flag for displaying non-user\'s Windows to user." into jb-mr1-dev
* commit '51e461a9853b534b3e62052923a3ea7e39a2e4c9':
  Add flag for displaying non-user's Windows to user.
2012-10-05 16:21:02 -07:00
Craig Mautner
2874a54068 Merge "Add flag for displaying non-user's Windows to user." into jb-mr1-dev 2012-10-05 16:14:12 -07:00
Craig Mautner
88400d3a31 Add flag for displaying non-user's Windows to user.
Created a new flag that indicates that a window should be shown
to all users. For the flag to be valid the owner of the window
must have system permissions.

Also separated system window types into those that show to all
users (e.g. StatusBar, Keyguard, ....) and those that appear only
to the owning users (e.g. Drag, ANR, TOAST, ...). Those that appear
only to their owner can override their default behavior using
the new flag (e.g. LowBattery).

Fixes bug 7211965.

Change-Id: I1fdca25d57b7b523f0c7f8bceb819af656c388d4
2012-10-05 15:29:25 -07:00
Baligh Uddin
8e6ad38b2a Import translations. DO NOT MERGE
Change-Id: I326376e7d107235007d0d2cba161ffebc6e69a61
Auto-generated-cl: translation import
2012-10-05 14:41:07 -07:00
Baligh Uddin
3ea5fc2ae6 Import translations. DO NOT MERGE
Change-Id: I9206f7e07e3ea7f6a8b90fa59989b4754a51f646
Auto-generated-cl: translation import
2012-10-05 14:39:16 -07:00
John Spurlock
01e2f4f522 Update quick settings wireless display tile per spec.
Bug:7178216
Change-Id: If917033930b0ba5a3ca0c7c8f574b069d5ecac6d
2012-10-05 17:33:31 -04:00
Daniel Sandler
a9a4eef71d am 42d696f6: am 5a824f4b: am 5b5d31b1: Merge "Lubricate a sticky notification panel." into jb-mr1-dev
* commit '42d696f6ce92524eaca13dbe057efd7aaca1ca57':
  Lubricate a sticky notification panel.
2012-10-05 10:04:52 -07:00
Daniel Sandler
7a03775e6e am fc3d5a1d: am a4b48330: am d7620196: Merge "Restore rubberbanding on initial pulldown." into jb-mr1-dev
* commit 'fc3d5a1d895bf8a0d6a1efcd7f2c46e99aba2499':
  Restore rubberbanding on initial pulldown.
2012-10-05 10:02:12 -07:00
Daniel Sandler
c38bbc391a Lubricate a sticky notification panel.
If the panel was left open when the screen was turned off,
in some cases it might get stuck in an "open" state (the
panel's expanded height would be nonzero) although the
status bar window is in fact fully collapsed (due to
makeExpandedInvisible). The next time the user would go to
open the panel, things would be in an inconsistent state and
the panel wouldn't come down (on phones, the settings panel
would be attempted, but still nothing would happen).

This was easiest to reproduce on the keyguard (turn on
screen, pull down panel, turn off screen).

Bug: 7260868
Change-Id: Iec0000ba020e5a519eb5b4d42ac273b6689a18bd
2012-10-05 12:21:38 -04:00
Daniel Sandler
a801f68624 Restore rubberbanding on initial pulldown.
Broken by change Id93d6a00.

Bug: 7286201
Change-Id: I4155076df09d548aa00ae3793f78e6c154cde5f1
2012-10-05 11:01:05 -04:00
Daniel Sandler
cccd6ada95 am 8b14fda4: am f7eef4e3: am 2a04e740: Merge "Updated clock hands for Quick Settings." into jb-mr1-dev
* commit '8b14fda4f36c86eaa8b4c9e072398d61228a26d7':
  Updated clock hands for Quick Settings.
2012-10-04 22:17:15 -07:00
Daniel Sandler
2a04e74097 Merge "Updated clock hands for Quick Settings." into jb-mr1-dev 2012-10-04 22:09:31 -07:00
Daniel Sandler
96b248affa Updated clock hands for Quick Settings.
Bug: 7281063
Change-Id: I03e7ca236c8cdc809e112e2e844a0006e73ab504
2012-10-05 01:07:07 -04:00
Baligh Uddin
7bfb48dda0 Merge "Import translations. DO NOT MERGE" 2012-10-04 21:54:18 -07:00
Baligh Uddin
b29088540b Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 21:53:02 -07:00
Daniel Sandler
ac377c849a am 3e78586d: am 689a55d8: am f5e2b2c2: Merge "DreamService API revisions." into jb-mr1-dev
* commit '3e78586db6ee28d5052fe9934104dec4c2e87f8b':
  DreamService API revisions.
2012-10-04 21:03:20 -07:00
Daniel Sandler
f5e2b2c26c Merge "DreamService API revisions." into jb-mr1-dev 2012-10-04 20:56:08 -07:00
Daniel Sandler
2d78490292 DreamService API revisions.
Reduce reliance on Service interface overrides, instead
steering clients to the DreamService-specific lifecycle
hooks:

  onAttachedToWindow .. onDreamingStarted ..
  onDreamingStopped .. onDetachedFromWindow

The old Dream.java is finally gone now too.

Bug: 7281802
Change-Id: Ib7802c3397fde60ad1132fa49831da182eef4d7a
2012-10-04 23:38:15 -04:00
John Spurlock
356340db55 am 9b7223a2: am 26f44a1d: am 3c008f26: Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev
* commit '9b7223a2d4fd8ad8d9009d863e96044dce43681a':
  Disable quick settings panel in setup wizard (user 0).
2012-10-04 13:19:15 -07:00
Baligh Uddin
f9b1b61702 Import translations. DO NOT MERGE
Change-Id: Ia2234c77193b64d5ff569215bd3c321ae452ef0c
Auto-generated-cl: translation import
2012-10-04 13:17:43 -07:00
Baligh Uddin
fb442c8398 Import translations. DO NOT MERGE
Change-Id: Ia8a06130c50c0d369a188f0b780399b51f998f3a
Auto-generated-cl: translation import
2012-10-04 13:16:23 -07:00
John Spurlock
3c008f26ca Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev 2012-10-04 13:13:01 -07:00
Daniel Sandler
1a93f5b3da am 5f784230: am 501ddf14: am c30b6da8: Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev
* commit '5f7842309ed09220d77296c055c9a62a17ad2368':
  Bring back the notification panel handle peek animation.
2012-10-04 12:48:07 -07:00
Daniel Sandler
c30b6da804 Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev 2012-10-04 12:41:41 -07:00
Daniel Sandler
0c1b75c17b Bring back the notification panel handle peek animation.
Bug: 7286201
Change-Id: Id93d6a00689ffb7f97e89af935460b1debec3850
2012-10-04 15:37:13 -04:00
Daniel Sandler
f15baefc96 am b94f8160: am 8b4b24b2: am 0a890b3c: Merge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev
* commit 'b94f8160cb9b35856b95bdbe15ac69915737ba04':
  Remove Start Dreaming^W^W Sleep Now 1x1 widget.
2012-10-04 12:29:04 -07:00
Daniel Sandler
0a890b3ce2 Merge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev 2012-10-04 12:14:15 -07:00
Daniel Sandler
7aa88f7aad Remove Start Dreaming^W^W Sleep Now 1x1 widget.
If you need its functionality for testing:

  $ adb shell am start -n com.android.systemui/.Somnambulator

Bug: 7267723
Change-Id: I9e0dd9d020e251d1ced4377329436ea46c3a8af5
2012-10-04 15:03:22 -04:00
Baligh Uddin
c5a4a02997 Merge "Import translations. DO NOT MERGE" 2012-10-04 11:02:16 -07:00
Baligh Uddin
b3f55fdef6 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 10:55:33 -07:00
John Spurlock
e4e8c5619c Disable quick settings panel in setup wizard (user 0).
Already fixed for additional users, but not the main user.

Bug:7285805
Change-Id: I1ab29470e23b0d06cd21919c72be72c092c86b2c
2012-10-04 09:55:01 -04:00
Chris Wren
09b1d04913 am 7ee2f9d9: am 02065846: am 6295ef32: Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev
* commit '7ee2f9d90e4e3b0926c4f4866652867920f057ef':
  hide the redundant clock when the notification shade is open.
2012-10-04 06:43:33 -07:00