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

Commit 70743aa4 authored by Matthew Xie's avatar Matthew Xie
Browse files

updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

bug 17770561
Change-Id: I34fb018d9787b4deef8592c71f5539778e76e325
parent e8feb437
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