diff options
author | Eric Erfanian <erfanian@google.com> | 2017-08-29 21:58:45 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-08-30 07:17:04 -0700 |
commit | 24dbc840985b12a8e61e6e190e8508c72d58bcae (patch) | |
tree | 4f1d3229eca3d62b3faf5b481a60fbad5ab7e072 /java/com/android/incallui/spam/AndroidManifest.xml | |
parent | 4e9a7930756e2e1dbfba20355f8f716987835a3a (diff) |
Make incallui/spam a standalone build target
Previously incallui/spam was being built directly into the incallui
build target. With this CL it's now a standalone build target.
This change should make it easier to test spam notifications.
Bug: 62937258
Test: N/A
Change-Id: I5f238ed7f9a4eaaff4b2a325479d2b6de19bdf07
PiperOrigin-RevId: 165479077
Diffstat (limited to 'java/com/android/incallui/spam/AndroidManifest.xml')
-rw-r--r-- | java/com/android/incallui/spam/AndroidManifest.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/java/com/android/incallui/spam/AndroidManifest.xml b/java/com/android/incallui/spam/AndroidManifest.xml new file mode 100644 index 000000000..46319a6c1 --- /dev/null +++ b/java/com/android/incallui/spam/AndroidManifest.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ 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 + --> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.android.incallui.autoresizetext"> + + <application> + <!-- + Comments for attributes in SpamNotificationActivity: + taskAffinity="" -> Open the dialog without opening the dialer app behind it + noHistory="true" -> Navigating away finishes activity + excludeFromRecents="true" -> Don't show in "recent apps" screen + --> + <activity + android:excludeFromRecents="true" + android:exported="false" + android:name=".SpamNotificationActivity" + android:noHistory="true" + android:taskAffinity="" + android:theme="@style/AfterCallNotificationTheme"> + </activity> + + <service + android:exported="false" + android:name=".SpamNotificationService"/> + + </application> +</manifest> |