Merge "Fix NPE in getCompatibleMagnificationSpecForWindow" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
555349760a
@@ -7514,8 +7514,8 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
if (spec != null) {
|
||||
result.setTo(spec);
|
||||
}
|
||||
spec.scale *= windowState.mGlobalScale;
|
||||
return spec;
|
||||
result.scale *= windowState.mGlobalScale;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user