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

Commit 78a323f8 authored by Menghan Li's avatar Menghan Li Committed by Automerger Merge Worker
Browse files

Merge "Allow Accessibility features don't need summary, intro, and...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17207723

Change-Id: Id54bb69580432b1dafa194b525b769caf53d82a6
parents af5eebbc 00505767
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);