Commit Graph

246497 Commits

Author SHA1 Message Date
Winson
d46b72788e Removing legacy calculation of Recents visibility.
- This was causing us to try and launch the Recents activity again after
  docking because the running task was the newly docked task and not
  Recents.

Bug: 28177001
Change-Id: I222e50f6de00a9d7881da2182eebc61564fd3266
2016-04-21 15:16:42 -07:00
Winson
29a763b83c Adding additional dump logging to track down bugs.
Bug: 28177001
Change-Id: I9832874d3b9b1fceb28cfac6e899739b6dba0896
2016-04-21 15:16:37 -07:00
Selim Cinek
b85f36fd48 Fixed a bug where notification header could become empty
Also fixed a few more issues with the header util that could
lead to wrong states.

Change-Id: I95c3479f5d9e5221ee9e91120271e7957b887607
Fixes: 28295743
2016-04-21 15:07:10 -07:00
Selim Cinek
8ea2d5f72d Fixed a crash when the heads up content view was null
Change-Id: I02c47eb0f4bcc3620103882e34b079aa83790a44
Fixes: 28301534
2016-04-21 15:07:09 -07:00
Selim Cinek
c3b752e712 Changed the name of chronometer countdown
Change-Id: Ie0339205b26f2dff40e0c19760750a0ce6aaf7da
Fixes: 28295825
2016-04-21 15:07:08 -07:00
Selim Cinek
36d570863a Switched the notification time to relative time
The time is now displayed in a relative manner instead
of absolute.

Change-Id: Idcc4411ed07991b6e176c4890a0d804394d8598a
Fixes: 27435284
2016-04-21 15:07:06 -07:00
Christopher Tate
d0cca79f3c Don't worry about an extra weak indirection with callback alarms
Bug 27995384

Change-Id: Ie9cf3e05dca4af7085b479fb65d4cf45ee0239ba
2016-04-21 15:05:34 -07:00
Jorim Jaggi
3b6e05a2a8 Revert "Death to synchronous transactions (2/2)"
This reverts commit dd05f0365a.

There seems to be some logic that gets triggered inside surface flinger
regarding commit time of the transaction, and without it seems that
animations got jankier. No time to investigate...

Bug: 28305789
Change-Id: I7261cf8719d3528f8f5bee19e507b8ba88b8b729
2016-04-21 14:55:31 -07:00
Jorim Jaggi
a20eeda529 Fix a few weird state issues from race-conditions
- When starting another transition while the dock transition
is already set, always override that because that transition
starts prolonged animations which will never be ended.
- Only dock if we get a good UP event.

Bug: 28257206
Change-Id: Icabfcf475f419696d2bcff8fbb53cf3b29dedd69
2016-04-21 14:55:11 -07:00
Jorim Jaggi
023da538a2 Fix lifecycle bug in when calling positionTask
Sometimes the resumed activity from another stack gets positioned
BELOW the top activity of the current stack. We need to carry over
the mResumedActivity to make sure onPause is called on the moved
activity.

Bug: 28235047
Change-Id: I09e6b032cd8d0b00dc5fdd06bec68e53c25aae73
2016-04-21 14:54:51 -07:00
Jorim Jaggi
4ccfc30a80 Animation fixes when task is not resumed
- Make sure to add the activity to mWaitingVisibleActivities
to not destroy the activity before the app transition has
started.
- Defer layouts in startActivityUnchecked so when clearing the
current activities in the current stack, we don't execute the
app transition yet. We need to wait until the new activities
are added as well.

Bug: 28026847
Change-Id: I252cf139e06197ea34329d1466f1f6162f3e7a30
2016-04-21 14:54:17 -07:00
Jorim Jaggi
b8c5876dc0 Keep stack from mReuseTask
When we launch an activity with CLEAR_TOP and NEW_TASK, we clear
all the activities in that task but then we don't reuse the stack,
which can lead to weirdness.

To fix this, we need to keep the target stack in that case.

Bug: 28000613
Change-Id: If85ade73b1036e8a7c0eda418d9f39e8596b8b16
2016-04-21 14:53:52 -07:00
Jorim Jaggi
5c80c41ee0 Final fixes for growing recents transition
- Make sure to reposition windows during animations to avoid that
they lag one frame behind.
- Don't put windows that are gone for layout into resizing mode.
- Don't layout windows that are gone for layout, to avoid resizing
the surface but the client won't draw anymore.

Change-Id: I809feffef00f9a086b44504126e03f509eb7f190
Fixes: 27855229
2016-04-21 14:52:42 -07:00
Dake Gu
eb8d2fcb50 leanback: Fix link to changed API setTitle()
To match ag/952395.

