mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-19 09:39:25 -04:00
- Updated CustomControlsActivity.java to take the IGNORE_NOTCH setting into account
This commit is contained in:
parent
a1c0afb518
commit
ed51099506
@ -18,6 +18,8 @@ import java.io.*;
|
||||
import net.kdt.pojavlaunch.prefs.*;
|
||||
import net.kdt.pojavlaunch.customcontrols.*;
|
||||
|
||||
import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_IGNORE_NOTCH;
|
||||
|
||||
public class CustomControlsActivity extends BaseActivity
|
||||
{
|
||||
private DrawerLayout drawerLayout;
|
||||
@ -33,6 +35,8 @@ public class CustomControlsActivity extends BaseActivity
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.control_mapping);
|
||||
|
||||
Tools.ignoreNotch(PREF_IGNORE_NOTCH, this);
|
||||
|
||||
mPref = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user