diff --git a/F-Droid/res/layout/label.xml b/F-Droid/res/layout/label.xml deleted file mode 100644 index b9b80e7b3..000000000 --- a/F-Droid/res/layout/label.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/F-Droid/res/values/strings.xml b/F-Droid/res/values/strings.xml index 48095b879..5155416c5 100644 --- a/F-Droid/res/values/strings.xml +++ b/F-Droid/res/values/strings.xml @@ -367,8 +367,6 @@ Do you want to replace this app with the factory version? Do you want to uninstall this app? - This update requires no new permissions. - NEW: Provided by %1$s. diff --git a/F-Droid/src/org/fdroid/fdroid/installer/InstallConfirmActivity.java b/F-Droid/src/org/fdroid/fdroid/installer/InstallConfirmActivity.java index 33b4473f3..e38d1d1ae 100644 --- a/F-Droid/src/org/fdroid/fdroid/installer/InstallConfirmActivity.java +++ b/F-Droid/src/org/fdroid/fdroid/installer/InstallConfirmActivity.java @@ -100,11 +100,7 @@ public class InstallConfirmActivity extends Activity implements OnCancelListener mScrollView.addView(perms.getPermissionsView( AppSecurityPermissions.WHICH_NEW)); } else { - LayoutInflater inflater = (LayoutInflater) getSystemService( - Context.LAYOUT_INFLATER_SERVICE); - TextView label = (TextView) inflater.inflate(R.layout.label, null); - label.setText(R.string.no_new_perms); - mScrollView.addView(label); + throw new RuntimeException("This should not happen. No new permissions were found but InstallConfirmActivity has been started!"); } adapter.addTab(tabHost.newTabSpec(TAB_ID_NEW).setIndicator( getText(R.string.newPerms)), mScrollView);