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

Commit ed773dcb authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Prevent newApi error when checking after flag" into main am: 5a280cdd

parents 509cc919 5a280cdd
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();