summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2020-05-27 02:34:40 +0300
committerBeYkeRYkt <beykerykt@gmail.com>2020-06-01 22:25:01 +0900
commitfed020f0d841f2c81fdd9b5e9e1e6bdd21f4ab57 (patch)
tree1be722d283bafbfdecba82cd584ebc392c359db2
parent64c7e89b6996a61512c85e0b6c9609444dc67c5c (diff)
downloadandroid_packages_apps_Gallery2-lineage-17.1.zip
android_packages_apps_Gallery2-lineage-17.1.tar.gz
android_packages_apps_Gallery2-lineage-17.1.tar.bz2
Revert "Gallery2: Sort media by DATE_ADDED"lineage-17.1
* Media provider has been fixed. This reverts commit a9a010a545ef943706c074200fd5a6378b322a3a. Change-Id: Ideb765187d0760335f2059d536387b409117dd09
-rwxr-xr-xsrc/com/android/gallery3d/data/LocalMediaItem.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/data/LocalMediaItem.java b/src/com/android/gallery3d/data/LocalMediaItem.java
index 73b8255..03156d3 100755
--- a/src/com/android/gallery3d/data/LocalMediaItem.java
+++ b/src/com/android/gallery3d/data/LocalMediaItem.java
@@ -53,7 +53,7 @@ public abstract class LocalMediaItem extends MediaItem {
@Override
public long getDateInMs() {
- return dateAddedInSec * 1000;
+ return dateTakenInMs;
}
@Override