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

Commit 2b1787f2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check version before calling new API"

parents c56b112f 39f47e4e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -774,9 +774,13 @@ public class WifiAwareManager {
                                    (byte[]) msg.obj);
                            break;
                        case CALLBACK_MATCH_EXPIRED:
                            if (!SdkLevel.isAtLeastS()) {
                                break;
                            }
                            mOriginalCallback
                                    .onServiceLost(new PeerHandle(msg.arg1),
                                            WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VISIBLE);
                            break;
                    }
                }
            };