Skip to content
Commit 0d0b77a0 authored by Jason Chang's avatar Jason Chang
Browse files

Refactor to use WindowManager#getCurrentWindowMetrics()

instead of using Display#getRealSize()

Since Display#getRealSize / getRealMetrics will be deprecated soon
in ag/13474172, and we also found an once issue b/180833541 that
related with it, so refactoring it.

Bug: 180833541
Test: atest WMShellUnitTests
Change-Id: I14220768b0c470ca3bdec410a107347000e9d511
parent 6ba3501f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment