summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/applications/InstalledAppDetails.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/android/settings/applications/InstalledAppDetails.java b/src/com/android/settings/applications/InstalledAppDetails.java
index 36adae2..416c92f 100644
--- a/src/com/android/settings/applications/InstalledAppDetails.java
+++ b/src/com/android/settings/applications/InstalledAppDetails.java
@@ -852,6 +852,12 @@ public class InstalledAppDetails extends Fragment
}
}
+
+ // only setup the privacy guard setting if we didn't get uninstalled
+ if (!mMoveInProgress) {
+ initPrivacyGuardButton();
+ }
+
return true;
}
@@ -992,7 +998,6 @@ public class InstalledAppDetails extends Fragment
initDataButtons();
initMoveButton();
initNotificationButton();
- initPrivacyGuardButton();
} else {
mMoveAppButton.setText(R.string.moving);
mMoveAppButton.setEnabled(false);