Do not put floating windows into drag resize mode
Not really useful and creates a lot of "jank". Bug: 27099358 Change-Id: Id1c5e09cc9731f64c5f52f9c187ccbda468ea26e
This commit is contained in:
@@ -2165,6 +2165,11 @@ final class WindowState implements WindowManagerPolicy.WindowState {
|
||||
if (task == null) {
|
||||
return false;
|
||||
}
|
||||
if (mAttrs.width != MATCH_PARENT || mAttrs.height != MATCH_PARENT) {
|
||||
|
||||
// Floating windows never enter drag resize mode.
|
||||
return false;
|
||||
}
|
||||
if (task.isDragResizing()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user