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

Commit d0b3d1a1 authored by Alison Cichowlas's avatar Alison Cichowlas
Browse files

Call toString instead of casting.

Fixes: 142704267
Test: check for crashes with apk using labeledintent
Change-Id: I98108a4cd6280066eec009abadf0eb889974a5b6
parent b15fc064
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -833,7 +833,7 @@ public class ResolverListAdapter extends BaseAdapter {
        String getAppSubLabelInternal() {
            // Will default to app name if no intent filter or activity label set, make sure to
            // check if subLabel matches label before final display
            return (String) mRi.loadLabel(mPm);
            return mRi.loadLabel(mPm).toString();
        }
    }