Fix frontOfTask assignment.

If all activities of a given stack were finishing, no activity was
marked as front-of-task. This confused ActivityManager, so make sure
there's always exactly one activity marked as front-of-task.

Change-Id: I087cbe10280d4a60aa5ccfaefe24a223523fb3f2
Keyguard: fix NPE setting lockscreen wallpaper

After boot the view might not be laid out and so getWidth() and
getHeight() return 0 and will cause a NullPointerException in
createBitmap().

Change-Id: Ibacf4199a69709dc34d21695732c2a5360533a23
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
FB: Add Dialpad key padding [2/3]

Add top and bottom padding to Dialpad number keys to make the layout seem
        less crowded.

Change-Id: I04f02963da82df5ebfbfa2936c3060355169b479

Conflicts:
	core/java/android/provider/Settings.java
Merge branch 'cm-11.0' of https://github.com/temasek/android_frameworks_base into HEAD