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

Commit f0196b9c authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Change the icon for the captive portal login app.

Looks like https://screenshot.googleplex.com/6n4Cf3LRv4A
Icon comes from frameworks/base/core/res/res/drawable/stat_notify_wifi_in_range.xml

Test: manual
Bug: 29924821
Change-Id: I378fdb2d493fb8598c3e4fa98e100696c72f88ea
Merged-In: I378fdb2d493fb8598c3e4fa98e100696c72f88ea
(cherry picked from commit 0b4e0750)
parent 39789e86
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
    <uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" />

    <application android:label="@string/app_name"
                 android:icon="@drawable/app_icon"
                 android:usesCleartextTraffic="true"
                 android:supportsRtl="true" >
        <activity
+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.
-->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background>
        <color android:color="@*android:color/accent_device_default_light" />
    </background>
    <foreground>
        <inset
            android:drawable="@drawable/maybe_wifi"
            android:inset="25%">
        </inset>
    </foreground>
</adaptive-icon>
+27 −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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="26.0dp"
        android:height="24.0dp"
        android:viewportWidth="26.0"
        android:viewportHeight="24.0">
    <path
        android:fillColor="#4DFFFFFF"
        android:pathData="M19.1,14l-3.4,0l0,-1.5c0,-1.8 0.8,-2.8 1.5,-3.4C18.1,8.3 19.200001,8 20.6,8c1.2,0 2.3,0.3 3.1,0.8l1.9,-2.3C25.1,6.1 20.299999,2.1 13,2.1S0.9,6.1 0.4,6.5L13,22l0,0l0,0l0,0l0,0l6.5,-8.1L19.1,14z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M19.5,17.799999c0,-0.8 0.1,-1.3 0.2,-1.6c0.2,-0.3 0.5,-0.7 1.1,-1.2c0.4,-0.4 0.7,-0.8 1,-1.1s0.4,-0.8 0.4,-1.2c0,-0.5 -0.1,-0.9 -0.4,-1.2c-0.3,-0.3 -0.7,-0.4 -1.2,-0.4c-0.4,0 -0.8,0.1 -1.1,0.3c-0.3,0.2 -0.4,0.6 -0.4,1.1l-1.9,0c0,-1 0.3,-1.7 1,-2.2c0.6,-0.5 1.5,-0.8 2.5,-0.8c1.1,0 2,0.3 2.6,0.8c0.6,0.5 0.9,1.3 0.9,2.3c0,0.7 -0.2,1.3 -0.6,1.8c-0.4,0.6 -0.9,1.1 -1.5,1.6c-0.3,0.3 -0.5,0.5 -0.6,0.7c-0.1,0.2 -0.1,0.6 -0.1,1L19.5,17.700001zM21.4,21l-1.9,0l0,-1.8l1.9,0L21.4,21z"/>
</vector>