hikey: Force Rotation Lock am: 18db08aca5
am: 46eb4fffc8
Change-Id: Ib0e2b52f03abed4210ed9d543ab87422f40502b1
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