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
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
- 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
When the app uses a trampoline activity that launches in a different
task than the main task, we fail to show recents when the task is
docked and the user launches the trampoline activity from home. Add
logic to handle this case.
Bug: 28368989
Change-Id: Iea29e6cd1a9919da0e856955691fac4792e30604
am: ee44b14cd4
* commit 'ee44b14cd44bf0576859bd0c9519ab0e61e063f8':
Updated link to material design page.
Change-Id: Iaf4bc31d8541e75d3840e6c6f5aa5f667e0baf42
If the batterystats were reset while the device was
idling (via command line most likely), then also reset the
last time the device started idling so that the max idle time
calculation is correct.
Bug:28452600
Change-Id: I8a3d5dc3081deda76356c03d891e098baa85f88a
Previously, if the summary ran longer than 10 lines, there was no
indication to the user that it is cut off.
Bug: 28872122
Change-Id: Ie216298a2865ee08c1049914c2b029d870481581
am: ff05383baf
* commit 'ff05383baf0027dbb04cfa588a80f5d8806bf8aa':
Updated link to material design page.
Change-Id: Ic56e38ad1b18c324577586a979364c8e1d0edf3a