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

Commit c3a8d9f1 authored by Kihong Seong's avatar Kihong Seong Committed by Gerrit Code Review
Browse files

Merge "Add information and change call order for onScanParamSetupCompleted" into main

parents 00bab711 e669ac24
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1016,13 +1016,14 @@ public class TransitionalScanHelper {
        }
    }

    public void onScanParamSetupCompleted(int status, int scannerId) throws RemoteException {
    /** Callback method for configuration of scan parameters. */
    public void onScanParamSetupCompleted(int status, int scannerId) {
        Log.d(TAG, "onScanParamSetupCompleted() - scannerId=" + scannerId + ", status=" + status);
        ScannerMap.ScannerApp app = mScannerMap.getById(scannerId);
        if (app == null || app.mCallback == null) {
            Log.e(TAG, "Advertise app or callback is null");
            return;
        }
        Log.d(TAG, "onScanParamSetupCompleted : " + status);
    }

    // callback from ScanManager for dispatch of errors apps.