6020 Commits

Author SHA1 Message Date
Dianne Hackborn
aec68bb89f Fix issue #17038762: Add API to add entries to the recents list
New API Added to ActivityManager for adding an entry.  See docs
there.

Repercussions:

- I hit a bug in system UI where if the thumbnail has alpha, it tries
  to modify it, but thumbnails are loading immutable so crashes.  Fixed
  this by loading the bitmaps to be mutable.
- Improved dump output of recents; there was a lot of stuff missing.
  Also split the recents dump output from the rest of the activity
  output, since it can be really large.
- Added tests to the lovely ActivityTest app.

Bonus: new method on AppTask to control the exclude from recents flag.

Change-Id: I01e543db4d15320ee1701e95872fef73c116526c
2014-08-20 18:03:43 -07:00
Jeff Davidson
05542603dd Less intrusive VPN dialog and other UX tweaks.
-The ability to launch VPNs is now sticky; once approved by the user,
further approvals are not needed UNLESS the connection is revoked in
Quick Settings.

-The old persistent notification has been removed in favor of the new
Quick Settings UI.

-The name of the VPN app is now pulled from the label of the VPN
service rather than the app itself, if one is set.

Bug: 12878887
Bug: 16578022
Change-Id: I102a14c05db26ee3aef030cda971e5165f078a91
2014-08-20 16:55:28 -07:00
Jorim Jaggi
8fbcaacdda Merge "Accessibility actions for lock/phone/camera icon" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
b2e104f8a2 Accessibility actions for lock/phone/camera icon
Bug: 15859203
Change-Id: I02c988f4ed985e4381321aeca89cdfee68f44697
2014-08-21 01:16:18 +02:00
John Spurlock
c2c8242194 Merge "Volume: Shave 12dp off of the volume dialog." into lmp-dev 2014-08-16 04:03:42 +00:00
Adrian Roos
4a4101714d Only show face unlock indication if it applies
When trust is not managed or the indication is set for
a different than the current user, don't show it on the
lock screen.

Bug: 17034124
Change-Id: Ia470520d6bd05db8417b3b0bb1f55894f791554e
2014-08-20 19:54:21 +00:00
John Spurlock
4e3eb1a2d3 Volume: Shave 12dp off of the volume dialog.
Bug:17004538
Change-Id: If1eb12a2bd4035b971347a27d000f90f8a2361a2
2014-08-20 15:54:19 -04:00
Christian Robertson
46a8f45253 Merge "Updated set of geometric navigation bar icon assets" into lmp-dev 2014-08-20 18:43:12 +00:00
Christian Robertson
5455aa0f7b Updated set of geometric navigation bar icon assets
Bug: 15981688
Change-Id: Id56cafc17aaf86cd3ce1cc125197fa0ce86ab56b
2014-08-20 13:21:18 +00:00
RoboErik
47a7d247ef Merge "Api updates to MediaSession components" into lmp-dev 2014-08-19 02:43:23 +00:00
RoboErik
d2b8c947dd Api updates to MediaSession components
-renames get/setBufferPosition to get/setBufferedPosition
-renames getLaunchActivity to getSessionActivity
-adds doc link to setVolumeTo flags param
-renames setLaunchActivity to setSessionActivity
-hides setMediaRouter
-moves PLAYBACK_TYPE_ constants to MediaController.AudioInfo
-adds addOnActiveSessionsChangedListener version with a handler parameter
-renames AudioInfo to PlaybackInfo

bug:17114404
Change-Id: I0fbfe4eb979cb2af98e3f13095c654bb131f7ae5
2014-08-20 10:05:06 -07:00
Jorim Jaggi
730e9bceb7 Merge "Make alarm invisible when going to detail in QS" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
aa6c364082 Make alarm invisible when going to detail in QS
Bug: 17058346
Change-Id: Id93eb150582799a3e258c839c056e0fa38259424
2014-08-20 16:59:51 +02:00
Jorim Jaggi
fe9c0a58aa Merge "Don't allow to scroll to QS if not provisioned" into lmp-dev 2014-08-16 04:36:37 +00:00
Jorim Jaggi
18bd04fdfe Don't allow to scroll to QS if not provisioned
Bug: 15593900
Change-Id: I54ae38f7f2c82e26b859ba7b7b3a5e096e18289e
2014-08-20 15:00:36 +02:00
Jorim Jaggi
3bf37725bd Merge "Fix accessibility actions for navigation bar" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
7beadfc714 Fix accessibility actions for navigation bar
Because we handle touch events with custom code, we also need to
handle accessibiltiy correctly.

