mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-19 01:27:18 -04:00
- Fixed wrong constructor for android pie
This commit is contained in:
parent
bd6342d256
commit
c6c05b2247
@ -105,7 +105,7 @@ public class MainActivity extends BaseMainActivity {
|
||||
}
|
||||
};
|
||||
|
||||
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P){
|
||||
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q){
|
||||
fileObserver = new FileObserver(new File(Tools.DIR_GAME_NEW + "/options.txt"), FileObserver.MODIFY) {
|
||||
@Override
|
||||
public void onEvent(int i, @Nullable String s) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user