mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-15 11:00:09 -07:00
- Fixed wrong constructor for android pie
This commit is contained in:
parent
bd6342d256
commit
c6c05b2247
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
fileObserver = new FileObserver(new File(Tools.DIR_GAME_NEW + "/options.txt"), FileObserver.MODIFY) {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(int i, @Nullable String s) {
|
public void onEvent(int i, @Nullable String s) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue