Commit Graph

41190 Commits

Author SHA1 Message Date
Amith Yamasani
755d7a5877 am c0c51adc: am 630dfb41: am 081ba853: Merge "Use correct API for badging" into lmp-dev
* commit 'c0c51adc77aca5fcdb7cd08f0fa3b73395848eb0':
  Use correct API for badging
2014-09-07 23:25:20 +00:00
Amith Yamasani
bcc8ac2ce9 am 630dfb41: am 081ba853: Merge "Use correct API for badging" into lmp-dev
* commit '630dfb410afd44c9db401a1679d12aa1edcfcdea':
  Use correct API for badging
2014-09-07 23:15:17 +00:00
Amith Yamasani
d28665b3c8 Merge "Use correct API for badging" into lmp-dev 2014-09-07 22:56:19 +00:00
Amith Yamasani
fdf169cbea Use correct API for badging
Bug: 17414778
Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
2014-09-07 15:45:57 -07:00
Winson Chung
2604908350 am df52495c: am 3004eee6: am 04682c2f: Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
* commit 'df52495ccc0b655031bb92b4961d7298076f2a72':
  Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
2014-09-07 20:35:10 +00:00
Winson Chung
2e29a6dc03 am 3004eee6: am 04682c2f: Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
* commit '3004eee618c3fad547768210f9252bad5abb0f69':
  Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
2014-09-07 20:25:59 +00:00
Winson Chung
2e7f3bdcc9 Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
2014-09-07 20:08:40 +00:00
Eric Laurent
38088d9419 am 5a8793f6: am 987ce7dc: am 2ff0e25f: Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev
* commit '5a8793f6d5d6cb28cc6548aa2e3bfca598f9059e':
  SoundTrigger: fix capture format in recognition event
2014-09-07 19:40:43 +00:00
Dianne Hackborn
963ed62ba5 am f307a884: am 459f3911: am 9a77bddd: Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev
* commit 'f307a8847ec546401a5d5e1aaecb7f29a097cf66':
  Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
2014-09-07 19:31:03 +00:00
Dianne Hackborn
432fa09116 am 7c021a1b: am 8c7be259: am 6a83e4d1: Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev
* commit '7c021a1b46ca076ec911daf7d515101fa7d61453':
  Work on issue #17357238: Recents is often slow if not used in a while
2014-09-07 19:30:57 +00:00
Eric Laurent
b8a8f33602 am 987ce7dc: am 2ff0e25f: Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev
* commit '987ce7dcb5485e3c593f6384eda91bfbb3f12969':
  SoundTrigger: fix capture format in recognition event
2014-09-07 19:29:51 +00:00
Dianne Hackborn
b30ea42a8d am 459f3911: am 9a77bddd: Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev
* commit '459f391177dd796d25d68184a0844a0420a1f33a':
  Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
2014-09-07 19:20:06 +00:00
Dianne Hackborn
7bc4c08323 am 8c7be259: am 6a83e4d1: Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev
* commit '8c7be25983e44e8e1bfcb721f50ae23ca7aabf32':
  Work on issue #17357238: Recents is often slow if not used in a while
2014-09-07 19:20:00 +00:00
Eric Laurent
8232d822aa Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev 2014-09-07 19:10:07 +00:00
Dianne Hackborn
b30c9920df Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev 2014-09-07 19:04:05 +00:00
Dianne Hackborn
66d557875d Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev 2014-09-07 19:03:20 +00:00
Unsuk Jung
56ec4055c4 am 06031917: am 4944eb87: am 2ba17d31: Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev
* commit '0603191734032d3f89003f08e116ec9e232ac99b':
  Add a hardware feature definition corresponding to audio output support.
2014-09-07 09:39:27 +00:00
Unsuk Jung
4bd791a017 am 4944eb87: am 2ba17d31: Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev
* commit '4944eb87ea07d8ef54eab4810213e2c3b8d737e6':
  Add a hardware feature definition corresponding to audio output support.
2014-09-07 09:25:15 +00:00
Unsuk Jung
68c936f77d Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev 2014-09-07 01:54:13 +00:00
Eric Laurent
39fcca0a50 SoundTrigger: fix capture format in recognition event
Also include capture format in recognition event
if capture is available for streaming. It was only
included if trigger was contained in event.

Bug: 17409062
Bug: 16731718
Change-Id: I5bf566e6bda57f23c870b4a1293e9b6d15d51e5a
2014-09-05 18:56:33 -07:00
Dianne Hackborn
a4e102ee58 Work on issue #17357238: Recents is often slow if not used in a while
Add a new activity attribute, resumeWhilePausing, that allows an
activity specifying it to immediately start running without waiting
for the previous activity to pause.  The recents activity is updated
to use this.