Change-Id: I96cf9caa34bd560f14f7864201f3ac228cd2537d
2016-04-21 14:50:26 -07:00
sergeyv
3d8298e1a8 DisplayListCanvas: throw exception at attempt to draw bitmap with size > 100MB
bug:26943116
Change-Id: If72c9f21ca2d8eb660ea2db4a42c8199f8d02472
2016-04-21 14:48:04 -07:00
Vladislav Kaznacheev
e574888a60 Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev
am: 729c640cc8

* commit '729c640cc887da9fe7a1b57121167a7bf83fee97':
  Rename DropPermissions to DragAndDropPermissions

Change-Id: I8b9481bd7167484bc98ddd12f5069edf88f2c0b1
2016-04-21 21:43:05 +00:00
Hyunyoung Song
d9edb23fa8 Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev
am: 44157a4abf

* commit '44157a4abf36250f259eca4cdaa346be15d47738':
  Fix broken build due to @RemotableViewMethod

Change-Id: I8ea8b32a7e57d479ee46bd8f43930f1ea53a5919
2016-04-21 21:43:03 +00:00
Vladislav Kaznacheev
729c640cc8 Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev 2016-04-21 21:34:26 +00:00
Hyunyoung Song
44157a4abf Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev 2016-04-21 21:32:38 +00:00
Alan Viverette
c1a3af4546 Merge "API review feedback for ProgressBar" into nyc-dev
am: 5500bb1d6d

* commit '5500bb1d6d5d5c49f7bb5d81b48a707f1ade75ab':
  API review feedback for ProgressBar

Change-Id: Ic011a46923ff66e89a8f9502d4e76bbbba22cd94
2016-04-21 21:27:03 +00:00
Alan Viverette
d1fb914324 Merge "Don\'t overwrite vertical and horizontal offsets unless explicit" into nyc-dev
am: e84393674d

* commit 'e84393674da0f5ecce2ee1074fc79c856f549623':
  Don't overwrite vertical and horizontal offsets unless explicit

Change-Id: I9d68530848a578bcb015cbb586d777fc17b4c8ca
2016-04-21 21:27:02 +00:00
Hyunyoung Song
3a93f0ff37 Fix broken build due to @RemotableViewMethod
Change-Id: I63c6cb4fa68df114220efb2f263115e773e25f5d
2016-04-21 14:26:54 -07:00
Alan Viverette
5500bb1d6d Merge "API review feedback for ProgressBar" into nyc-dev 2016-04-21 21:21:56 +00:00
Felipe Leme
7d822ff33c Added logging for Data Saver toggle switch.
BUG: 28166693
Change-Id: I9ebe02728a984dbb98a55489c258202709ca86d8
2016-04-21 14:21:45 -07:00
Alan Viverette
e84393674d Merge "Don't overwrite vertical and horizontal offsets unless explicit" into nyc-dev 2016-04-21 21:21:35 +00:00
Andres Morales
d908c6294d FrameMetricsListener API council changes
Bug: 28296251
Change-Id: I8fe0d8b37c0a3220666570f242f9c20fa16b78ab
2016-04-21 14:20:42 -07:00
Garfield, Tan
9eb8818059 Disable view recycling to avoid passing wrong type of view to
Item.bindView().

Bug: 28298672

Change-Id: I1f7442ea3c6287da40b3e5fde25b16c2f2a7b685
2016-04-21 14:09:28 -07:00
Hyunyoung Song
a51eb55a24 Merge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev
am: 22d91b0eb4

* commit '22d91b0eb40137e6236d7af5d2857df97648d15b':
  add @RemotableViewMethod to TextView#setEnabled b/28304068

Change-Id: Ib801e93f40e5a4bd40c11d309b20925ed2380626
2016-04-21 21:06:21 +00:00
Hyunyoung Song
22d91b0eb4 Merge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev 2016-04-21 21:04:25 +00:00
Chong Zhang
0f1ed72a9a Merge "Make sure don\'t adjust IME when docked left-right" into nyc-dev
am: 5da7a4a3f0

* commit '5da7a4a3f078b2a770fc36be8a3c0d9c522525f8':
  Make sure don't adjust IME when docked left-right

Change-Id: Ied00ffadab7620c51563ed01eeb2b1ea5d81061d
2016-04-21 20:55:10 +00:00
Hyunyoung Song
7b77e0c765 add @RemotableViewMethod to TextView#setEnabled
b/28304068

Change-Id: Ia5464030a65c87dacdd75e5be331da017d7ef593
2016-04-21 13:41:56 -07:00
Chong Zhang
5da7a4a3f0 Merge "Make sure don't adjust IME when docked left-right" into nyc-dev 2016-04-21 20:35:28 +00:00
Fyodor Kupolov
d0a55f2ecb Merge "Remove pre-N db after successful migration" into nyc-dev
am: cdb5fcf7b8

