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

Commit 507ea24b authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am ffdc7aed: Merge "avoid crashing system serer process"

* commit 'ffdc7aed':
  avoid crashing system serer process
parents 17a89072 ffdc7aed
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -408,7 +408,12 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
    /** {@inheritDoc} */
    public void onDismiss(DialogInterface dialog) {
        if (SHOW_SILENT_TOGGLE) {
            try {
                mContext.unregisterReceiver(mRingerModeReceiver);
            } catch (IllegalArgumentException ie) {
                // ignore this
                Log.w(TAG, ie);
            }
        }
    }