hikey: Force Rotation Lock am: 18db08aca5 am: 46eb4fffc8 am: 6196d635ca
am: aafe3949e1
Change-Id: I7804b7b5ddb2ecafeecd226f3354781f522e0231
diff --git a/init.common.rc b/init.common.rc
index 07becb0..41fd8d3 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -50,6 +50,8 @@
# Set supported opengles version
setprop ro.opengles.version 196608
+# If an app forces screen rotation, revert it once the apps closes
+ setprop persist.demo.rotationlock 1
# enable Google-specific location features,
# like NetworkLocationProvider and LocationCollector