android7.0上Gallery2中长按缩略图后选择edit会闪退,报错信息如下:
--------- beginning of crash
11-07 16:40:34.155 3534 3534 E AndroidRuntime: FATAL EXCEPTION: main
11-07 16:40:34.155 3534 3534 E AndroidRuntime: Process: com.android.gallery3d, PID: 3534
11-07 16:40:34.155 3534 3534 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayOptions(int)' on a null object reference
11-07 16:40:34.155 3534 3534 E AndroidRuntime: at com.android.gallery3d.filtershow.FilterShowActivity.loadXML(FilterShowActivity.java:352)
11-07 16:40:34.155 3534 3534 E AndroidRuntime: at com.android.gallery3d.filtershow.FilterShowActivity.updateUIAfterServiceStarted(FilterShowActivity.java:265)
11-07 16:40:34.155 3534 3534 E AndroidRuntime: at com.android.gallery3d.filtershow.pipeline.ProcessingService.onStart(ProcessingService.java:231)
11-07 16:40:34.155 3534 3534 E AndroidRuntime: at com.android.gallery3d.filtershow.FilterShowActivity$1.onServiceConnected(FilterShowActivity.java:219)
11-07 16:40:34.155 3534