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

Commit f4bb5841 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Add icon for package installer

(this icon is shown when e.g. Google Drive shows the package installer
as a "share" target.)

Test: Looked at icon in settings
Change-Id: I856832b4eb5b417c0a2e6bc7cab699011cf46075
parent ceb15077
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@

    <application android:name=".PackageInstallerApplication"
            android:label="@string/app_name"
            android:icon="@drawable/ic_app_icon"
            android:allowBackup="false"
            android:theme="@style/DialogWhenLarge"
            android:supportsRtl="true"
+36 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2018 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:insetTop="12dp"
    android:insetRight="12dp"
    android:insetBottom="12dp"
    android:insetLeft="12dp">

    <vector
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24"
        android:viewportHeight="24">

        <path
            android:fillColor="#FFFFFF"
            android:pathData="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
        <path
            android:pathData="M0 0h24v24H0z" />
    </vector>
</inset>
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2018 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 android:drawable="@*android:color/accent_device_default_light"/>
    <foreground android:drawable="@drawable/app_icon_foreground"/>
</adaptive-icon>
 No newline at end of file