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

Commit 5a280cdd authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Prevent newApi error when checking after flag" into main

parents 7591827f 67f715b7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -343,6 +343,7 @@ public class BassClientService extends ProfileService {
            return handler.hasMessages(msg);
        }

        @SuppressLint("NewApi") // Api is protected by flag check and the lint is wrong
        private boolean hasAnyMessagesOrCallbacks(Handler handler) {
            if (android.os.Flags.mainlineVcnPlatformApi()) {
                return handler.hasMessagesOrCallbacks();