5923 Commits

Author SHA1 Message Date
Svetoslav
07aebe7b4a am f287eb85: Polish of the app widgets cross-profiles feature.
* commit 'f287eb8530ed5b5675af0e8af339e0839816bc0a':
  Polish of the app widgets cross-profiles feature.
2014-08-07 00:22:36 +00:00
Svetoslav
c71c42fdb2 Polish of the app widgets cross-profiles feature.
1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
   returning a badged drawable. The methods to load the icon and the
   preview are now just making it easier for a developer to get the
   drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
   is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
   package name and having code paths where the cached value was not
   populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
2014-08-07 00:12:27 +00:00
Dan Sandler
0442d87b76 am 0de274ff: Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
* commit '0de274ff3ca737eb8945a0653948205ddccff5a6':
  Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
2014-08-06 18:05:52 +00:00
Dan Sandler
52e5701eea Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5
2014-08-06 18:00:53 +00:00
Brian Colonna
ef7672bb9f am 92376c7b: Merge "Bug 16147163: Secure camera can now be launched with FUL running" into lmp-dev
* commit '92376c7bff044e65c93af483effb2bae1ce9160a':
  Bug 16147163: Secure camera can now be launched with FUL running
2014-08-06 16:11:55 +00:00
Jorim Jaggi
de701435ce am 9e4e75a4: Merge "Implement face unlock running indicator on Keyguard." into lmp-dev
* commit '9e4e75a4d05ce60b423c52889d6f6f19119a0847':
  Implement face unlock running indicator on Keyguard.
2014-08-06 14:55:09 +00:00
John Spurlock
8c42c9d042 am 2b49eae5: Merge "Zen: Show subhead for Indefinitely." into lmp-dev
* commit '2b49eae54ae1901b965b994174d3999206985533':
  Zen: Show subhead for Indefinitely.
2014-08-06 14:41:54 +00:00
John Spurlock
03d705be27 am ceb386e1: Merge "PowerUI: Remove notification action icons." into lmp-dev
* commit 'ceb386e19a7fe638f9f7dd8faca81dc034f646ab':
  PowerUI: Remove notification action icons.
2014-08-06 14:24:41 +00:00
Jason Monk
bdae529e77 am 3272a9d6: Turn off/on wifi to correspond with hotspot
* commit '3272a9d615782532468d582669351b024f4bf868':
  Turn off/on wifi to correspond with hotspot
2014-08-06 13:07:16 +00:00
Jason Monk
256a22663d Turn off/on wifi to correspond with hotspot
Add logic to act the same way Settings does.  Without this sometimes
wifi is in the wrong state (on) and the hotspot wont turn on.

Bug: 16818232
Change-Id: Iaa7950a1c2097cfd798eddb604b49b3a152f1260
2014-08-06 13:04:06 +00:00
Winson Chung
061e315cea am 244ea328: Fixing issue where home was triggered on top of other activities being launched. (Bug 16823617)
* commit '244ea328ca503b4c77d911df3955ad5c20622d94':
  Fixing issue where home was triggered on top of other activities being launched. (Bug 16823617)
2014-08-06 01:17:57 +00:00
Jorim Jaggi
9870d04d09 am a6d43996: Fix more card on Keyguard overflow.
* commit 'a6d4399698e598930d6d37fcb4bb2dfaf2f88ffe':
  Fix more card on Keyguard overflow.
2014-08-06 01:17:13 +00:00
Jorim Jaggi
82e55f68b0 am e1ca69d3: Fix pressed state when long pressing nav bar buttons
* commit 'e1ca69d31e11b4279c5e2a84841bc7e99041b02e':
  Fix pressed state when long pressing nav bar buttons
2014-08-06 01:17:09 +00:00
Winson Chung
cdcd487aba Fixing issue where home was triggered on top of other activities being launched. (Bug 16823617)
- Also fixes issue with the Recents hide message being clobbered
2014-08-06 01:02:15 +00:00
Jorim Jaggi
1328569d33 Fix more card on Keyguard overflow.
Bug: 15719165
Change-Id: Ie1e99dd722d7fcd52c0ce2eda968885835004b2b
2014-08-05 23:37:31 +00:00
Jorim Jaggi
5eb4c19043 Fix pressed state when long pressing nav bar buttons
Bug: 16018025

Change-Id: Ic2bc96feae8a68e471fe902ae05611719ecf8dad
2014-08-05 23:13:40 +00:00
Jorim Jaggi
7e0ba7a4b2 am 9e4cd23c: Allow closing the whole panel when QS is open
* commit '9e4cd23c720bbec25b11c82441807eafc809958e':
  Allow closing the whole panel when QS is open
2014-08-05 23:05:32 +00:00
Jorim Jaggi
84ea430c77 am e30c6958: Edge swipes should also dismiss notifications
* commit 'e30c69580a0573578a84a21967ae6fd6bd0f2032':
  Edge swipes should also dismiss notifications
