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

Commit e66c315a authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android Git Automerger
Browse files

am 160f1abe: am 731f1c8b: am b23a4722: Merge "Prevent duplicate OPP permission...

am 160f1abe: am 731f1c8b: am b23a4722: Merge "Prevent duplicate OPP permission request dialogs" into lmp-mr1-dev

* commit '160f1abe':
  Prevent duplicate OPP permission request dialogs
parents 9572d875 160f1abe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -276,7 +276,8 @@ public class BluetoothOppObexServerSession extends ServerRequestHandler implemen

        boolean needConfirm = true;
        /** It's not first put if !serverBlocking, so we auto accept it */
        if (!mServerBlocking && mAccepted == BluetoothShare.USER_CONFIRMATION_CONFIRMED) {
        if (!mServerBlocking && (mAccepted == BluetoothShare.USER_CONFIRMATION_CONFIRMED ||
                mAccepted == BluetoothShare.USER_CONFIRMATION_AUTO_CONFIRMED)) {
            values.put(BluetoothShare.USER_CONFIRMATION,
                    BluetoothShare.USER_CONFIRMATION_AUTO_CONFIRMED);
            needConfirm = false;