The implementation of this is ultimately fairly simple -- if we are
in the path of resuming such an activity, and find that we first need
to pause the existing activity, then within the activity manager we
do the regular pause flow but act like it has immediately finished
pausing right then so that we can immediately go on to the resume.
To make this clean, we tell the activity when asking it to pause that
it should not come back and tell us it is done, because we aren't in
any way waiting for it.

One potentially important change I needed to make here is the pause
callback no longer provides the saved persistent state, because we
now can't count on that callback happening.  I don't think there was
really any utility in this anyway -- all modern apps will have their
save state flow happen as part of stopping, not pausing, so we'll
only capture that saved state when the stop is reported back anyway.
And since we do send the saved state back when stopping, it would
always blow away whatever we had gotten at the pause.

Finally, update the documentation for AppTask.startActivity(), and
fix the implementation handling that to be cleaner -- we need to
deal with inTask first before getting in to "oh noes add NEW_TASK
if this isn't coming from a calling activity" flow.

Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f
2014-09-05 18:43:43 -07:00
Dianne Hackborn
b8c7e76f07 am 507f1db0: am 80cb4a01: am 8c7605b1: Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev
* commit '507f1db0ba538d924282ed8e701c5fad352e11a3':
  Fix issue #17397177: BatteryStats reporting error on job start/stop
2014-09-06 01:26:26 +00:00
Dianne Hackborn
95ccfd9950 am 80cb4a01: am 8c7605b1: Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev
* commit '80cb4a012b57110246a17e4110ccadb5bd232c55':
  Fix issue #17397177: BatteryStats reporting error on job start/stop
2014-09-06 01:09:57 +00:00
Dianne Hackborn
7895bc2e63 Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
Change-Id: Iaf271c96901c5dba15831681269a49ad4aaa57fd
2014-09-05 17:50:47 -07:00
Jon Miranda
8f779d8401 am 50162904: am 6eed7489: am 9f7fee39: Merge "Added getStyleAttributes to access all Theme attributes." into lmp-dev
* commit '5016290424c15721021c5b7db0fe2abd759ed73d':
  Added getStyleAttributes to access all Theme attributes.
2014-09-06 00:49:45 +00:00
John Reck
739136002f am ce7e1c41: am bf6afec1: am fd289c1c: Merge "Disable RT-anim for AnimatorSet" into lmp-dev
* commit 'ce7e1c41485cbc5dfdb6a11bde01d0d3aa5d15e6':
  Disable RT-anim for AnimatorSet
2014-09-06 00:49:41 +00:00
Dianne Hackborn
ce78347c37 Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev 2014-09-06 00:49:28 +00:00
Alan Viverette
3e01522573 am 1a39a3b4: am 700106e0: am 9239ba20: Merge "Propagate drawable hotspots when duplicate parent state is enabled" into lmp-dev
* commit '1a39a3b48f44ceff85bd70a17bb0c9434df71914':
  Propagate drawable hotspots when duplicate parent state is enabled
2014-09-06 00:39:51 +00:00
Jon Miranda
d4b31eb9c4 am 6eed7489: am 9f7fee39: Merge "Added getStyleAttributes to access all Theme attributes." into lmp-dev
* commit '6eed7489395f3dddffbdae8f9b50a93ed630cada':
  Added getStyleAttributes to access all Theme attributes.
2014-09-06 00:39:40 +00:00
John Reck
ab95330acf am bf6afec1: am fd289c1c: Merge "Disable RT-anim for AnimatorSet" into lmp-dev
* commit 'bf6afec12bf123684c7e4893465dd8e1d13817bd':
  Disable RT-anim for AnimatorSet
2014-09-06 00:39:35 +00:00
Dianne Hackborn
c3940bc1ba Fix issue #17397177: BatteryStats reporting error on job start/stop
Dumb, dumb, dumb mistake.

Also fix battery stats wakeup reason tracking to use a SamplingTimer
(like kernel wake locks) so we can track both the duration and count
for each wakeup reason.

Change-Id: I89d69661006dc533622b1b7e68a139166d3a6975
2014-09-05 17:33:06 -07:00
Alan Viverette
487c96c4e2 am 700106e0: am 9239ba20: Merge "Propagate drawable hotspots when duplicate parent state is enabled" into lmp-dev
* commit '700106e00cad7a099eb15c63c35499df9720caeb':
  Propagate drawable hotspots when duplicate parent state is enabled
2014-09-06 00:28:56 +00:00
Jon Miranda
05cc48292b Merge "Added getStyleAttributes to access all Theme attributes." into lmp-dev 2014-09-06 00:27:20 +00:00
John Reck
3207ffe120 Merge "Disable RT-anim for AnimatorSet" into lmp-dev 2014-09-06 00:22:25 +00:00
Alan Viverette
9ffe8c06e5 Merge "Propagate drawable hotspots when duplicate parent state is enabled" into lmp-dev 2014-09-06 00:15:09 +00:00
Jeff Sharkey
68cac85e0b am 11333bce: am 01efa7e6: am 89e86555: Merge "Separate active state from open/close." into lmp-dev
* commit '11333bce2afbc92ca3c644d6264245ac9216dc27':
  Separate active state from open/close.
