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

Commit f2936d7b authored by Christopher Wiley's avatar Christopher Wiley Committed by android-build-merger
Browse files

Merge "Fix race in AppOpsManager client library"

am: 712fe62a

* commit '712fe62a':
  Fix race in AppOpsManager client library
parents f2262032 712fe62a
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 {