packages\apps\Gallery2\src\com\android\gallery3d\app\SlideshowPage.java中:标签:added,mediaPath,alps00999947,视频文件,android,data,gallery3d,幻灯片 From: https://blog.51cto.com/u_15170706/6114551
1、添加:
import com.android.gallery3d.data.FilterSource;//added byMTK for alps00999947
2、 initializeData()方法中:
private void initializeData(Bundle data) {
...
String mediaPath = data.getString(KEY_SET_PATH);
//added by MTK for alps00999947 start
mediaPath = mediaPath.replace(FilterSource.FILTER_CAMERA_SHORTCUT + ",", "");
// mediaPath = FilterUtils.newFilterPath(mediaPath, FilterUtils.FILTER_IMAGE_ONLY);
//added by MTk for alps00999947 end
MediaSet mediaSet = null;
...
}