mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-12 01:21:09 -07:00
- Better implementation of Tools.ignoreNotch to work with all activities.
This commit is contained in:
parent
4ebf4cde5c
commit
12009282d4
4 changed files with 10 additions and 8 deletions
|
|
@ -11,7 +11,6 @@ import java.io.*;
|
|||
import com.google.gson.*;
|
||||
|
||||
import static net.kdt.pojavlaunch.prefs.LauncherPreferences.DEFAULT_PREF;
|
||||
import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_IGNORE_NOTCH;
|
||||
|
||||
public class MainActivity extends BaseMainActivity {
|
||||
private ControlLayout mControlLayout;
|
||||
|
|
@ -24,7 +23,6 @@ public class MainActivity extends BaseMainActivity {
|
|||
super.onCreate(savedInstanceState);
|
||||
initLayout(R.layout.main_with_customctrl);
|
||||
|
||||
Tools.ignoreNotch(PREF_IGNORE_NOTCH, this);
|
||||
|
||||
mClickListener = new View.OnClickListener(){
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue