Commit 19f90bbd authored by Hans-Christoph Steiner's avatar Hans-Christoph Steiner
Browse files

standardize priv-app install name as FDroidPrivilegedExtension

This syncs up the name the root install method uses with what is used by
the ROM integration and update.zip.  It also uses the full name for
consistency, with non-alpha and spaces removed following priv-app naming
conventions.

fdroid/privileged-extension!3
fdroid/privileged-extension!5
parent 1192410d
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -41,7 +41,8 @@ abstract class InstallExtension {

    final Context context;

    private static final String APK_FILE_NAME = "FDroidPrivileged.apk";
    private static final String BASE_NAME = "FDroidPrivilegedExtension";
    private static final String APK_FILE_NAME = BASE_NAME + ".apk";

    InstallExtension(final Context context) {
        this.context = context;
@@ -191,7 +192,7 @@ abstract class InstallExtension {
         */
        @Override
        protected String getSystemFolder() {
            return FDroidApp.SYSTEM_DIR_NAME + "/priv-app/FDroidPrivileged/";
            return FDroidApp.SYSTEM_DIR_NAME + "/priv-app/"+ BASE_NAME +"/";
        }

        /**