summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorShuhao Wu <shuhao@shuhaowu.com>2014-12-23 16:30:14 +0000
committerSteve Kondik <steve@cyngn.com>2015-10-26 02:34:23 -0700
commit2a2cc073b2b8918b5bd18c535f53de73d578db81 (patch)
treef08741d63774978c3ac5588e651b66e97eb55bc2 /core/java
parentb16a02f9a3648fc27de3f17884a5e880c44dd1c1 (diff)
downloadframeworks_base-2a2cc073b2b8918b5bd18c535f53de73d578db81.zip
frameworks_base-2a2cc073b2b8918b5bd18c535f53de73d578db81.tar.gz
frameworks_base-2a2cc073b2b8918b5bd18c535f53de73d578db81.tar.bz2
Left handed navbar during landscape mode
This patch allows for the navbar to be moved to the left side of the screen during landscape mode. Left handed people are more used to this option. This patch must go with another patch that changes packages/apps/Settings Screenshot: http://i.imgur.com/jWqJcEV.png Change-Id: Ic95e3fda1f55efd2ec908c8d7226e638ec0ab80a Expanded Desktop : Fix Left handed navbar during landscape mode from http://review.cyanogenmod.org/#/c/57454 when you enable expanded desktop and left handed navbar. you need to swipe from right edge to show navbar. but this patch will change to swipe from left edge to show navbar. Video avalible at http://youtu.be/rUy14LQj9iE Patchset2 : change tab to whitespace Patchset3 : remove \r after @override in PhoneWindowManager.java Patchset4 : Update commit message Patchset5 : Address code formating comments Patchset6 : Whitespace Altaf-Mahdi Add left gesture for edge gesture service Change-Id: I65a15c6f5e662e429a818484de6b71e81c7ae713
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index a9c2fc2..d807906 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -3739,6 +3739,12 @@ public final class Settings {
public static final String VOLUME_WAKE_SCREEN = "volume_wake_screen";
/**
+ * Whether navigation bar is placed on the left side in landscape mode
+ * @hide
+ */
+ public static final String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left";
+
+ /**
* Settings to backup. This is here so that it's in the same place as the settings
* keys and easy to update.
*