Skip to content
Snippets Groups Projects
Commit bd1d8412 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix shortcut rotate trigger swipe notification" into sc-dev

parents 940921d0 638db506
No related branches found
No related tags found
No related merge requests found
......@@ -191,8 +191,15 @@ public class OneHandedDisplayAreaOrganizer extends DisplayAreaOrganizer {
myUserId())) {
return;
}
mDisplayLayout.rotateTo(context.getResources(), toRotation);
updateDisplayBounds();
if (mOneHandedSettingsUtil.getSettingsSwipeToNotificationEnabled(
context.getContentResolver(), myUserId())) {
// If current settings is swipe notification, skip finishOffset.
return;
}
finishOffset(0, TRANSITION_DIRECTION_EXIT);
}
......
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