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

Commit 07c99401 authored by fionaxu's avatar fionaxu Committed by android-build-merger
Browse files

DO NOT MERGE fix build breakage on k

am: 4e33c4f8

Change-Id: I0339ec14a342f6c4a8f77638ffc6d4873a368830
parents 4c508465 4e33c4f8
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package android.content.pm;

import android.annotation.NonNull;
import android.annotation.SystemApi;
import android.content.res.XmlResourceParser;

import android.graphics.drawable.Drawable;
@@ -144,8 +142,7 @@ public class PackageItemInfo {
     *
     * @hide
     */
    @SystemApi
    public @NonNull CharSequence loadSafeLabel(@NonNull PackageManager pm) {
    public CharSequence loadSafeLabel(PackageManager pm) {
        // loadLabel() always returns non-null
        String label = loadLabel(pm).toString();
        // strip HTML tags to avoid <br> and other tags overwriting original message