2014-08-05 23:05:28 +00:00
Jorim Jaggi
e0640dd524 Allow closing the whole panel when QS is open
If the user drags below the notifications, we close everything. Only
implemented for the SHADE, and not on Keyguard because of
time constraints.

Bug: 15414856
Change-Id: I4cf656484bc1217d552211c2bfdd7598eb52dad7
2014-08-05 23:01:56 +00:00
Jorim Jaggi
28f0e59329 Edge swipes should also dismiss notifications
To prevent falsing with phone/camera affordance.

Bug: 16571057
Change-Id: I5da5efc5529af8211357b556f1db4858e8775e05
2014-08-05 23:01:34 +00:00
John Spurlock
038fd0ecbc am 5af0c665: Merge "AudioService: getMasterStreamType -> RING on tablets." into lmp-dev
* commit '5af0c66539e70c7b87a4aa3f5606bba2abff2b8c':
  AudioService: getMasterStreamType -> RING on tablets.
2014-08-05 22:57:20 +00:00
RoboErik
793dfe1652 am 23d078e3: Add display metadata and change strings to CharSequences
* commit '23d078e3bdae5760070cae254be543884c79a8b9':
  Add display metadata and change strings to CharSequences
2014-08-05 21:36:52 +00:00
RoboErik
75847b98f3 Add display metadata and change strings to CharSequences
This adds some fields for display purposes to MediaMetadata and also
makes the default for all text CharSequence instead of String. Also
adds a hidden method for getting a Description for the metadata.

bug: 11708293
Change-Id: I0ed58d9ac3aeff41325c4ccf5fed0539bbf03b4d
2014-08-05 14:30:27 -07:00
Jorim Jaggi
cb21fe9da7 am eb620ff6: Fix not being able to dismiss panel with single tap
* commit 'eb620ff614ed94d06a3f8395b4b873f30aeb5a08':
  Fix not being able to dismiss panel with single tap
2014-08-05 19:30:59 +00:00
Jorim Jaggi
4e421c01cd am 55328ffd: Navbar scrim when in QS
* commit '55328ffd74ad65e9ae0053f09751911f09ae5b85':
  Navbar scrim when in QS
2014-08-05 19:26:57 +00:00
Jorim Jaggi
488b792eee Fix not being able to dismiss panel with single tap
Bug: 16562847
Change-Id: Ic409b9dd23df7e79a20b83a8a63eaaf1f76b3dd0
2014-08-05 19:26:13 +00:00
Jorim Jaggi
dd5b88684d Navbar scrim when in QS
Bug: 16644711
Change-Id: I91d823671919068500a29878f3dfe9b481000a58
2014-08-05 19:22:53 +00:00
Jorim Jaggi
276043921b am bbfc9080: Show bouncer if secure camera would show chooser.
* commit 'bbfc9080a81824089f569cadae1e3927c60bc18d':
  Show bouncer if secure camera would show chooser.
2014-08-05 18:54:18 +00:00
Jorim Jaggi
781c29c9a8 Show bouncer if secure camera would show chooser.
Bug: 16570873
Change-Id: I2a86fb3a823d5255c0c35a78c1832c273e3a1578
2014-08-05 18:47:54 +00:00
Jason Monk
e0249e9fd1 am 83ddb523: Merge "Disable heads up when DISABLE_NOTIFICATION_ALERT" into lmp-dev
* commit '83ddb523cb888cc9f2ac0d33d086f939af2adef0':
  Disable heads up when DISABLE_NOTIFICATION_ALERT
2014-08-05 17:31:41 +00:00
Jorim Jaggi
0060fe8fda am 1dd0f245: Update keyguard icon paddings to spec.
* commit '1dd0f245efe92f2515eee0d59031b53e6e2fffa2':
  Update keyguard icon paddings to spec.
2014-08-05 17:25:07 +00:00
Jorim Jaggi
9cf1f37737 Update keyguard icon paddings to spec.
Bug: 15381387
Change-Id: Ia75394fd68f66233ebabe9ec4f62b42d40d19eb9
2014-08-05 17:18:55 +00:00
Jorim Jaggi
b203821021 am 0e9d95b5: Merge "Revert "Clean up hiden notifications on Keyguard handling"" into lmp-dev
* commit '0e9d95b56308a705d9ea0667414f245cdacefd49':
  Revert "Clean up hiden notifications on Keyguard handling"
2014-08-05 17:16:26 +00:00
Jorim Jaggi
f21d7a41ad am d9267cae: Clean up hiden notifications on Keyguard handling
* commit 'd9267cae958b572b715d22a4905b18749a369c9f':
  Clean up hiden notifications on Keyguard handling
