summaryrefslogtreecommitdiff
authorlu.wang <lu.wang@amlogic.com>2017-07-14 06:27:41 (GMT)
committer lu.wang <lu.wang@amlogic.com>2017-07-14 06:27:41 (GMT)
commit1ce52bb8750c0f59357d8e14799076e7072f0454 (patch)
tree2f811d06241e6c8779b3248993cfe8e10a8c0406
parent675777f9ba1fc4d4b7903a998b36b114ab863e00 (diff)
downloadVideoPlayer-1ce52bb8750c0f59357d8e14799076e7072f0454.zip
VideoPlayer-1ce52bb8750c0f59357d8e14799076e7072f0454.tar.gz
VideoPlayer-1ce52bb8750c0f59357d8e14799076e7072f0454.tar.bz2
MoviePlayer:summary commit message [1/1]
PD# 147229 fix unable to back to the home activity directly Change-Id: Ib532caf940e699415dda5e2625cff6a1da63936c
Diffstat
-rw-r--r--src/com/droidlogic/videoplayer/FileList.java2
-rw-r--r--src/com/droidlogic/videoplayer/VideoPlayer.java12
2 files changed, 1 insertions, 13 deletions
diff --git a/src/com/droidlogic/videoplayer/FileList.java b/src/com/droidlogic/videoplayer/FileList.java
index fb5ab93..2a5f5ed 100644
--- a/src/com/droidlogic/videoplayer/FileList.java
+++ b/src/com/droidlogic/videoplayer/FileList.java
@@ -980,7 +980,7 @@ public class FileList extends ListActivity {
FileList.this.finish();
}*/
startActivity (intent);
-// FileList.this.finish();
+ //FileList.this.finish();
}
public int filterDir (File file) {
diff --git a/src/com/droidlogic/videoplayer/VideoPlayer.java b/src/com/droidlogic/videoplayer/VideoPlayer.java
index 6378439..57aa3a4 100644
--- a/src/com/droidlogic/videoplayer/VideoPlayer.java
+++ b/src/com/droidlogic/videoplayer/VideoPlayer.java
@@ -2326,18 +2326,6 @@ public class VideoPlayer extends Activity {
}
item_position_selected = item_position_selected_init + mPlayList.getindex();
browserBackDoing = true;
- if (browserBackInvokeFromOnPause == true) {
-// mPlayList.rootPath = null;
- }
- else {
- if (!backToOtherAPK) {
- Intent selectFileIntent = new Intent();
- Bundle bundle = getFilePos();
- selectFileIntent.setClass (VideoPlayer.this, FileList.class);
- selectFileIntent.putExtras (bundle);
- startActivity (selectFileIntent);
- }
- }
showNoOsdView();
stop();
finish();