Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e5ff061 authored by Ethan Chen's avatar Ethan Chen
Browse files

Allow hardware overflow key to be show by default.

Currently this is controlled by a system setting, but there is no way to
set a default value for the system setting. This is very useful to have
for devices that have no hardware menu key.

Change-Id: I94212def19d3e2224d79d3a89e1e2d3b2883da21
parent d62ebbda
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -193,4 +193,7 @@

    <!-- Default for Settings.System.LOCKSCREEN_TARGETS. -->
    <string name="def_lockscreen_targets" translatable="false"></string>

    <!-- Default for Settings.System.UI_FORCE_OVERFLOW_BUTTON. -->
    <integer name="def_force_overflow_button">0</integer>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -1983,6 +1983,8 @@ public class DatabaseHelper extends SQLiteOpenHelper {

            loadStringSetting(stmt, Settings.System.LOCKSCREEN_TARGETS,
                    R.string.def_lockscreen_targets);
            loadIntegerSetting(stmt, Settings.System.UI_FORCE_OVERFLOW_BUTTON,
                    R.integer.def_force_overflow_button);
        } finally {
            if (stmt != null) stmt.close();
        }