mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-29 06:36:25 +00:00
Added min car level API to Manifest just in case
This commit is contained in:
parent
5ce7a5524a
commit
fdee7e618e
2 changed files with 5 additions and 0 deletions
|
|
@ -59,6 +59,9 @@
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.google.android.gms.car.application"
|
android:name="com.google.android.gms.car.application"
|
||||||
android:resource="@xml/automotive_app_desc"/>
|
android:resource="@xml/automotive_app_desc"/>
|
||||||
|
<meta-data
|
||||||
|
android:name="androidx.car.app.minCarApiLevel"
|
||||||
|
android:value="1"/>
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.main.MainActivity"
|
android:name=".ui.main.MainActivity"
|
||||||
|
|
|
||||||
|
|
@ -1008,6 +1008,8 @@ class NotificationsManager @MainThread constructor(private val context: Context)
|
||||||
setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||||
if (isIncoming) {
|
if (isIncoming) {
|
||||||
setPriority(NotificationCompat.PRIORITY_MAX)
|
setPriority(NotificationCompat.PRIORITY_MAX)
|
||||||
|
} else {
|
||||||
|
setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||||
}
|
}
|
||||||
setWhen(System.currentTimeMillis())
|
setWhen(System.currentTimeMillis())
|
||||||
setAutoCancel(false)
|
setAutoCancel(false)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue