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. https://gitlab.com/fdroid/privileged-extension/merge_requests/3 https://gitlab.com/fdroid/privileged-extension/merge_requests/5
This commit is contained in:
parent
1192410d87
commit
7afee40d8f
@ -41,7 +41,8 @@ abstract class InstallExtension {
|
|||||||
|
|
||||||
final Context context;
|
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) {
|
InstallExtension(final Context context) {
|
||||||
this.context = context;
|
this.context = context;
|
||||||
@ -191,7 +192,7 @@ abstract class InstallExtension {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected String getSystemFolder() {
|
protected String getSystemFolder() {
|
||||||
return FDroidApp.SYSTEM_DIR_NAME + "/priv-app/FDroidPrivileged/";
|
return FDroidApp.SYSTEM_DIR_NAME + "/priv-app/" + BASE_NAME + "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user