Revert "Synchronize the app launch and taskbar stash animations."
This reverts commit cde962dcb7.
Fixes: 355666644
Reason for revert: Memory leak b/355666644
Change-Id: I2eee00d2d8d65e1e1805ad76fafc7caab8626715
This commit is contained in:
1 parent
d4c824aec8
commit
50a7279ae6
3 files changed
-52
No files matched your search
@@ -96,7 +96,6 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
public static final int FLAG_STASHED_SYSUI = 1 << 9; // app pinning,...
|
||||
public static final int FLAG_STASHED_DEVICE_LOCKED = 1 << 10; // device is locked: keyguard, ...
|
||||
public static final int FLAG_IN_OVERVIEW = 1 << 11; // launcher is in overview
|
||||
public static final int FLAG_IGNORE_IN_APP = 1 << 12; // used to sync with app launch animation
|
||||
|
||||
// If any of these flags are enabled, isInApp should return true.
|
||||
private static final int FLAGS_IN_APP = FLAG_IN_APP | FLAG_IN_SETUP;
|
||||
@@ -1285,11 +1284,6 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
*/
|
||||
@Nullable
|
||||
public Animator createSetStateAnimator(long flags, long duration) {
|
||||
// We do this when we want to synchronize the app launch and taskbar stash animations.
|
||||
if (hasAnyFlag(FLAG_IGNORE_IN_APP) && hasAnyFlag(flags, FLAG_IN_APP)) {
|
||||
flags = flags & ~FLAG_IN_APP;
|
||||
}
|
||||
|
||||
boolean isStashed = mStashCondition.test(flags);
|
||||
|
||||
if (DEBUG) {
|
||||
|
||||
Reference in new issue
Block a user