Fix: wallpaper changes when changing lockscreen WP

Since LockscreenWallpaperPickerActivity did not override
cropImageAndSetWallpaper the homescreen wallpaper was changing
when selecting the default_wallpaper resource.

Change-Id: I26dd28e628a3ef701ad92a81aa80327d3ccba092
(cherry picked from commit 000166353570e78735ae242d0198c7a3a6c10000)
Fix side button visibility tracking.

Previously one could e.g. get legacy menu button being visible in
certain scenarios, like this one:
- Open legacy app, e.g. CatLog
- Invoke IME
- Lock screen
- Unlock screen
- Result: Menu button visible in keyguard

Change-Id: Ia796f73ec995ea1cc34d38f8aefdbccda7be7565
(cherry picked from commit 49a9b72821ea673cb2faf30cf0d3be16902cf669)
frameworks: base: grammar fixes

props to  Boštjan Mejak for letting JIRA know.

JIRA issue: CYAN-4913

Change-Id: I09b742b1935b7ae5a2588ddc2c8c529e4bac0664
(cherry picked from commit 7e348dbf298c7c2e8df28d977b940c2c425bc016)
Allow translucent navigation bar in landscape mode.

Change-Id: I5388f3f8a34533624619714bacfba52f95fc6d85
(cherry picked from commit e24fc7be3a3265ca54bf830c4ebea8c64fc808ef)