summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2015-03-07 05:22:23 +0200
committerAdrian DC <radian.dc@gmail.com>2015-11-28 08:18:49 -0800
commit732cec2f04ff3a70aa92c2e5823e788093552db9 (patch)
tree8447813f193fbc2cbe17755cb674df16c12307ec /src/com
parente5492c33f54ed5291901362a766c6790f404df2c (diff)
downloadpackages_apps_Settings-732cec2f04ff3a70aa92c2e5823e788093552db9.zip
packages_apps_Settings-732cec2f04ff3a70aa92c2e5823e788093552db9.tar.gz
packages_apps_Settings-732cec2f04ff3a70aa92c2e5823e788093552db9.tar.bz2
Settings: Allow launching display rotation settings externally
Change-Id: I69168fea2a43cfa7f2b8474042c35720f4431040
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/Settings.java1
-rw-r--r--src/com/android/settings/SettingsActivity.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/settings/Settings.java b/src/com/android/settings/Settings.java
index 2f9901f..839b299 100644
--- a/src/com/android/settings/Settings.java
+++ b/src/com/android/settings/Settings.java
@@ -119,6 +119,7 @@ public class Settings extends SettingsActivity {
public static class AppDrawOverlaySettingsActivity extends SettingsActivity { /* empty */ }
public static class AppWriteSettingsActivity extends SettingsActivity { /* empty */ }
public static class LiveDisplayActivity extends SettingsActivity { /* empty */ }
+ public static class DisplayRotationActivity extends SettingsActivity { /* empty */ }
public static class BlacklistSettingsActivity extends SettingsActivity { /* empty */ }
public static class AnonymousStatsActivity extends Settings { /* empty */ }
}
diff --git a/src/com/android/settings/SettingsActivity.java b/src/com/android/settings/SettingsActivity.java
index 28204b4..5dcff22 100644
--- a/src/com/android/settings/SettingsActivity.java
+++ b/src/com/android/settings/SettingsActivity.java
@@ -81,6 +81,7 @@ import com.android.settings.applications.UsageAccessDetails;
import com.android.settings.applications.WriteSettingsDetails;
import com.android.settings.blacklist.BlacklistSettings;
import com.android.settings.bluetooth.BluetoothSettings;
+import com.android.settings.cyanogenmod.DisplayRotation;
import com.android.settings.dashboard.DashboardCategory;
import com.android.settings.dashboard.DashboardSummary;
import com.android.settings.dashboard.DashboardTile;
@@ -364,6 +365,7 @@ public class SettingsActivity extends Activity
DrawOverlayDetails.class.getName(),
WriteSettingsDetails.class.getName(),
LiveDisplay.class.getName(),
+ com.android.settings.cyanogenmod.DisplayRotation.class.getName(),
com.android.settings.cyanogenmod.PrivacySettings.class.getName(),
BlacklistSettings.class.getName()
};