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

Commit 93fe4a8f authored by Adrian Roos's avatar Adrian Roos
Browse files

Remove SoundPicker2

Fixes: 323853450
Test: n/a
Change-Id: I8e3af467ee039847421b818803aaf11b8e2bb4f5
parent fd56681a
Loading
Loading
Loading
Loading

packages/SoundPicker2/Android.bp

deleted100644 → 0
+0 −46
Original line number Diff line number Diff line
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_library {
    name: "SoundPicker2Lib",
    srcs: [
        "src/**/*.java",
    ],
    resource_dirs: [
        "res",
    ],
    static_libs: [
        "androidx.appcompat_appcompat",
        "hilt_android",
        "guava",
        "androidx.recyclerview_recyclerview",
        "androidx-constraintlayout_constraintlayout",
        "androidx.viewpager2_viewpager2",
        "com.google.android.material_material",
    ],
}

android_app {
    name: "SoundPicker2",
    defaults: ["platform_app_defaults"],
    manifest: "AndroidManifest.xml",
    static_libs: ["SoundPicker2Lib"],
    platform_apis: true,
    certificate: "media",
    privileged: true,

    optimize: {
        enabled: true,
        optimize: true,
        shrink: true,
        shrink_resources: true,
        obfuscate: false,
        proguard_compatibility: false,
    },
}
+0 −43
Original line number Diff line number Diff line
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.soundpicker"
        android:sharedUserId="android.media">

    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />

    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />

    <application
            android:name=".RingtonePickerApplication"
            android:allowBackup="false"
            android:label="@string/app_label"
            android:theme="@style/Theme.AppCompat"
            android:supportsRtl="true">
        <receiver android:name="RingtoneReceiver"
                android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.DEVICE_CUSTOMIZATION_READY"/>
            </intent-filter>
        </receiver>

        <service android:name="RingtoneOverlayService" />

        <activity android:name="RingtonePickerActivity"
                android:theme="@style/Theme.AppCompat.Dialog"
                android:enabled="@*android:bool/config_defaultRingtonePickerEnabled"
                android:excludeFromRecents="true"
                android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.RINGTONE_PICKER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.RINGTONE_PICKER_SOUND" />
                <category android:name="android.intent.category.RINGTONE_PICKER_VIBRATION" />
                <category android:name="android.intent.category.RINGTONE_PICKER_RINGTONE" />
            </intent-filter>
        </activity>
    </application>
</manifest>

packages/SoundPicker2/OWNERS

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
# Haptics team works on the SoundPicker
include platform/frameworks/base:/services/core/java/com/android/server/vibrator/OWNERS
+0 −24
Original line number Diff line number Diff line
<!--
    Copyright (C) 2016 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="24.0dp"
        android:height="24.0dp"
        android:viewportWidth="48.0"
        android:viewportHeight="48.0">
    <path
        android:fillColor="?android:attr/colorAccent"
        android:pathData="M38.0,26.0L26.0,26.0l0.0,12.0l-4.0,0.0L22.0,26.0L10.0,26.0l0.0,-4.0l12.0,0.0L22.0,10.0l4.0,0.0l0.0,12.0l12.0,0.0l0.0,4.0z"/>
</vector>
 No newline at end of file
+0 −22
Original line number Diff line number Diff line
<!--
    Copyright (C) 2017 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:drawable="@drawable/ic_add"
        android:insetTop="4dp"
        android:insetRight="4dp"
        android:insetBottom="4dp"
        android:insetLeft="4dp"/>
Loading