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

Commit 785750af authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "Include the check on the mAllowStartByBindings flag in the BG-FGS start logic" into main

parents 96b2411e 7c100bf7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -246,7 +246,9 @@ final class ServiceRecord extends Binder implements ComponentName.WithComponentN
    int getFgsAllowStart() {
        return mAllowStartForegroundNoBinding != REASON_DENIED
                ? mAllowStartForegroundNoBinding
                : mAllowStartInBindService;
                : (mAllowStartByBindings != REASON_DENIED
                ? mAllowStartByBindings
                : mAllowStartInBindService);
    }

    boolean isFgsAllowedStart() {