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

Commit ac53603b authored by Charles Chen's avatar Charles Chen Committed by Android (Google) Code Review
Browse files

Merge "check whether mDataTypes is null to avoid the android reboot." into main

parents fc704a21 19096c4c
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;
    }

    /**