Commit Graph

1431 Commits

Author SHA1 Message Date
Winson Chung
029bf7547d am 1178b6c8: am 1679b368: Adding brightness dialog to quick settings.
* commit '1178b6c8b17cbeffa9d89b51ec5cd87d312774ea':
  Adding brightness dialog to quick settings.
2012-09-10 20:25:13 -07:00
Winson Chung
f1e4048715 am 89f7cb24: am e641b6a9: Adding alarm to quick settings.
* commit '89f7cb24f2484ac90306a81fe0e17f65a45482c2':
  Adding alarm to quick settings.
2012-09-10 20:23:32 -07:00
Winson Chung
1679b36800 Adding brightness dialog to quick settings.
Change-Id: I81f640138057c26320d41f70c7f47a518fc1bd4a
2012-09-10 20:20:22 -07:00
Winson Chung
e641b6a99c Adding alarm to quick settings.
- Cleaning up some code

Change-Id: Iaea2077084ba16b4fb4d47c8b2df5da6983ceb91
2012-09-10 20:20:03 -07:00
Christopher Tate
aba94657fa am ee370ae1: am 4e2eb658: Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev
* commit 'ee370ae1f6ddaba7e7aa8a61a5566d1b4e894ced':
  Update airplane-mode manipulation for the new Settings namespace
2012-09-10 17:25:19 -07:00
John Spurlock
77b910b460 am 658c77cc: am 2323ec7e: Merge "Notifications: Hide ticker updates from background users." into jb-mr1-dev
* commit '658c77cc32bddf096bcc8528ba186b4105ddd2e1':
  Notifications: Hide ticker updates from background users.
2012-09-10 17:14:36 -07:00
Jeff Brown
b4cf2d1b89 am 125fce70: am 3e6d426d: Merge "Handle case where user info might not be available." into jb-mr1-dev
* commit '125fce70669d76fdbbf3c44c18d04c7ba3e160d1':
  Handle case where user info might not be available.
2012-09-10 17:12:43 -07:00
Jeff Brown
a804691c40 am 092d330d: am fdb5bd26: Merge "Disable wifi display API when the adapter is not registered." into jb-mr1-dev
* commit '092d330d025ebf4250024983a8b280d21d47c71f':
  Disable wifi display API when the adapter is not registered.
2012-09-10 17:11:41 -07:00
Jeff Brown
4681b76366 am 5eeb313e: am e168edb5: Merge "Add skeleton Wifi-Display tile in QS." into jb-mr1-dev
* commit '5eeb313e7c9e72c34d5dc74ef6c19d85d3d71311':
  Add skeleton Wifi-Display tile in QS.
2012-09-10 17:10:52 -07:00
Winson Chung
7c5dd6271f am 7901c801: am a4a2bee7: Merge "Initial changes to add QuickSettings." into jb-mr1-dev
* commit '7901c80164dd23094f1a110142a55fe740c2a670':
  Initial changes to add QuickSettings.
2012-09-10 17:10:23 -07:00
Christopher Tate
c09cdce1b0 Update airplane-mode manipulation for the new Settings namespace
Quick Settings and global actions (aka longpress-Power) toggles are
included in this CL.  The Settings app manipulations are updated in
a different CL because that's a different git package.

Bug 7132230

Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
2012-09-10 16:50:57 -07:00
John Spurlock
61e36836b7 Notifications: Hide ticker updates from background users.
We should only update the notification ticker area when
the notification is for the current user.

Bug:6924835
Change-Id: Ieaccbd8c972b3d0f62c74d29d42e0fa77ec3148c
2012-09-10 09:43:27 -04:00
Jeff Brown
7a8cce3d8a Handle case where user info might not be available.
The CursorLoader can return a null cursor if the query
failed for some reason.  This may happen in certain states
where the provider is not available.

Bug: 7133411
Change-Id: Id7b383bca45a61bc8726ba9f6115cbbc07e5d0b4
2012-09-09 17:26:50 -07:00
Jeff Brown
21c7153d30 Disable wifi display API when the adapter is not registered.
Bug: 7132341
Change-Id: I46d859082077afd2c8adc829ad285977dff80d07
2012-09-09 13:28:04 -07:00
Jeff Brown
508257bdfc Add skeleton Wifi-Display tile in QS.
Pop up a little dialog when the tile is touched with options
to connect, scan and disconnect.

