am: 83e50327fc
* commit '83e50327fcf24e4d17a341cc2efaafc95046a8f9':
Don't drop IPv4 broadcast packets when WiFi multicast lock is held
Change-Id: I1cae052945f3366c2d1669cd37118851239d0f07
am: 34cd48bcd8
* commit '34cd48bcd8d284d864a0876db1373099c51b98e2':
Chronometer: Update the value only if displayed on screen
Change-Id: I01a820daaa6308c1cc00cd19940db12ec827f424
IPv4 broadcast packets can be very common (e.g. every 2s) so they
need to be dropped in the general case. They also may be critical
for certain discovery protocols, so allow them through with APF
when the WiFi multicast lock is held.
Bug: 26238573
Change-Id: I03e09a2b9c779da5da775e78b95e9e0339720eaf
This includes following changes for performance
1. Passes the key events directly between the windows instead of using
dummy Views and OnFocusChangeListener to prevent main thread from
handling unnecessary focus changes.
2. Limits the window size for PIP controls to reduce unnecessary draw.
Here's the test result. Test is performed with paused PIP video
1. 5 visible recents task
Focus down: 48.14 fps -> 85.396 fps (+77.39%)
Focus up: 24.67 fps -> 45.33 fps (+83.77%)
2. 3 visible recents task
Focus down: 51.98 fps -> 132.72 fps (+155.34%)
Focus up: 30.91 fps -> 53.38 fps (+72.69%)
Bug: 28042495
Change-Id: I363232176975b160e122748c9997ef4b46b73a28
am: 386a947616
* commit '386a9476160ecd8d7d647d1a305126ec0917e0ab':
Prevent setting the launch task id when docking.
Change-Id: I6f54a53099dd8b4c53674a866dc3fdfba1b59b70
am: 20237bc68f
* commit '20237bc68fa32422fe256f75e331a4a3bdc3fd24':
Only make Recents activity invisible if not focused on TV devices.
Change-Id: Ic6a31de4db8385620d559ff88cc79c49aac1bfeb
am: 89046edb4d
* commit '89046edb4d64fe1c7662103cce3a82b69e05cfe4':
Fix issue where max idle time > total idle time
Change-Id: Idfbfa60ec62002712073ae9af3c3e4c0e39be1e7
A partial revert for the CL I5dbc48a6c7f0f4ac4c693d5c95f0a99b989e07f4.
The mentioned CL tried to always set the maxLines attribute of
StaticLayout. However this caused regressions at certain points.
Bug: 28885989
Bug: 28468120
Change-Id: Ic09cb194c8811a06b5d53de50bfb77938b91b88d
Fixes a crash that happens when we cannot look up a package's
resources for reasons.
Change-Id: I4884536a3eefa8fe82bd274925241f4c798e08e3
Fixes: 28982204
Fist of all we made the statemap a weak hashmap in order never
to leak any views anymore.
Another leak could occur because predrawlisteners were added twice
but removal only removes one. A view was then leaked in case it was detached
before predraw.
Also fixed a leak when transforming the header because a state wasn't
nulled.
Change-Id: I2573a506c307196ef60c905dc823ea8a95e91a16
Fixes: 28945863
am: cef12198a7
* commit 'cef12198a729209fc8bfb2b2483fb3730f0fd428':
Protect against NPE while to updating service connection activities.
Change-Id: I3a430751bf02631bee57355c901d3f78248a3261
am: 7a91029bff
* commit '7a91029bff3d31e56f12ae1c070ba78043e49e0a':
Fix an assertion to avoid crash on deletions in Recent root.
Change-Id: I4374b0498599f72b1a9cbfd6b5bd95eef17438e4
- In this case, recents is the last running task instead of the
previously fullscreen app (likely due to some preparation for the
docking), and we should not set the task to launch/cancel window
transitions for.
Bug: 28943422
Change-Id: I3c381d3fa33a69adb7d8b606633433a898841526