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

Commit 9b1500b1 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

Change-Id: I679181fb5f23c48825c21d9a210e70eaca3835f2
parents bf8694c9 08011cdf
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -1710,12 +1710,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);
@@ -1733,6 +1727,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 {