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

Commit c746ef51 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android Git Automerger
Browse files

am 988a8a98: Merge "Update \'No notifications\' text on configuration change" into lmp-dev

* commit '988a8a98':
  Update 'No notifications' text on configuration change
parents 53322b9f 988a8a98
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -17,9 +17,11 @@
package com.android.systemui.statusbar;

import android.content.Context;
import android.content.res.Configuration;
import android.util.AttributeSet;
import android.view.View;
import android.view.animation.Interpolator;
import android.widget.TextView;

import com.android.systemui.R;
import com.android.systemui.statusbar.phone.PhoneStatusBar;
@@ -30,6 +32,12 @@ public class EmptyShadeView extends StackScrollerDecorView {
        super(context, attrs);
    }

    @Override
    protected void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
        ((TextView) findViewById(R.id.no_notifications)).setText(R.string.empty_shade_text);
    }

    @Override
    protected View findContentView() {
        return findViewById(R.id.no_notifications);