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

Skip to content
Commit d5641b50 authored by Adnan Begovic's avatar Adnan Begovic Committed by Matt Garnes
Browse files

DeskClock: Protected against possible NPE from null uri.

  From BUGDUMP-648323 (12-20150130-20150206)

  "java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.Uri.equals(java.lang.Object)' on a null object reference
    at com.android.deskclock.Utils.isRingToneUriValid(Utils.java:685)
    at com.android.deskclock.AlarmClockFragment$AlarmItemAdapter.bindView(AlarmClockFragment.java:1014)
    at com.android.deskclock.AlarmClockFragment$AlarmItemAdapter.getView(AlarmClockFragment.java:936)
    at android.widget.AbsListView.obtainView(AbsListView.java:2346)
    ...

Change-Id: I092d4da0b29e400241eff82935b1f47080bc8d8a
(cherry picked from commit 6a34451b)
parent 79b940b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment