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

Commit 2847d8f4 authored by xutianguo's avatar xutianguo Committed by Myles Watson
Browse files

OPP: catch IllegalArgumentException exception to avoid FC



Obex HeaderSet will throw IllegalArgumentException when the
file size is bigger than 0xFFFFFFFFL.
Sometimes user try to share a oversize file with Bluetooth,
Bluetooth APP will forceclose if we don't handle this exception.

Bug: 65272955
Test: Try to share some oversize files with Bluetooth, no FC
observed, instead of informing error message.

Change-Id: I0934536387e926bc70d759acf4b77b5c3d936c8f
Signed-off-by: default avatarxutianguo <xutianguo@xiaomi.com>
parent 999b72ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment