OSDN Git Service

[FRP] Notification screen slides in wrong direction
authorLucky Zhang <luckyzh@google.com>
Fri, 12 Dec 2014 02:10:01 +0000 (18:10 -0800)
committerLucky Zhang <luckyzh@google.com>
Fri, 12 Dec 2014 02:10:01 +0000 (18:10 -0800)
commit47811fe057052df5ea20db06696d589965092b4b
tree62afda1dec31e88db28562859dbc03adb7b63d7f
parent14ff2f7c30b8258807f44afb815ccc71dc574c1c
[FRP] Notification screen slides in wrong direction

The method that launches notification screen from choose lock activity
finished the original activity before starting the new activity. This
made the system think it is a backward transition instead of a forward
one. Swapping the order to start new activity first and then finish
old activity fixed the problem.

This also changes the behavior in settings. However, it seems like this
is also the desired behavior for settings.

Bug: 18723199
Change-Id: I90538fa52e0d62a2274c8e0333682035849802c6
src/com/android/settings/ChooseLockPattern.java