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

Commit a8f34d8a authored by Austin Borger's avatar Austin Borger Committed by Android (Google) Code Review
Browse files

Merge "Remove query_process_state flag and code" into main

parents 282b87d5 0d00863e
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -254,16 +254,6 @@ flag {
    }
}

flag {
    namespace: "camera_platform"
    name: "query_process_state"
    description: "In opChanged, query the process state from AM instead of relying on mUidPolicy"
    bug: "378016494"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    namespace: "camera_platform"
    name: "fmq_metadata"
+0 −2
Original line number Diff line number Diff line
@@ -4648,8 +4648,6 @@ void CameraService::BasicClient::opChanged(int32_t op, const String16&) {
                          uid = static_cast<uid_t>(attr.uid);
                      });
            procState = getUidProcessState(uid);
        } else if (flags::query_process_state()) {
            procState = getUidProcessState(getClientUid());
        } else {
            procState = sCameraService->mUidPolicy->getProcState(getClientUid());
        }