am: e1293b7d07
* commit 'e1293b7d07f5854337fef35a2e3b4338df90866e':
Remove task based on object rather than position
Change-Id: I74d2dec60c6e7173d818d92ac166143a6b292f40
am: 25018d41f4
* commit '25018d41f482fe21a45eb2e739f22dc7cc937428':
Fixed connectivity state in some power saving scenarios.
Change-Id: I7ebe3864657d2147034ffae400312e94deb5ef35
am: 2b8dcdeda4
* commit '2b8dcdeda484c3ed92969420a19ba48c2f877c81':
Workaround for empty recents, defer the enter animation.
Change-Id: I9678058e4fdb7b207b9c9b0a2f1c2b40d47b8835
Is some cases, the adapter is changed before the AnimationListener is
fired. Thus we need to remove the task without relying on position.
BUG: 28703989
Change-Id: If5cfe8589bbf6938c6e57e8e4c7bd54de6e3bd68
am: 11c8f5315b
* commit '11c8f5315b195d6a63f981a7ff434fa7937ba5d3':
DPM control for remote input when locked
Change-Id: Id7074ffdc541d53d4607652cefc4bfdecaaaa335
NetworkPolicyManagerService (NPMS) manages 4 type of network restriction
when apps are running on background:
- Data Saver Mode (data usage restriction on metered-networks)
- Battery Saver Mode (power restriction on all networks)
- Doze Mode (power restriction on all networks)
- App Idle (power restriction on all networks)
These restrictions affects 2 parts of the system:
- Internal framework state on NPMS which is propagated to other internal
classes.
- External firewall rules (managed by netd).
Although each of the power-related restrictions have their own external firewall
rules, internally apps are whitelisted to them through the same
whitelist, and the current code is only updating the internal state (and
notifying the internal listeners) when Battery Saver Mode is on.
As a consequence of this problem, there are scenarios where an app
correctly does not have internet access (because the firewall rules are
properly set), but the NetworkInfo state returns the wrong state (like
CONNECTED / CONNECTED).
This CL fixes this problem by splitting the power-related logic from
updateRulesForRestrictBackgroundLocked() into its own
method (updateRulesForPowerRestrictionsLocked()), and making sure such
method is called whenever the firewall rules are updated.
Externally to this change, the CTS tests were also improved to verify
the apps get the proper connection state; it can be verified by running:
cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests \
-t com.android.cts.net.HostsideRestrictBackgroundNetworkTests
BUG: 28521946
Change-Id: Id5187eb7a59c549ef30e2b17627ae2d734afa789
For calculating the smallest width, we need to iterate through all possible
orientations, snap the task bounds to a valid snap target and then use the
smallest width across all orientations.
In addition to that, when flinging the divider handle to the bottom of the
screen, we need to pass in fullscreen task bounds to avoid that this new
logic applies so the maximizing app only receives one configuration change.
Change-Id: I37aa9a40938517dfaf26770eb41327d76aec7c62
Fixes: 28469673
am: d6ee33e840
* commit 'd6ee33e84069846b0907948f8972978c30b34a3c':
Fixed a bug where the QS was animating wrong when closing
Change-Id: I9147fbee9d8acb25700b50a2688c565c8c097f4c
- When docking the first time after starting up, the enter-animation
callback is not dispatched in the same way, and we end up with the
callback before the first layout. In such cases, defer sending the
event which triggers the animation until the next frame when the
layout is stable.
Bug: 28705801
Change-Id: If62eb03d6f297bff06982325ada9cd7f388438c3
am: 20ed211fbc
* commit '20ed211fbcac476f0b84e68b039f00a54e5c7351':
Remove Graphic from No Recents Screen on TV.
Change-Id: I33b50a92e08f3ecf5c4fbd334ea989d50c7c075f
am: 4b4e814533
* commit '4b4e81453372a9b60acdc181f3bc39c49c97f999':
Force status bar window to be visible when expanded
Change-Id: Ib28bb434fc0d1c56772db3ec7b5d22bb25118f6d
Also don't collapse status bar if low profile gets set.
Status bar should almost never be collapsed without explicit
user action, and this only leads to issues.
Fixes: 27629489
Change-Id: Ibe5c64df578438c7224985b173a9cd967bf363bf
am: 0934240233
* commit '09342402332826b46cf8181196a8793202104e31':
Make collapsed QS work the same as expanded
Change-Id: I5b9e4f642482567a2340319707f9118aa2f3511b
am: fe03504cf1
* commit 'fe03504cf1904a955bd8bbcd26f9121d754f5fc0':
Fixed a bug where the content wasn't transforming in a group
Change-Id: I793b9f59bf862c790c2c761c9a16aeef2c7e48cf
am: 549a822331
* commit '549a822331a522cabfb854b91b1cad5a0f7128ae':
Fixed a bug where the positioning on the lockscreen was wrong
Change-Id: Iee0e3b108b1345c65d53a9d02a68e5f5c1f44de5
- When we are setting the tasks during the initialization of the tasks,
only animate if we are not awaiting the first layout (since those
should override the existing layout).
Bug: 28701153
Change-Id: I4ccb38417df15f43408b2ae77708ba9de407e753