diff options
Diffstat (limited to 'recipes/zaurusd/files/01-check-toggle-portait')
-rw-r--r-- | recipes/zaurusd/files/01-check-toggle-portait | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/zaurusd/files/01-check-toggle-portait b/recipes/zaurusd/files/01-check-toggle-portait new file mode 100644 index 0000000000..4c3b7f1291 --- /dev/null +++ b/recipes/zaurusd/files/01-check-toggle-portait @@ -0,0 +1,9 @@ +#!/bin/sh + +# Try to determine and ignore false rotation signals caused by +# headphones removal or remote removal remembering the old state. +# OE#3390 +if test "`cat /var/run/last-screen-rotation`" = portait ; then + exit +fi +echo portait > /var/run/last-screen-rotation |