Merge "profcollect: Fix possible NPE in ProfcollectBGJobService"
This commit is contained in:
@@ -218,6 +218,9 @@ public final class ProfcollectForwardingService extends SystemService {
|
|||||||
BackgroundThread.get().getThreadHandler().post(
|
BackgroundThread.get().getThreadHandler().post(
|
||||||
() -> {
|
() -> {
|
||||||
try {
|
try {
|
||||||
|
if (sSelfService.mIProfcollect == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
sSelfService.mIProfcollect.process();
|
sSelfService.mIProfcollect.process();
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.e(LOG_TAG, "Failed to process profiles in background: "
|
Log.e(LOG_TAG, "Failed to process profiles in background: "
|
||||||
|
|||||||
Reference in New Issue
Block a user