Fix crash in Settings from uninstall am: 6e2e8e17cf
am: 34d6ea560d
am: eccc9b3962
* commit 'eccc9b39626c525763e5590728f413e4d7ff8cf5':
Fix crash in Settings from uninstall
This commit is contained in:
@@ -704,6 +704,10 @@ public class InstalledAppDetails extends AppInfoBase
|
||||
* @see android.view.View.OnClickListener#onClick(android.view.View)
|
||||
*/
|
||||
public void onClick(View v) {
|
||||
if (mAppEntry == null) {
|
||||
setIntentAndFinish(true, true);
|
||||
return;
|
||||
}
|
||||
String packageName = mAppEntry.info.packageName;
|
||||
if(v == mUninstallButton) {
|
||||
if ((mAppEntry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
||||
|
Reference in New Issue
Block a user