Merge "Fix "software rendering doesn't support hardware bitmaps" from task bar all apps" into tm-qpr-dev
This commit is contained in:
@@ -187,7 +187,7 @@ public final class TaskbarAllAppsController {
|
||||
TaskStackChangeListeners.getInstance().unregisterTaskStackListener(mTaskStackListener);
|
||||
Optional.ofNullable(mAllAppsContext)
|
||||
.map(c -> c.getSystemService(WindowManager.class))
|
||||
.ifPresent(m -> m.removeView(mAllAppsContext.getDragLayer()));
|
||||
.ifPresent(m -> m.removeViewImmediate(mAllAppsContext.getDragLayer()));
|
||||
mAllAppsContext = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user