diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2014-12-13 04:44:33 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-12-13 04:44:33 -0800 |
| commit | 33de6d698f0ff30dd0382e99e5d80a7d8ee0ed5c (patch) | |
| tree | 54f4e540b2b0af03c41126ca74b5897b242f97ce /src/com | |
| parent | c6f3cc36965ddbc3d47894875ac948b03b7bc6cd (diff) | |
| parent | 1eb037d73381b64130f20894d834152add8959a8 (diff) | |
| download | android_packages_apps_Gallery2-33de6d698f0ff30dd0382e99e5d80a7d8ee0ed5c.tar.gz android_packages_apps_Gallery2-33de6d698f0ff30dd0382e99e5d80a7d8ee0ed5c.tar.bz2 android_packages_apps_Gallery2-33de6d698f0ff30dd0382e99e5d80a7d8ee0ed5c.zip | |
Merge "Gallery2: Clear Bookmark when complete video play"
Diffstat (limited to 'src/com')
| -rw-r--r-- | src/com/android/gallery3d/app/MovieActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/MovieActivity.java b/src/com/android/gallery3d/app/MovieActivity.java index ff874fbe0..8ee44402b 100644 --- a/src/com/android/gallery3d/app/MovieActivity.java +++ b/src/com/android/gallery3d/app/MovieActivity.java @@ -192,6 +192,9 @@ public class MovieActivity extends Activity { public void onCompletion() { if (mFinishOnCompletion) { finish(); + mControlResumed = false; + Bookmarker mBookmarker = new Bookmarker(MovieActivity.this); + mBookmarker.setBookmark(mMovieItem.getUri(), 0, 1); } } }; |
