DescriptionRevert of Use Display changes for screen orientation changes. (https://codereview.chromium.org/163433010/)
Reason for revert:
This is causing runtime issues on pre-JB MR1 devices, as
DisplayManager.DisplayListener was added in API level 17.
A compat-layer equivalent will be needed before landing.
Original issue's description:
> Use Display changes for screen orientation changes.
>
> This is the only reliable solution: we get an event from DisplayManager
> every time a display change. If that change is a rotation change from
> the display we care about, we can act on it. Using sensors or
> onConfigurationChange is unreliable.
>
> BUG=342714
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252846
TBR=bulach@chromium.org,timvolodine@chromium.org,mlamouri@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=342714
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252940
Patch Set 1 #
Created: 6 years, 10 months ago
(Patch set is too large to download)
Messages
Total messages: 3 (0 generated)
|