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.

Signed-off-by: Leavitt Zhang <leavittz@nvidia.com>
Change-Id: Iea3a720e6d7296fedff318643a1b4f5b9fce900c
Share hardware capability info between QuickSettingsController instances

If these variables are going to be in the heap rather than on the stack (which, given the frequency with which they're used, wouldn't be the end of the world),
we may as well only do it once.

This will not have the problem introduced in http://vaniraosp.goo.im/#/c/9195/ and fixed in aa865ed because all of the values AND the boolean that keeps them from being re-retrieved and re-stored are static.

Change-Id: I0e83cd618822ce42df2c5b97d485c19e90ff2d77