2014-08-05 17:07:19 +00:00
Jorim Jaggi
62a7c831d5 Clean up hiden notifications on Keyguard handling
Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3
2014-08-05 17:00:22 +00:00
Jorim Jaggi
50379eddf4 am a7a0e608: Merge "Empty notification shade state." into lmp-dev
* commit 'a7a0e60850e033596d69e0e9ff00952d9f986863':
  Empty notification shade state.
2014-08-05 15:56:42 +00:00
Adrian Roos
9d019c3fba am a9aff868: Merge "QS: Enable availability listener for flashlight" into lmp-dev
* commit 'a9aff868819904196f9a9757a02709293f67f75f':
  QS: Enable availability listener for flashlight
2014-08-05 15:09:03 +00:00
John Spurlock
8051e44721 am b65da916: Merge "QS: Share usage tracking timeout with color inversion tile." into lmp-dev
* commit 'b65da91628362da13f9b3d34a26196aa19474358':
  QS: Share usage tracking timeout with color inversion tile.
2014-08-05 14:00:01 +00:00
Jorim Jaggi
31119d6ee0 am 5c805fcd: New swipe-up assist animation for L.
* commit '5c805fcd4a88fb94355183dd7e1caf249ca21f26':
  New swipe-up assist animation for L.
2014-08-05 13:29:14 +00:00
Jorim Jaggi
f479792e05 New swipe-up assist animation for L.
Bug: 16307470
Bug: 14623152
Change-Id: Ib7e0381d118bda177981cc56ec9a8fb418dfb0e3
2014-08-05 15:24:26 +02:00
Jorim Jaggi
899ba487b6 am bf16485a: Merge "Dismiss all layout updates." into lmp-dev
* commit 'bf16485a3626782b50d8c71c69a5771851fe930c':
  Dismiss all layout updates.
2014-08-05 13:06:58 +00:00
Brian Colonna
793a3d1643 Merge "Bug 16147163: Secure camera can now be launched with FUL running" into lmp-dev 2014-08-05 00:35:13 +00:00
Brian Colonna
d45c6d4f40 Bug 16147163: Secure camera can now be launched with FUL running
This change introduces a class that handles launching the secure camera even
when other apps may be using the camera hardware.  It does this by sending out
a broadcast telling apps to stop using the camera as soon as the user begins to
swipe to use the secure camera.  It then waits until either the camera is
available or a timeout period has expired before it fires off the intent to
start the secure camera.

Secure camera apps can indicate (via their meta-data) that they will instead
handle the responsibility of waiting for the camera to be available.  In this
case, the new class still handles sending out the broadcast telling other apps
to close the camera, but it fires off the intent to start the secure camera
before the camera hardware is available.  This is optimal because some of the
time spent closing the camera can happen in parallel with the time spent
starting the secure camera app.  Since we can't depend on third-party apps to
wait for camera availability, the default is for us to wait for the camera to
be available before firing off the intent.  However, our first party app is
able to take the optimized approach.

Change-Id: I1eaed94875e8f50018cffab25aa1e9b21d85f25b
2014-08-06 12:06:32 -04:00
Jorim Jaggi
fc4a648f0e Merge "Implement face unlock running indicator on Keyguard." into lmp-dev 2014-08-05 00:35:13 +00:00
Jorim Jaggi
e7b1252e24 Implement face unlock running indicator on Keyguard.
Icon is still dummy.

Bug: 16502879
Change-Id: Ibea1e594f322e919049a42a26ff858d2169415e7
2014-08-06 16:41:21 +02:00
John Spurlock
e87457f105 Merge "PowerUI: Remove notification action icons." into lmp-dev 2014-08-05 00:35:13 +00:00
John Spurlock
04c8fd3366 PowerUI: Remove notification action icons.
Bug:16839950
Change-Id: I1f8c1c80a2c849e115396e1e22d344a52a2dbe3f
2014-08-06 10:07:30 -04:00
John Spurlock
5f72e16847 Merge "AudioService: getMasterStreamType -> RING on tablets." into lmp-dev 2014-08-05 00:35:13 +00:00
John Spurlock
4f0f120316 AudioService: getMasterStreamType -> RING on tablets.
Since all service-internal checks use stream alias, and the alias
for NOTIFICATION is RING, even on tablets.

This is a followup to ag/506532.

Ensure that #getMasterStreamType always follows the stream_system
alias, and update the system alias for tablets per the new policy.
Update the associate javadoc comment in AudioManager to make this
clear.

Note: there is now no difference in the alias maps between phones
and tablets.

Also fix a condition affected by this in VolumePanel.

Bug:16626879
Change-Id: I2700a48d2a3e7703607f771a1ab7f325596fd789
2014-08-05 16:23:14 -04:00
Geoff Mendal
ea844f92a3 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-05 00:29:22 +00:00