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

Commit 6a92d3a7 authored by Pavel Grafov's avatar Pavel Grafov Committed by android-build-merger
Browse files

Merge "Merge "Provide content description for WorkLockActivity." into oc-dev...

Merge "Merge "Provide content description for WorkLockActivity." into oc-dev am: f044e0b8 am: f9a63d04" into oc-dr1-dev-plus-aosp
am: efaf1410

Change-Id: I5120d979c04d792b1bd57ad0d731f0e2fbab3349
parents 6e890610 efaf1410
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ import android.util.Log;
import android.view.View;

import com.android.internal.annotations.VisibleForTesting;
import com.android.systemui.R;

/**
 * Bouncer between work activities and the activity used to confirm credentials before unlocking
@@ -83,6 +84,7 @@ public class WorkLockActivity extends Activity {
        // Blank out the activity. When it is on-screen it will look like a Recents thumbnail with
        // redaction switched on.
        final View blankView = new View(this);
        blankView.setContentDescription(getString(R.string.accessibility_desc_work_lock));
        blankView.setBackgroundColor(getPrimaryColor());
        setContentView(blankView);
    }