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

Commit d517c3c1 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev

parents 7ce68fd8 78c41141
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -1706,12 +1706,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);
@@ -1729,6 +1723,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 {