HeadsUp: Only remove heads up if attached to window

Attempting to remove mHeadsUpNoficiationView from the window manager
when it is not currently attached will throw an IllegalArgumentException
so we check if it is attached and if so remove it, otherwise carry on.

Change-Id: Ida916eba496c4183e47288ef24a8a93c46a7eddf
quiethours: inclusive start hour

If quiethours is defined to start at 01:00 it should start at 01:00 not at 01:01

Change-Id: I0d0fe35a9235fb4bb04794e94f7678ee137d9be7
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
frameworks: set default expanded desktop style

On a fresh boot, a user can add an expanded desktop tile. They can also
add it to their power menu. But until they go into Display -> Expanded
desktop style and set it to something other than disabled, it won't show
up anywhere.

Since the user has to toggle expanded desktop, let's use a sensible
default and avoid the extra step.

Change-Id: I7fbe8c58d85d14c227d5e237260eee4181beafed
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge branch 'cm-11.0' into kk_mkt