2014-09-06 00:03:56 +00:00
Jeff Sharkey
5abb80468e am 01efa7e6: am 89e86555: Merge "Separate active state from open/close." into lmp-dev
* commit '01efa7e6bcbaf781b589dd120d079ebc9e132069':
  Separate active state from open/close.
2014-09-05 23:48:54 +00:00
Jeff Sharkey
5341f94a19 Merge "Separate active state from open/close." into lmp-dev 2014-09-05 23:28:31 +00:00
Jon Miranda
042ad633bc Added getStyleAttributes to access all Theme attributes.
ViewDebug uses getStyleAttributes to get the attributes, and then gets the
attribute name and value so that Hierarchy Viewer can display it.

Bug: 17407087
Change-Id: I3577e32ae99668383701dc908bb46db14a75c3c4
2014-09-05 16:19:08 -07:00
Jeff Sharkey
bc7bce38b2 Separate active state from open/close.
Also change name to setStagingProgress() to make it clearer that
system may adjust the range.  Start throwing from openSession() in
preparation for ASEC allocation moving.

Bug: 17405741
Change-Id: Id7da51a32d5d89cb512ddafbd7ceaafbcd41cac6
2014-09-05 16:16:39 -07:00
Svetoslav
a958000469 am ad1b9d87: am 1458f58e: am 3b42928c: Merge "Print spooler UI polish and bug fixes." into lmp-dev
* commit 'ad1b9d8779447bd3eacc0dd12519f28b964b868b':
  Print spooler UI polish and bug fixes.
2014-09-05 23:08:28 +00:00
Chris Craik
a2197d721d am 1bd57d8b: am 7ec137b7: am 6f6a8f2c: Merge "Add shadow/clipping properties to HierarchyViewer" into lmp-dev
* commit '1bd57d8b78d214a2bdeb0f11bba1a104b14ea84b':
  Add shadow/clipping properties to HierarchyViewer
2014-09-05 23:08:21 +00:00
John Reck
f5945a0c8b Disable RT-anim for AnimatorSet
Bug: 17317184

 Unfortunately this will disable *all* RT animations in a scene,
 but we don't have more selective targetting currently

Change-Id: I57e1c0ae43957f45229473bdcdaf34c05825fab7
2014-09-05 15:58:26 -07:00
Svetoslav
a757f99d97 am 1458f58e: am 3b42928c: Merge "Print spooler UI polish and bug fixes." into lmp-dev
* commit '1458f58e697e0079fc7fb90ea4094052f14a9688':
  Print spooler UI polish and bug fixes.
2014-09-05 22:56:45 +00:00
Chris Craik
33f71d9b32 am 7ec137b7: am 6f6a8f2c: Merge "Add shadow/clipping properties to HierarchyViewer" into lmp-dev
* commit '7ec137b7f9edb41117f822ef16bdaf5accbcc31c':
  Add shadow/clipping properties to HierarchyViewer
2014-09-05 22:56:41 +00:00
Svetoslav
d89c5ad3d3 Merge "Print spooler UI polish and bug fixes." into lmp-dev 2014-09-05 22:37:39 +00:00
Chris Craik
83eb430270 Merge "Add shadow/clipping properties to HierarchyViewer" into lmp-dev 2014-09-05 22:36:41 +00:00
Griff Hazen
040bb0b0ed am e9a3faa5: am 26c00d5a: am fd7d35d0: Merge "Reduce chance of notification listener dropped messages." into lmp-dev
* commit 'e9a3faa5d20d0adeed4a5bec8f3aeb131324b3f4':
  Reduce chance of notification listener dropped messages.
2014-09-05 22:23:55 +00:00
Chris Craik
5c75c52e04 Add shadow/clipping properties to HierarchyViewer
bug:15777980

Change-Id: Ic3d24326f585d2d2b9889486f0ed322eb98b5af8
2014-09-05 15:23:08 -07:00
Svetoslav
6552bf3da6 Print spooler UI polish and bug fixes.
1. Added an empty state for pages that are being rendered.

2. Fixed a NPA on a binder thread when destoroying the
   remote print adapter.

3. Fixed a rare crash when the print activity gets an
   activity class callback while initializing.

4. Changed the preview pages on phone in land to four.

5. Fixed a flicker from a list of pages to an empty state
   and then back to the list of pages.

bug:15704969
bug:16966145

Change-Id: I0eea2f30a102d8fefcbf90187fa6d8612fb19434

Conflicts:
	packages/PrintSpooler/src/com/android/printspooler/widget/PageContentView.java
2014-09-05 15:21:50 -07:00