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

Commit ab2978b5 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Android (Google) Code Review
Browse files

Merge changes from topic "package-installer-soong"

* changes:
  Add icon for package installer
  Soongify PackageInstaller.
  Clean up package installer
parents 75921283 f4bb5841
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
bin/
gen/
*.iml
.project
.classpath
project.properties
+14 −0
Original line number Original line Diff line number Diff line
android_app {
    name: "PackageInstaller",

    srcs: ["src/**/*.java"],

    static_libs: [
        "androidx.leanback_leanback",
        "xz-java",
    ],

    certificate: "platform",
    privileged: true,
    platform_apis: true,
}
 No newline at end of file
+0 −24
Original line number Original line Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_USE_AAPT2 := true

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := \
    $(call all-java-files-under, src)

LOCAL_STATIC_ANDROID_LIBRARIES += \
    androidx.leanback_leanback

LOCAL_STATIC_JAVA_LIBRARIES := \
    xz-java \
    androidx.annotation_annotation

LOCAL_PACKAGE_NAME := PackageInstaller

LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_PRIVATE_PLATFORM_APIS := true

include $(BUILD_PACKAGE)
+1 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@


    <application android:name=".PackageInstallerApplication"
    <application android:name=".PackageInstallerApplication"
            android:label="@string/app_name"
            android:label="@string/app_name"
            android:icon="@drawable/ic_app_icon"
            android:allowBackup="false"
            android:allowBackup="false"
            android:theme="@style/DialogWhenLarge"
            android:theme="@style/DialogWhenLarge"
            android:supportsRtl="true"
            android:supportsRtl="true"
+36 −0
Original line number Original line 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>
Loading