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

Commit c8455688 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by Android Git Automerger
Browse files

am f08a219b: Catch an exception when updating incoming message status

* commit 'f08a219b':
  Catch an exception when updating incoming message status
parents db34fa22 f08a219b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -674,6 +674,9 @@ public class BluetoothMapObexServer extends ServerRequestHandler {
        } catch (NumberFormatException e) {
            Log.w(TAG, "Wrongly formatted message handle: " + msgHandle);
            return ResponseCodes.OBEX_HTTP_PRECON_FAILED;
        } catch (IllegalArgumentException e) {
            Log.w(TAG, "Message type not found in handle string: " + msgHandle);
            return ResponseCodes.OBEX_HTTP_PRECON_FAILED;
        }

        if( indicator == BluetoothMapAppParams.STATUS_INDICATOR_DELETED) {