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

Commit 94a14859 authored by Winson's avatar Winson Committed by Winson Chung
Browse files

Fixing crash in configuration change for secondary users.

- The crash is a regression caused by ag/773159.
parent ca309393
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -159,10 +159,12 @@ public class SystemUIApplication extends Application {
        if (mServicesStarted) {
            int len = mServices.length;
            for (int i = 0; i < len; i++) {
                if (mServices[i] != null) {
                    mServices[i].onConfigurationChanged(newConfig);
                }
            }
        }
    }

    @SuppressWarnings("unchecked")
    public <T> T getComponent(Class<T> interfaceType) {