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

Commit d711eae4 authored by dooyoung.hwang's avatar dooyoung.hwang Committed by android-build-merger
Browse files

Fix crashes after notifying bad notification am: 78c41141 am: 08011cdf

am: 9b1500b1

Change-Id: I77ef1b0ff052fe922b68cdf7690102933c2e2ccf
parents 735797c2 9b1500b1
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -1719,12 +1719,6 @@ public abstract class BaseStatusBar extends SystemUI implements
                        sbn.getPackageContext(mContext),
                        contentContainerPublic, mOnClickHandler);
            }
        }
        catch (RuntimeException e) {
            final String ident = sbn.getPackageName() + "/0x" + Integer.toHexString(sbn.getId());
            Log.e(TAG, "couldn't inflate view for notification " + ident, e);
            return false;
        }

            if (contentViewLocal != null) {
                contentViewLocal.setIsRootNamespace(true);
@@ -1742,6 +1736,12 @@ public abstract class BaseStatusBar extends SystemUI implements
                publicViewLocal.setIsRootNamespace(true);
                contentContainerPublic.setContractedChild(publicViewLocal);
            }
        }
        catch (RuntimeException e) {
            final String ident = sbn.getPackageName() + "/0x" + Integer.toHexString(sbn.getId());
            Log.e(TAG, "couldn't inflate view for notification " + ident, e);
            return false;
        }

        // Extract target SDK version.
        try {