Bug: 15938266
Change-Id: I186807b7349881a5f0804d7452974cc3c3a8a160
2014-08-20 14:51:06 +02:00
Selim Cinek
255dd04271 Added notification color to all system notifications
Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
2014-08-20 14:25:18 +02:00
John Spurlock
7fa31601a6 Merge "Copy framework internal resources for indeterminate anim." into lmp-dev 2014-08-20 12:26:29 +00:00
John Spurlock
06b7b61352 Copy framework internal resources for indeterminate anim.
Bug:14622065
Change-Id: Icfe4df5b01f342b7d3dc792e03391dc764abd59b
2014-08-20 11:44:45 -04:00
Adrian Roos
fd3b324feb Merge "Implement trust managed visuals" into lmp-dev 2014-08-16 04:29:45 +00:00
Adrian Roos
2e3ccbb37e Implement trust managed visuals
Updates the trust managed indicator to match the
speced visuals and behavior.

Bug: 15519687
Change-Id: I2be04e8b37f3b5d9865ae4d25b46222cafadd113
2014-08-20 18:54:25 +02:00
Jorim Jaggi
163676496b Merge "Remove battery color when in power save" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
708f7721e9 Remove battery color when in power save
Also changes to color to our consistent warning color.

Bug: 16849393
Change-Id: I71737c1b7c18af569b5f4e957b006db579266cd1
2014-08-20 20:54:02 +02:00
Selim Cinek
d88c24ef9f Merge "Announcing quick settings changes now via talkback" into lmp-dev 2014-08-16 04:36:39 +00:00
Selim Cinek
4fda7b2d97 Announcing quick settings changes now via talkback
All tiles now report when their state changes due
to a user clicking on it. Also cleaned up some accessibility
strings.

Bug: 15682239
Change-Id: Ide97fb97a0253618db206562573dadd0036dab45
2014-08-20 18:58:08 +02:00
Jeff Brown
184926239b Use the CAST_SETTINGS activity for Cast Screen / More Settings.
Change-Id: Ifc2e505896ecf17ac2d0d24a3fec07c10d604448
2014-08-19 20:08:52 -07:00
Jorim Jaggi
2d268f3508 Merge "Don't close panel when in QS and all notifications go away" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
ba94f883c3 Don't close panel when in QS and all notifications go away
Bug: 16988161
Change-Id: Icd21f5ce4b7485c8a83616276b47ea1b08553c21
2014-08-20 19:23:55 +02:00
Jorim Jaggi
684c772ddd Merge "Fix crash when reset() gets called during an animation" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
0d9f35d1d8 Fix crash when reset() gets called during an animation
Bug: 17058023
Change-Id: I2ed77b49c4daf1790e43f74a274054618e378b40
2014-08-20 17:08:44 +02:00
Jorim Jaggi
909cb49a10 Merge "Fix QS expansion weirdness #2" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
b7a3303f80 Fix QS expansion weirdness #2
Bug: 17138703
Bug: 17047680
Change-Id: I4058d9a2e349c4a52ab167638471a1eb11753380
2014-08-20 16:21:36 +02:00
Jason Monk
9b4d6dd3db Merge "Add hotspot tile to defaults" into lmp-dev 2014-08-16 04:03:42 +00:00
Jason Monk
15eb388fc5 Add hotspot tile to defaults
So that it can show up on devices.

