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

Commit a1809854 authored by Winson's avatar Winson
Browse files

Fixing issue with the stack layout not being updated on config change.

Bug: 27376567
Change-Id: I32b9dd59a6187c87387785335dd66cc4f28372b3
parent a1b96b5d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
import android.os.SystemClock;
@@ -433,6 +434,13 @@ public class RecentsActivity extends Activity implements ViewTreeObserver.OnPreD
        mIterateTrigger.stopDozing();
    }

    @Override
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);

        EventBus.getDefault().send(new ConfigurationChangedEvent());
    }

    @Override
    protected void onStop() {
        super.onStop();