Fix crash in Settings from uninstall
Bug: 25171390 Change-Id: Idd0319a5c003ba2183264684806d2b0aaffa1d7e
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