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

Commit ac3af3d1 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

MediaProjectionPermissionActivity: Don't use app icons.

Always use the "cast" icon because that's what we display in
the status bar and the cast tile.

Bug: 124753835
Test: visual

Change-Id: Ie73d0b87818a6d780e06af41a0a5387878e443a8
parent 095adc27
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
<!--
Copyright (C) 2019 The Android Open Source Project

   Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<inset xmlns:android="http://schemas.android.com/apk/res/android"
    android:insetLeft="2.5dp"
    android:insetRight="2.5dp">
    <vector android:width="24dp"
            android:height="24dp"
            android:viewportWidth="24.0"
            android:viewportHeight="24.0">
        <path android:fillColor="#FF000000" android:pathData="M1,18v3h3C4,19.34 2.66,18 1,18zM1,14v2c2.76,0 5,2.24 5,5h2C8,17.13 4.87,14 1,14zM1,10v2c4.97,0 9,4.03 9,9h2C12,14.92 7.07,10 1,10zM21,3H3C1.9,3 1,3.9 1,5v3h2V5h18v14h-7v2h7c1.1,0 2,-0.9 2,-2V5C23,3.9 22.1,3 21,3z"/>
        <path android:fillColor="#FF0000" android:pathData="M19,7H5v1.63c3.96,1.28 7.09,4.41 8.37,8.37H19V7z"/>
    </vector>
</inset>
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ public class MediaProjectionPermissionActivity extends Activity

        mDialog = new AlertDialog.Builder(this)
                .setTitle(dialogTitle)
                .setIcon(aInfo.loadIcon(packageManager))
                .setIcon(R.drawable.ic_media_projection_permission)
                .setMessage(message)
                .setPositiveButton(R.string.media_projection_action_text, this)
                .setNegativeButton(android.R.string.cancel, this)