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

Commit 60ba8a83 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽 Committed by Mohammed Althaf T
Browse files

147-Remove_UI_placement_settings

parent 66979b7f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -192,6 +192,8 @@ public class MainUI {
    }

    private UIPlacement computeUIPlacement() {
        // Default top
        if (true) return UIPlacement.UIPLACEMENT_TOP;
        SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(main_activity);
        String ui_placement_string = sharedPreferences.getString(PreferenceKeys.UIPlacementPreferenceKey, "ui_top");
        switch( ui_placement_string ) {
+2 −2
Original line number Diff line number Diff line
@@ -2,14 +2,14 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    android:key="preferences_root">

    <ListPreference
    <!-- <ListPreference
        android:key="preference_ui_placement"
        android:title="@string/preference_ui_placement"
        android:summary="%s"
        android:entries="@array/preference_ui_placement_entries"
        android:entryValues="@array/preference_ui_placement_values"
        android:defaultValue="ui_top"
        />
        /> -->

    <!--  if we move this to another PreferenceGroup, we should update code to remove this Preference -->
    <ListPreference