framework: Toggle insecure lockscreen bypass with keyboard/smart cover

Makes it possible to toggle the feature that bypasses the lockscreen when the
hardware keyboard is slid out/smart cover is opened and security mode is 'none'

Change-Id: I90e874fc978c8cdafd47582c8bc3a2be3fbcd89e

Conflicts:
	core/java/android/provider/Settings.java

(cherry picked from commit 9150b9498b4bd5fe3c351391197645c90d90590c)
SystemUI: fix nav bar arrow keys for RTL locales

Change-Id: I567636ab0beff3ad6e12c8552cf0d1447d7bc288
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit 807ae87321e857b4da546f400f0997b5b7b84f89)
Revert "LN: beautify"

This reverts commit c014b19235e575c1b60176cbb1e8b474fe06284b.

(cherry picked from commit 9ec5261540969b16b6f9102f518f8ebed6cb9143)