3833 Commits

Author SHA1 Message Date
Baligh Uddin
5aeda6a255 Merge "Import translations. DO NOT MERGE" 2012-10-08 08:23:01 -07:00
Daniel Sandler
e45155297e am 5fd8cd3e: am bb1c1d36: am de8e3b12: Merge "Fix NPE if pulling down QS quickly on very first boot." into jb-mr1-dev
* commit '5fd8cd3e1981ae248ad609a17f88df4b4fd4a159':
  Fix NPE if pulling down QS quickly on very first boot.
2012-10-07 23:44:31 -07:00
Daniel Sandler
47c9118fb5 am 7dc4c4be: am 60e8ff6d: am 33a8bd8c: Merge "New icon for "Sleep now."" into jb-mr1-dev
* commit '7dc4c4be1601f5e201761e34e9db440dda7ebd6d':
  New icon for "Sleep now."
2012-10-07 23:44:27 -07:00
Daniel Sandler
34a24c3f0b am 7ca4861f: am 969e8d52: am 118f4844: Fix NPE on devices without notification panel help clings.
* commit '7ca4861f144f99ad8b9ba91dd48cdf2d189a2341':
  Fix NPE on devices without notification panel help clings.
2012-10-07 23:44:16 -07:00
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
Christopher Tate
ec12c3abd1 am 055aa56f: am 0c177a8f: am 73755c95: Merge "Fix settings restore" into jb-mr1-dev
* commit '055aa56ff3df224aee75366a055b1acae05e7450':
  Fix settings restore
2012-10-05 15:30:52 -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
Christopher Tate
73755c95ff Merge "Fix settings restore" into jb-mr1-dev 2012-10-05 15:24:06 -07:00
Christopher Tate
3543beb255 Fix settings restore
Now with more fix.

Bug 7249405

Change-Id: Ib8bc2e9c5b054054f4aaacf14af8d5a0d05d6e3a
2012-10-05 15:01:42 -07:00
Christopher Tate
f2764abdea am ba074a59: am 3c9376b3: am d0f19930: Merge "Make sure settings writes are permission checked correctly" into jb-mr1-dev
* commit 'ba074a592add1f027c1fb9f629142622d7c5b695':
  Make sure settings writes are permission checked correctly
2012-10-05 14:52:57 -07:00
Christopher Tate
d0f199308e Merge "Make sure settings writes are permission checked correctly" into jb-mr1-dev 2012-10-05 14:46:01 -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
John Spurlock
01e2f4f522 Update quick settings wireless display tile per spec.
Bug:7178216
Change-Id: If917033930b0ba5a3ca0c7c8f574b069d5ecac6d
2012-10-05 17:33:31 -04:00
Christopher Tate
61695ffcbc Make sure settings writes are permission checked correctly
The last bit of undoing the earlier tangle around query results having
observers under the calling user's identity.  We do *not* want to drop
calling identity in the call() processing; we want the table-based
permission checks at the point of the underlying db operations to be
performed against that identity.

Bug 7265610

Change-Id: Ie0c9331ebd0918262a0a32b5b03b876fc2a92ca3
2012-10-05 12:05:13 -07:00
John Spurlock
91ee32504b am ed332658: am 5db47e38: am fcfd3e68: Merge "Fix upgrade case for Settings.Secure.USER_SETUP_COMPLETE." into jb-mr1-dev
* commit 'ed332658df2f7a89961842b560242cc6b859bd4b':
  Fix upgrade case for Settings.Secure.USER_SETUP_COMPLETE.
2012-10-05 10:38:13 -07:00
John Spurlock
fcfd3e68ab Merge "Fix upgrade case for Settings.Secure.USER_SETUP_COMPLETE." into jb-mr1-dev 2012-10-05 10:31:05 -07: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
5b5d31b19b Merge "Lubricate a sticky notification panel." into jb-mr1-dev 2012-10-05 09:58:12 -07:00
Daniel Sandler
d7620196e5 Merge "Restore rubberbanding on initial pulldown." into jb-mr1-dev 2012-10-05 09:56:20 -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
John Spurlock
7f1c248e80 Fix upgrade case for Settings.Secure.USER_SETUP_COMPLETE.
Existing primary users were never being marked as complete,
causing things that relied on this (e.g. showing the quick settings panel)
to break.

Bug:7282088
Change-Id: I9c8622f3cd0fb99a44477946d3db22fa2cbbc6fc
2012-10-05 11:45:18 -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
Jeff Hamilton
2dd1816661 am 69813a0d: am 7fe70683: am 20de160c: Revert "Changes to support updating location providers."
* commit '69813a0db10d7c64ed93a2871028a79052c9950f':
  Revert "Changes to support updating location providers."
2012-10-05 00:55:52 -07:00
Jeff Hamilton
20de160ca3 Revert "Changes to support updating location providers."
This reverts commit c19efc204aee1f0f3164dc21bd2ef3fdd4259c71.
2012-10-05 02:32:52 -05: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