Change-Id: Ic9e28344899310692ace36c322974df175f82e08
2012-09-08 23:15:12 -07:00
Winson Chung
d63c597865 Initial changes to add QuickSettings.
Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
2012-09-08 15:55:31 -07:00
Daniel Sandler
1301c0d598 am 5caa987e: am 40e86a56: Merge "New "Start dreams" launcher shortcut." into jb-mr1-dev
* commit '5caa987e1042b8e63ae656b0b97c8f7b63b3caad':
  New "Start dreams" launcher shortcut.
2012-09-06 11:10:10 -07:00
Daniel Sandler
32f6fd55b1 New "Start dreams" launcher shortcut.
Change-Id: Ice46fc8b99dae615e421ccf4eb6ca6f2a76cbe5f
2012-09-06 11:52:10 -04:00
Daniel Sandler
213a19fb31 am 56f97a9b: am fd5494b8: Merge changes I4ef284da,Ie8cc69bd into jb-mr1-dev
* commit '56f97a9b5933d20ae8c73a3f2671c3a37303c74d':
  Make the SystemUI stop the screen saver when a full-screen notification is posted.
  Do not play sounds or vibes for background users' notifications.
2012-09-05 12:44:17 -07:00
Daniel Sandler
fd5494b8ef Merge changes I4ef284da,Ie8cc69bd into jb-mr1-dev
* changes:
  Make the SystemUI stop the screen saver when a full-screen notification is posted.
  Do not play sounds or vibes for background users' notifications.
2012-09-05 12:38:25 -07:00
Daniel Sandler
5bcfbcd5b1 am d8893d93: am 5a426f6c: Merge "Full-height panels on phones." into jb-mr1-dev
* commit 'd8893d931dce9149690d379bbb768f948ad1e25e':
  Full-height panels on phones.
2012-09-05 09:38:35 -07:00
Daniel Sandler
5a426f6c4a Merge "Full-height panels on phones." into jb-mr1-dev 2012-09-05 09:33:50 -07:00
Daniel Sandler
bf526d14f3 Full-height panels on phones.
The dynamic carrier label is also back for those devices.

Finally, allow the panel to be dragged just by touching the
(newly reopened) empty area.

Bug: 6999596
Change-Id: I65f2867f1bd1977270de0bcedd32cb7141fcb6b1
2012-09-05 10:36:02 -04:00
Michael Jurka
3f5d375796 am 447e03f5: am 78770167: Merge "Fixing preloading recents for all devices" into jb-mr1-dev
* commit '447e03f5e123daafb3a4f8d9684e92d86ad963ab':
  Fixing preloading recents for all devices
2012-09-05 05:50:30 -07:00
Michael Jurka
78770167ce Merge "Fixing preloading recents for all devices" into jb-mr1-dev 2012-09-05 05:45:51 -07:00
Michael Jurka
c7a27d0775 am adc1cc60: am 881f0b1e: Remove unneeded imports
* commit 'adc1cc60f71ba4f1a238f10bf6dafb15dcaed069':
  Remove unneeded imports
2012-09-05 05:41:42 -07:00
Daniel Sandler
c9ce0abe29 Make the SystemUI stop the screen saver when a full-screen notification is posted.
This keeps all the fullScreenIntent logic (including
multiuser implications) in one place.

Change-Id: I4ef284daf90464f105780ade1d971e9e081fbbb5
2012-09-05 08:41:07 -04:00
Michael Jurka
d0d4bb8459 Fixing preloading recents for all devices
- Fixed for tablets and phones with hard nav buttons

Change-Id: I1dc2249376b3f376c283598f5cef6e326b191ace
2012-09-05 05:39:16 -07:00
Michael Jurka
881f0b1ee0 Remove unneeded imports 2012-09-05 04:44:59 -07:00
Michael Jurka
9cfe259967 am 917698d9: am 84819804: Merge "Porting old code for min alpha for items in recents" into jb-mr1-dev
* commit '917698d992b8c057e8ae53a197372542df936e2f':
  Porting old code for min alpha for items in recents
2012-09-05 03:45:00 -07:00
Michael Jurka
8481980495 Merge "Porting old code for min alpha for items in recents" into jb-mr1-dev 2012-09-05 03:40:15 -07:00
Michael Jurka
049eda744c am adaffc14: am a1730fa4: Merge "Debug code for window transition crash" into jb-mr1-dev
* commit 'adaffc14ecc4bdf6027677b738e65efda8548c64':
  Debug code for window transition crash
