BroadcastQueue: fix class typo of next receiver

nextReceiver should be cast to ResolveInfo
instead of ActivityInfo since it's ResolveInfo
that is pushed into List r.receivers.
Otherwise nextReceiver will always be null
as there is no ActivityInfo in r.receivers.

Change-Id: Iea3a720e6d7296fedff318643a1b4f5b9fce900c
Signed-off-by: Leavitt Zhang <leavittz@nvidia.com>
Make sure to turn off led after pulse()

setLightLocked() will update mColor. This will cause the led to not be
turned off after the pulse.
When notificationManager starts a attention pulse the led will be kept
on. Since attention is of highest prio nothing can turn it off.
This is fixed by resetting mColor back to 0 after the call.

Change-Id: Id60ef96e5c21b47c23002f0bcf2fae7fb3f2ca10
Framworks: clean up the AOSP tablet icon mess

well.....on grouper the overlay size for the navbar is/was 56dp...so
google added bigger icons then the usual ones into the sw600dp folders.
Well newer tablets have 48dp as default like the phones so the slightly bigger
icons do not fit 100% correct. It is not much but it is noticable.

So all devices have same navbar default height...so all icons should have same size
as well. Just remove the overlay icons so that the system automatically chooses the right
one from the default screen qualifier.

Change-Id: I4e4d87d70996ed1def359149cea829b5794f2448

Conflicts:
	packages/SystemUI/res/drawable-ldrtl-sw600dp-hdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-hdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-hdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-hdpi/ic_sysbar_recent_land.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-mdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-mdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-mdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-mdpi/ic_sysbar_recent_land.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xhdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xhdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xhdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xhdpi/ic_sysbar_recent_land.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xxhdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xxhdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xxhdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-ldrtl-sw600dp-xxhdpi/ic_sysbar_recent_land.png
	packages/SystemUI/res/drawable-sw600dp-hdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-sw600dp-hdpi/ic_sysbar_back_ime.png
	packages/SystemUI/res/drawable-sw600dp-hdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-sw600dp-hdpi/ic_sysbar_home.png
	packages/SystemUI/res/drawable-sw600dp-hdpi/ic_sysbar_home_land.png
	packages/SystemUI/res/drawable-sw600dp-hdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-sw600dp-hdpi/ic_sysbar_recent_land.png
	packages/SystemUI/res/drawable-sw600dp-mdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-sw600dp-mdpi/ic_sysbar_back_ime.png
	packages/SystemUI/res/drawable-sw600dp-mdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-sw600dp-mdpi/ic_sysbar_home.png
	packages/SystemUI/res/drawable-sw600dp-mdpi/ic_sysbar_home_land.png
	packages/SystemUI/res/drawable-sw600dp-mdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-sw600dp-mdpi/ic_sysbar_recent_land.png
	packages/SystemUI/res/drawable-sw600dp-xhdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-sw600dp-xhdpi/ic_sysbar_back_ime.png
	packages/SystemUI/res/drawable-sw600dp-xhdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-sw600dp-xhdpi/ic_sysbar_home.png
	packages/SystemUI/res/drawable-sw600dp-xhdpi/ic_sysbar_home_land.png
	packages/SystemUI/res/drawable-sw600dp-xhdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-sw600dp-xhdpi/ic_sysbar_recent_land.png
	packages/SystemUI/res/drawable-sw600dp-xxhdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-sw600dp-xxhdpi/ic_sysbar_back_ime.png
	packages/SystemUI/res/drawable-sw600dp-xxhdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-sw600dp-xxhdpi/ic_sysbar_home.png
	packages/SystemUI/res/drawable-sw600dp-xxhdpi/ic_sysbar_home_land.png
	packages/SystemUI/res/drawable-sw600dp-xxhdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-sw600dp-xxhdpi/ic_sysbar_recent_land.png
SystemUI: Slim Actions to Shortcuts (1/2)

Change-Id: Ic7cc70b5a55e98b1fd6784380049f54d0bd3f4d2

Conflicts:
	packages/SystemUI/src/com/android/systemui/CreateShortcut.java
	packages/SystemUI/src/com/android/systemui/shortcuts/PowerMenu.java
	packages/SystemUI/src/com/android/systemui/shortcuts/Torch.java
Frameworks: fix qs and notification shade toggle on expanded desktop

If expanded desktop is enabled and statusbar hidden the toggle does not force
the statusbar to show before it pulls down the shade

fix it with just requesting the the statusbar to show up before we actually
peform the action

Change-Id: I15805a57485220f083a3439617cceef8bd5c04cd

Conflicts:
	core/java/android/view/WindowManagerPolicy.java