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

Commit 19096c4c authored by ellen.yang's avatar ellen.yang Committed by Charles Chen
Browse files

check whether mDataTypes is null to avoid the android reboot.

Flag: EXEMPT bugfix only
Bug: 411021310
(cherry picked from https://partner-android-review.googlesource.com/q/commit:2e9a948f344af89a4d1c04c2d5f556c7b09d9d57)
Merged-In: I3bc0cbde3cc3f1accb5345ec58feaf63aa8fd6e0
Change-Id: I3bc0cbde3cc3f1accb5345ec58feaf63aa8fd6e0
parent de77c38c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1063,7 +1063,7 @@ public class IntentFilter implements Parcelable {
     * Return a data type in the filter.
     */
    public final String getDataType(int index) {
        return mDataTypes.get(index);
        return mDataTypes != null ?  mDataTypes.get(index) : null;
    }

    /**