[app] Add Constants.getXposedApiVersion (#162)
This commit is contained in:
parent
3772fea76d
commit
61bca22554
|
|
@ -22,8 +22,9 @@ package io.github.lsposed.manager;
|
|||
|
||||
import android.widget.Toast;
|
||||
|
||||
@SuppressWarnings({"FieldCanBeLocal", "FieldMayBeFinal"})
|
||||
public class Constants {
|
||||
@SuppressWarnings("FieldMayBeFinal")
|
||||
private static int xposedApiVersion = -1;
|
||||
private static String xposedVersion = null;
|
||||
|
||||
public static void showErrorToast(int type) {
|
||||
|
|
@ -34,4 +35,8 @@ public class Constants {
|
|||
public static String getXposedVersion() {
|
||||
return xposedVersion;
|
||||
}
|
||||
|
||||
public static int getXposedApiVersion() {
|
||||
return xposedApiVersion;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue