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

Commit d99ca078 authored by Hall Liu's avatar Hall Liu Committed by Gerrit Code Review
Browse files

Merge "Stop silently dropping a NullPointerException"

parents 8863583f d69d2599
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -8245,9 +8245,8 @@ public class TelephonyManager {
            ITelephony telephony = getITelephony();
            if (telephony != null)
                retVal = telephony.isUserDataEnabled(subId);
        } catch (RemoteException e) {
        } catch (RemoteException | NullPointerException e) {
            Log.e(TAG, "Error calling ITelephony#isUserDataEnabled", e);
        } catch (NullPointerException e) {
        }
        return retVal;
    }