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

Commit 2f9187a2 authored by Matthew Xie's avatar Matthew Xie Committed by Android Git Automerger
Browse files

am 558571ba: am 5a8e9b03: am a75e97e7: am 6c32875f: am b81ccaea: am 964a72ae:...

am 558571ba: am 5a8e9b03: am a75e97e7: am 6c32875f: am b81ccaea: am 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

* commit '558571ba':
  updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it
parents ac67c808 558571ba
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -717,7 +717,9 @@ public class BluetoothOppService extends Service {
        info.mVisibility = newVisibility;

        if (info.mConfirm == BluetoothShare.USER_CONFIRMATION_PENDING
                && newConfirm != BluetoothShare.USER_CONFIRMATION_PENDING) {
            && (newConfirm == BluetoothShare.USER_CONFIRMATION_CONFIRMED ||
                newConfirm == BluetoothShare.USER_CONFIRMATION_AUTO_CONFIRMED ||
                newConfirm == BluetoothShare.USER_CONFIRMATION_HANDOVER_CONFIRMED)) {
            confirmed = true;
        }
        info.mConfirm = cursor.getInt(cursor