adding fixedRotation to settings
This commit is contained in:
@@ -734,6 +734,8 @@
|
||||
<string name="search_results_order_bottom_up">Bottom-up</string>
|
||||
<string name="preference_layout_fixed_search_bar">Fixed search bar</string>
|
||||
<string name="preference_layout_fixed_search_bar_summary">Don\'t scroll the search bar out of view</string>
|
||||
<string name="preference_layout_fixed_rotation">Fixed rotation</string>
|
||||
<string name="preference_layout_fixed_rotation_summary">Lock rotation to portrait mode</string>
|
||||
<string name="preference_screen_gestures">Gestures</string>
|
||||
<string name="preference_screen_gestures_summary">Gestures and gesture actions</string>
|
||||
<string name="preference_gesture_swipe_down">Swipe down</string>
|
||||
|
||||
@@ -168,6 +168,7 @@ fun createFactorySettings(context: Context): Settings {
|
||||
.setBaseLayout(Settings.LayoutSettings.Layout.PullDown)
|
||||
.setBottomSearchBar(false)
|
||||
.setReverseSearchResults(false)
|
||||
.setFixedRotation(false)
|
||||
)
|
||||
.setGestures(
|
||||
Settings.GestureSettings.newBuilder()
|
||||
|
||||
@@ -298,6 +298,7 @@ message Settings {
|
||||
bool bottom_search_bar = 2;
|
||||
bool reverse_search_results = 3;
|
||||
bool fixed_search_bar = 4;
|
||||
bool fixed_rotation = 5;
|
||||
}
|
||||
LayoutSettings layout = 27;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user