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

Commit 00505767 authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

Merge "Allow Accessibility features don't need summary, intro, and description" into tm-dev

parents f0cbf9ff 8610a273
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -169,10 +169,6 @@ public final class AccessibilityShortcutInfo {
            mIntroResId = asAttributes.getResourceId(
                    com.android.internal.R.styleable.AccessibilityShortcutTarget_intro, 0);
            asAttributes.recycle();

            if ((mDescriptionResId == 0 && mHtmlDescriptionRes == 0) || mSummaryResId == 0) {
                throw new XmlPullParserException("No description or summary in meta-data");
            }
        } catch (PackageManager.NameNotFoundException e) {
            throw new XmlPullParserException("Unable to create context for: "
                    + mActivityInfo.packageName);