Merge "profcollect: Fix possible NPE in ProfcollectBGJobService"

This commit is contained in:
Treehugger Robot
2022-09-14 07:59:49 +00:00
committed by Gerrit Code Review

View File

@@ -218,6 +218,9 @@ public final class ProfcollectForwardingService extends SystemService {
BackgroundThread.get().getThreadHandler().post(
() -> {
try {
if (sSelfService.mIProfcollect == null) {
return;
}
sSelfService.mIProfcollect.process();
} catch (RemoteException e) {
Log.e(LOG_TAG, "Failed to process profiles in background: "