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

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

am 99223eaf: am c8455688: am f08a219b: Catch an exception when updating incoming message status

* commit '99223eaf':
  Catch an exception when updating incoming message status
parents 07dfd31c 99223eaf
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) {