SystemUI: Add missing recycle calls (fix lint warning)

Change-Id: Ic3462ceb8d85e4ec2aee833d4327c4b81f5eac5a
(cherry picked from commit 1c05e9a0232232964698cee0c84b046b41efe46f)
NPE in SearchManager.triggerSearch

mAssociatedPackage field is never initialized and cause NPE.

Change-Id: Ibf0d44b2170b7cbfe4a883008254a086e03579c5
(cherry picked from commit 1c84769f427b16aea8da590cd35edb626c669b71)
Fix for NullPointerException in HTML5VideoViewProxy

There is a missing null check of mHTML5VideoView.

Change-Id: Ic49ad02703717c3b76da4371e80abfdebff90873
(cherry picked from commit a324758df6657e617e7c1e37966547814fa0a909)
Fix to NullPointerException when activity is relaunched

When ChooseTypeAndAccountActivity is relaunched and resumed
by ActivityManager a call is made to onActivityResult without
first triggering onResume. This leads to mAccounts object
still being null.

Fixed by properly setting mAccounts object if it is null prior
to use after function onCreate has been called.

Change-Id: Ife7e1e052c473970d923fa43ee6189eb62a1113b
(cherry picked from commit 2d5f3e3c2352a6084626cf599ec6a480f9bebf40)
Missing break in switch statement

Change-Id: I1b7e7a94df8d39e162050911e31e510d2ce5447e
(cherry picked from commit 72b073005a3ca9f6fdc2b451efbfc614cad55b3c)
Prevent nullPointerException by updateBondedBluetoothDevices

In some very rare cases difficult to identify, it seems that the
IBluetooth.getBondedDevices() returns a Set with a null element.

This patch will prevent calling getBondState() if the device is null to
avoid a nullPointerException.

Change-Id: I9bcad60c37e03c77ec39227e5c947c002a3ae2c7
Orig-Change-Id: I8845f0e6b8fdcda679bc71e2b5c33fd4a52f3ac5
Signed-off-by: Patrick Combes <patrick.combes@intel.com>
Reviewed-on: http://android.intel.com:8080/116592
Reviewed-by: Bondier, CedricX <cedricx.bondier@intel.com>
Reviewed-by: Chen, HuaqiangX <huaqiangx.chen@intel.com>
Reviewed-by: Yao, Yong <yong.yao@intel.com>
Reviewed-by: Aquilone, RaffaeleX <raffaelex.aquilone@intel.com>
Tested-by: Lestienne, ChristopheX <christophex.lestienne@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 90085
(cherry picked from commit 40db7170732e95bca243357a040380069f645840)
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
(cherry picked from commit 497e7581290a5ff23b0706136a343faccf2d5d73)