Fix crash in Settings from uninstall am: 6e2e8e17cf
am: 34d6ea560d
am: eccc9b3962
am: 652ba5e22e
* commit '652ba5e22e86fe031ca080f5bfe032f27008989a':
Fix crash in Settings from uninstall
This commit is contained in:
@@ -705,6 +705,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