Forward ported to marshmallow/nougat By: @BeansTown106 removed the none option as we now have a headsup minimum time of 2seconds added 5sec option as that is the new default in marshmallow Change-Id: I6fe5aa72ce68f28ee9c57520e36d4800a9263546
47 lines
1.9 KiB
XML
47 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 The CyanogenMod 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.
|
|
-->
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:title="@string/heads_up_notifications">
|
|
|
|
<ListPreference
|
|
android:key="heads_up_time_out"
|
|
android:title="@string/heads_up_time_out_title"
|
|
android:entries="@array/heads_up_time_out_entries"
|
|
android:entryValues="@array/heads_up_time_out_values"
|
|
android:persistent="false" />
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/heads_up_stoplist_title"
|
|
android:key="stoplist_applications" >
|
|
<Preference
|
|
android:key="add_stoplist_packages"
|
|
android:icon="@drawable/ic_menu_add_activated_tint"
|
|
android:title="@string/add_heads_up_package"
|
|
android:summary="@string/add_heads_up_stoplist_summary" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/heads_up_blacklist_title"
|
|
android:key="blacklist_applications" >
|
|
<Preference
|
|
android:key="add_blacklist_packages"
|
|
android:icon="@drawable/ic_menu_add_activated_tint"
|
|
android:title="@string/add_heads_up_package"
|
|
android:summary="@string/add_heads_up_blacklist_summary" />
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|