Correctly set the animation flag of the ActionBar

Showing/hiding the ActionBar is intentionally done without any animation
when done while the Activity is not visible (between onPostResume and
onStop). The issue is the animation flag was not set at all when the
ActionBar was initialized (i.e. getActionBar() called) between these two
lifecycle methods (because mActionBar was null).

A temporary solution is to call getActionBar() to initialize the
ActionBar in onCreate().

This patch simply keeps a flag of the current animation state and
update it whenever the ActionBar and/or the flag has been modified.

Change-Id: Ia28c62410691e95b823d907de0279edaf0592f21
Suspend Actions [1/3]

Change-Id: I4e27287ce1815ac2cd18a133314b5fda52b34996
Squash UMS Commits [1/3]

Credits: CyanogenMod

Change-Id: I09ed8bcc053f545377f28839673eadd2b9a2b872
Disable Camera shutter sound [2/3]

Change-Id: I8cdc6e2b65ee4ca946e69aa43d2a4ff13ced225f
Recents: Google Recents

Change-Id: I2207a0574a3c48aaf32b04f619be0f9242c350ab
Small string changes

Change-Id: If9fd9a6da33c6994068a8c0ab587778907632385
Double tap to sleep [1/2]

Change-Id: I4c54718e8ec8774677d13917b3a7ffa3b4b18cb5
Merge "Correctly set the animation flag of the ActionBar" into du44
[1/2] Base: Add an option to change the device hostname

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: I56da8b49899e2a8c1a34bf8eee618e048ba7d82d
Merge "Suspend Actions [1/3]" into du44
Merge "Disable Camera shutter sound [2/3]" into du44
Merge "Recents: Google Recents" into du44
Merge "Squash UMS Commits [1/3]" into du44
Merge "Double tap to sleep [1/2]" into du44
Speed up booting on multicore devices [1/2]

1. Add multithreading support to Installer/installd.
2. Parallelize package scanning.
3. Parallelize boot dexopt.

Change-Id: Id42b2bf4a737f93f9ecd9b5819344adbb735f0fb
Recents clear all app lock option

Change-Id: I254ecbe45c14d47a60e7d39c011421e4c9c276a0
Toast Animations [1/2]

Change-Id: Ib6b5aa94237207ada78c512997c8fc9765d68d1f
Merge "[1/2] Base: Add an option to change the device hostname" into du44
Merge "Recents clear all app lock option" into du44
Merge "Toast Animations [1/2]" into du44