Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7fb118d authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Activity.onStop(Bundle) does not exist

Since that method doesn't exist, the MediaFrameworkTest wake lock was
never released, which caused the test to be killed when the GC collected
the still active wake lock.

Change-Id: Iee2c0478470be987ade405a45abf42ca61b681ab
parent 2dc6af20
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -98,7 +98,9 @@ public class MediaFrameworkTest extends Activity implements SurfaceHolder.Callba
        mWakeLock.acquire();
    }

    public void onStop(Bundle icicle) {
    @Override
    public void onDestroy() {
        super.onDestroy();
        mWakeLock.release();
    }