2012-09-05 03:20:10 -07:00
Michael Jurka
a1730fa4f1 Merge "Debug code for window transition crash" into jb-mr1-dev 2012-09-05 03:09:11 -07:00
Daniel Sandler
3079a28e53 am f1218217: am e32bb6c9: Merge "Only show the BeanFlinger screensaver to the worthy." into jb-mr1-dev
* commit 'f121821772339ddcaaa8204b94869063702ee246':
  Only show the BeanFlinger screensaver to the worthy.
2012-09-04 12:35:02 -07:00
Daniel Sandler
e32bb6c9c6 Merge "Only show the BeanFlinger screensaver to the worthy." into jb-mr1-dev 2012-09-04 12:29:04 -07:00
Michael Jurka
adf0b21590 Porting old code for min alpha for items in recents
Change-Id: I68dce175b3a2c0263c5df1ef787c28d6c622e879
2012-09-04 05:15:26 -07:00
Michael Jurka
a4dd30174d Debug code for window transition crash
https://b.corp.google.com/7060284

- Throw exception before we try to start window
transition with null thumb
- also remove some old unneeded debug code

Change-Id: Ic9693372724cbfaa4c4cb2594128ca10677d9d8f
2012-09-04 03:52:16 -07:00
Dianne Hackborn
37f5ec2a21 am 9b52f007: am 2701f325: Merge "Remove Binder.getOrigCallingUid()." into jb-mr1-dev
* commit '9b52f0071780160355376484a3992d2710160a3f':
  Remove Binder.getOrigCallingUid().
2012-08-31 16:28:41 -07:00
Dianne Hackborn
4120375d46 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
2012-08-31 15:11:13 -07:00
Daniel Sandler
0bcf4adcde 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
2012-08-31 16:18:31 -04:00
Daniel Sandler
c89a553739 am b5ad2fc3: am 8c890f8a: Merge "Work around instability of Display.getRotation()." into jb-mr1-dev
* commit 'b5ad2fc376bec612e21a702ecae6d86ab0eca5fb':
  Work around instability of Display.getRotation().
2012-08-31 12:13:50 -07:00
Daniel Sandler
8c890f8a69 Merge "Work around instability of Display.getRotation()." into jb-mr1-dev 2012-08-31 12:06:42 -07:00
Daniel Sandler
7f3cf9586e 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
2012-08-31 14:58:13 -04:00
Dianne Hackborn
7cd1bfa801 am f59dfc81: am 73365695: Merge "Improve multi-user broadcasts." into jb-mr1-dev
* commit 'f59dfc81f4d1e91aa436ed70d7f8372bce3d91e0':
  Improve multi-user broadcasts.
2012-08-30 15:01:28 -07:00
Dianne Hackborn
73365695e4 Merge "Improve multi-user broadcasts." into jb-mr1-dev 2012-08-30 14:56:11 -07:00
Dianne Hackborn
5ac72a2959 Improve multi-user broadcasts.
You can now use ALL and CURRENT when sending broadcasts, to specify
where the broadcast goes.

Sticky broadcasts are now correctly separated per user, and registered
receivers are filtered based on the requested target user.

New Context APIs for more kinds of sending broadcasts as users.

Updating a bunch of system code that sends broadcasts to explicitly
specify which user the broadcast goes to.

Made a single version of the code for interpreting the requested
target user ID that all entries to activity manager (start activity,
send broadcast, start service) use.

Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
2012-08-30 14:33:22 -07:00
Daniel Sandler
f72705725b am 7c1aa7f9: am 0dd248ea: Merge "Turn off deadzone flash, replacing it with logcat." into jb-mr1-dev
* commit '7c1aa7f99d0db69b88c75954dc14eff99704f844':
  Turn off deadzone flash, replacing it with logcat.
2012-08-30 14:18:07 -07:00
Daniel Sandler
25bb8eec2d Turn off deadzone flash, replacing it with logcat.
Change-Id: I30db97e5c3a6ef3a06e6065ccf087a7f6d1f9286
2012-08-30 17:10:50 -04:00
Daniel Sandler
ac49e58445 am 4615695e: am 8601e8b3: Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev
* commit '4615695e49593dc10ad27204dfb93add2d2d5a4c':
  Expand the navbar dead zone briefly after touches elsewhere.
2012-08-29 20:34:36 -07:00
Daniel Sandler
8601e8b3ab Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev 2012-08-29 20:29:28 -07:00