Loading src/com/android/settings/InstalledAppDetails.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -231,6 +231,7 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene } } dataOnly = (info1 == null) && (mAppInfo != null); dataOnly = (info1 == null) && (mAppInfo != null); boolean moveDisable = true; boolean moveDisable = true; if (dataOnly) { if (dataOnly) { mMoveAppButton.setText(R.string.move_app); mMoveAppButton.setText(R.string.move_app); } else if ((mAppInfo.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { } else if ((mAppInfo.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { Loading Loading @@ -263,7 +264,9 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene } } } } } } if (moveDisable) { boolean allowMoveAllApps = android.provider.Settings.Secure.getInt(getContentResolver(), android.provider.Settings.Secure.ALLOW_MOVE_ALL_APPS_EXTERNAL, 1) == 1; if (!allowMoveAllApps && moveDisable) { mMoveAppButton.setEnabled(false); mMoveAppButton.setEnabled(false); } else { } else { mMoveAppButton.setOnClickListener(this); mMoveAppButton.setOnClickListener(this); Loading Loading
src/com/android/settings/InstalledAppDetails.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -231,6 +231,7 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene } } dataOnly = (info1 == null) && (mAppInfo != null); dataOnly = (info1 == null) && (mAppInfo != null); boolean moveDisable = true; boolean moveDisable = true; if (dataOnly) { if (dataOnly) { mMoveAppButton.setText(R.string.move_app); mMoveAppButton.setText(R.string.move_app); } else if ((mAppInfo.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { } else if ((mAppInfo.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { Loading Loading @@ -263,7 +264,9 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene } } } } } } if (moveDisable) { boolean allowMoveAllApps = android.provider.Settings.Secure.getInt(getContentResolver(), android.provider.Settings.Secure.ALLOW_MOVE_ALL_APPS_EXTERNAL, 1) == 1; if (!allowMoveAllApps && moveDisable) { mMoveAppButton.setEnabled(false); mMoveAppButton.setEnabled(false); } else { } else { mMoveAppButton.setOnClickListener(this); mMoveAppButton.setOnClickListener(this); Loading