Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 712fe62a authored by Christopher Wiley's avatar Christopher Wiley Committed by Gerrit Code Review
Browse files

Merge "Fix race in AppOpsManager client library"

parents dda39f2a 6dd45526
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -53,7 +53,8 @@ sp<IAppOpsService> AppOpsManager::getService()
                ALOGI("Waiting for app ops service");
            } else if ((uptimeMillis()-startTime) > 10000) {
                ALOGW("Waiting too long for app ops service, giving up");
                return NULL;
                service = NULL;
                break;
            }
            sleep(1);
        } else {