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
Merge "Fix frontOfTask assignment." into cm-11.0
Mute aapt
Fix quick swipe
Change default animation scale
Global actions: Profile in keyguard
Profile: Don't change media volume when music is active
White theme
DocumentsUI: File manager

Parts authored by: Yamil Ghazi <yghazi@gmail.com>
[1/3] Bass boost: Center frequency
[1/3] Stereo widener
[1/2] Profile: Remove screen lock mode
[1/2] Profile: Screen timeout
[1/2] Battery light: Add 100% charged level
[1/2] Buttons: Switch to last app
[1/2] Global actions: Mobile data
[1/2] Global actions: Wifi
[1/2] Quick pulldown: center
[1/2] Smart pulldown
[1/2] Volume panel timeout