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

Commit 8d25b683 authored by Prerepa Viswanadham's avatar Prerepa Viswanadham
Browse files

setCallbackType should be public for onlost/onfound apis

Bug: 21304922
Change-Id: I27ed4f3e00ac13354e3ef75e5686916be0d10918
parent a8d9f1f2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -249,9 +249,7 @@ public final class ScanSettings implements Parcelable {
         *
         * @param callbackType The callback type flags for the scan.
         * @throws IllegalArgumentException If the {@code callbackType} is invalid.
         * @hide
         */
        @SystemApi
        public Builder setCallbackType(int callbackType) {

            if (!isValidCallbackType(callbackType)) {