* commit 'cdb5fcf7b81de81793995097b017c001be2a4264':
  Remove pre-N db after successful migration

Change-Id: I343eb6688340bfca5b1ee16a6a85bf1f3e5c7632
2016-04-21 20:35:02 +00:00
Jason Monk
f19fdfb08d Merge "QS: Use current tile state when removing custom tiles" into nyc-dev
am: 53c116f5da

* commit '53c116f5da0c5a8d0da5f046b892d7a106d4937a':
  QS: Use current tile state when removing custom tiles

Change-Id: I07e850c997546909ae3ca83a0c2bde3ddc0beeee
2016-04-21 20:35:00 +00:00
Fyodor Kupolov
cdb5fcf7b8 Merge "Remove pre-N db after successful migration" into nyc-dev 2016-04-21 20:30:39 +00:00
Jason Monk
53c116f5da Merge "QS: Use current tile state when removing custom tiles" into nyc-dev 2016-04-21 20:25:32 +00:00
Julia Reynolds
767c3e0df1 Merge "Announce when volume controls appear and disappear." into nyc-dev
am: c14996393a

* commit 'c14996393a976c1ca9ac7cef01a052614a84a7f4':
  Announce when volume controls appear and disappear.

Change-Id: I5299a15e93b2bdf50a55b48b072e3e45dc8a44bf
2016-04-21 20:21:31 +00:00
Sid Soundararajan
608e919b3d Merge "Make Dismiss Icon under Cards show up only when focused." into nyc-dev
am: 6efc5dcb27

* commit '6efc5dcb274d08ba7dc812c90089bc10a38b890e':
  Make Dismiss Icon under Cards show up only when focused.

Change-Id: Icf9af6b8c7dffffdc1d3a939049b9b764ccb6e9d
2016-04-21 20:21:30 +00:00
Julia Reynolds
c14996393a Merge "Announce when volume controls appear and disappear." into nyc-dev 2016-04-21 20:18:29 +00:00
Jason Monk
21582d4643 QS: Use current tile state when removing custom tiles
Change-Id: If12415c051239348261386fb23e88d6725767ba0
Fixes: 27912532
2016-04-21 16:15:09 -04:00
Sid Soundararajan
6efc5dcb27 Merge "Make Dismiss Icon under Cards show up only when focused." into nyc-dev 2016-04-21 20:06:31 +00:00
Robert Carr
1b5ea72b3c Force pinned windows to always be scaleable.
Otherwise we have a race when switching it off at the end
of the animation when we don't move to fullscreen. Ensure
SCALE_TO_WINDOW is always enabled for windows while they
are in the pinned stack.

Bug: 27793381
Change-Id: Ia92465fd0d854f799caa8ed31edb4621af9fdecd
2016-04-21 13:01:57 -07:00
Mihai Nita
76dca16404 Merge "Framework: change the TTS text to use the current locale" into nyc-dev
am: 344bd5c63d

* commit '344bd5c63dfbe9a6aaef68144d04d3613563c080':
  Framework: change the TTS text to use the current locale

Change-Id: I1c6148c1cbcd25e20bb75d4084d6d81420da0d48
2016-04-21 20:01:14 +00:00
Robert Carr
ff54c9eeb2 Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev
am: 37696cccd8

* commit '37696cccd8925ca6e4aa6f2ca6f29807066c7f1e':
  Respect manually set HARDWARE_ACCELERATED flag.

Change-Id: I28ae79e505d0a234c293efd56d2434dd6cca0ca8
2016-04-21 20:01:13 +00:00
Chong Zhang
41de79e220 Make sure don't adjust IME when docked left-right
bug: 28295645
Change-Id: Ia8f7f9a92fcc562bd672abae4d3ddfd6e6201a79
2016-04-21 12:57:55 -07:00
Mihai Niță
344bd5c63d Merge "Framework: change the TTS text to use the current locale" into nyc-dev 2016-04-21 19:55:43 +00:00
Rob Carr
37696cccd8 Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev 2016-04-21 19:52:02 +00:00
Adam Lesinski
19ad9f3f9e Merge "Fix order of operation issue with ResStringPool" into nyc-dev
am: b53e8a7a8a

* commit 'b53e8a7a8aa495289ab2872032f80501edd472ef':
  Fix order of operation issue with ResStringPool

Change-Id: I6e78bfc1a3b3c61a03e51fca05dc94bd64b76560
2016-04-21 19:15:45 +00:00
Adam Lesinski
b53e8a7a8a Merge "Fix order of operation issue with ResStringPool" into nyc-dev 2016-04-21 19:08:39 +00:00
Julia Reynolds
2feab1644b Announce when volume controls appear and disappear.
Bug: 28120156
Change-Id: I4e17b9cf1cd4a442adb7513168c12e3af24c424f
2016-04-21 15:00:45 -04:00