Bug: 17151619
Change-Id: I9fe8697dfa099ede3b17098b85beecaaed656ecf
2014-08-20 10:23:48 -04:00
Winson Chung
dd7930354a Merge "Adding shadows to the focus state and fab button. (Bug 16950262)" into lmp-dev 2014-08-16 04:03:42 +00:00
Winson Chung
f95c7f5727 Adding shadows to the focus state and fab button. (Bug 16950262)
- Fixing regression where we weren't resetting the dim colors properly.

Change-Id: Ib95cc96d40f80bc22b7ecd7c816d5cbaa9b592c5
2014-08-19 20:45:37 +00:00
Winson Chung
abedcab44c Small tweaks to the stack curve and header transition. (Bug 16656169)
Change-Id: I96120063a66f267ad0b6a39b3dd020bc030083b8
2014-08-19 20:45:36 +00:00
Amith Yamasani
7376a44b57 Merge "Rephrase the Exit guest action and dialog text" into lmp-dev 2014-08-19 02:43:23 +00:00
Amith Yamasani
e5b274ac61 Rephrase the Exit guest action and dialog text
Exiting guest session -> Removing guest?
Buttons = Cancel / Remove

Bug: 16495144

Change-Id: I3952e0818fa03edff6f9131a32e6469cbaa27b85
2014-08-18 21:01:22 +00:00
RoboErik
a66c40bf6e Update MediaSession APIs for council feedback
-Changes MediaSessionManager.SessionsListener to OnActiveSessionsChangedListener
and makes it an interface.
-Renames MediaController.VolumeInfo to MediaController.AudioInfo
-Renames MediaSession.Track to MediaSession.Item

bug:17059552
Change-Id: I3a0b4371700ad6657972c312a5ab89ddfac6df5b
2014-08-19 17:12:42 +00:00
John Spurlock
9a888b9be1 Merge "QS: Add scanning progress state indication." into lmp-dev 2014-08-16 04:32:18 +00:00
John Spurlock
465cefa1a2 QS: Add scanning progress state indication.
- Create a modified version of the new platform horizontal
indeterminate progress indicator, and align it to the bottom
of the header.
- Ensure the scanning state takes the active detail panel into
account.

Bug:16145178
Change-Id: I7f80c458ff6565aa00085da9059a4e9fe7e49233
2014-08-16 10:54:24 -04:00
John Spurlock
fc12e6f1da Merge "Revert workaround for network limit dialog." into lmp-dev 2014-08-16 04:32:18 +00:00
John Spurlock
169126bf4d Revert workaround for network limit dialog.
Restore the window type now that it no longer crashes.

This reverts https://googleplex-android-review.git.corp.google.com/#/c/527371/

Bug:17102499
Change-Id: Ifb93a959a693b5925712ae82192c80790b6aefb1
2014-08-19 12:40:02 -04:00
John Spurlock
3eccbc270d Data usage limit strings + icon changes.
- Change notification icon + text.
- Change QS detail overlimit title.

Bug:17042440
Change-Id: I45ebd82c3e676ec265f29b778605444ae4a1c4f1
2014-08-19 10:25:47 -04:00
Jason Monk
a0efbdf204 Merge "Update the QS footer from UI thread" into lmp-dev 2014-08-16 04:03:42 +00:00
Jason Monk
b1c2f3bb10 Update the QS footer from UI thread
Bug: 17070248
Change-Id: I0d72ce6e137f42ad321b3fd6b10b9a5f35ca7801
2014-08-20 10:55:53 -04:00
John Spurlock
86c3de81ea PowerUI: Remove the fallback dialogs.
- Low battery notifications are now always notifications, even
  if not HUNs.
- Remove obsolete dialogs used only as HUN fallbacks.
- Extend the default HUN timeout to 10 seconds and remove the
  ongoing hack for the warning notification.

Bug:17070231
Change-Id: I29069c3d90dcca6f9bce512e5a0ccbd983704de5
2014-08-20 10:54:25 -04:00
John Spurlock
03374ccc4c Merge "QS: Enhance color inversion tile usage detection." into lmp-dev 2014-08-16 04:03:42 +00:00