mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-19 21:19:16 -04:00
Fixing a context menu related crash mentioned in a crash report
This commit is contained in:
@@ -97,6 +97,8 @@ public class DownloadOptionsFragment extends DetailsFragment {
|
||||
private boolean isConvertible(App app) {
|
||||
return isInstalled(app)
|
||||
&& !app.getPackageName().equals(BuildConfig.APPLICATION_ID)
|
||||
&& null != app.getPackageInfo().applicationInfo
|
||||
&& null != app.getPackageInfo().applicationInfo.sourceDir
|
||||
&& !app.getPackageInfo().applicationInfo.sourceDir.endsWith("pkg.apk")
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user