OSDN Git Service

Finish already paused activity if it should be finished after pausing
authorWale Ogunwale <ogunwale@google.com>
Wed, 8 Jul 2015 21:19:44 +0000 (14:19 -0700)
committerWale Ogunwale <ogunwale@google.com>
Wed, 8 Jul 2015 21:19:44 +0000 (14:19 -0700)
commitbef8a3e39372ca85104b894f7359deddc97a8fec
treeffbda95ff2528a98d7e31119e7ff5c786a4e339e
parent32c4802a8ac624e0426888612533a4d649f349b9
Finish already paused activity if it should be finished after pausing

If the app requests its activity to be finished allow it to be finished
immediately if the activity is already paused.

Bug: 22170595
Change-Id: I1ecc0d5f3b85fd80cbe8cdc1d4e32d5c6a50b20c
services/core/java/com/android/server/am/ActivityStack.java