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

Commit dc84cff3 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"

am: 26fdbc18

* commit '26fdbc18':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user
parents ab00e4e3 26fdbc18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -608,7 +608,7 @@ static jint com_android_internal_os_Zygote_nativeForkAndSpecialize(
    jlong capabilities = 0;

    // Grant CAP_WAKE_ALARM to the Bluetooth process.
    if (uid == AID_BLUETOOTH) {
    if (multiuser_get_app_id(uid) == AID_BLUETOOTH) {
      capabilities |= (1LL << CAP_WAKE_ALARM);
    }