Skip to content

Commit

Permalink
disable Android Auto
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Jun 9, 2022
1 parent 8c1aa70 commit 45571a7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 29 deletions.
4 changes: 0 additions & 4 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,6 @@
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:theme="@style/Base.Theme.AppCompat"/>

<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ android {
testBuildType "mockdata"

defaultConfig {
versionCode 327
versionCode 328
versionName "4.28.1"
minSdkVersion 22
targetSdkVersion 31
Expand Down Expand Up @@ -350,11 +350,11 @@ tasks.whenTaskAdded { task ->

dependencies {
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'androidx.drawerlayout:drawerlayout:1.1.1'
implementation 'androidx.sharetarget:sharetarget:1.2.0-rc01'
implementation "androidx.cardview:cardview:1.0.0"
implementation "com.google.android.material:material:1.6.0"
implementation "com.google.android.material:material:1.6.1"
implementation "androidx.recyclerview:recyclerview:1.2.1"
implementation "androidx.browser:browser:1.4.0"
implementation "androidx.exifinterface:exifinterface:1.3.3"
Expand Down
20 changes: 0 additions & 20 deletions res/xml/automotive_app_desc.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ public int compare(Notification notification, Notification t1) {

wearableExtender.addAction(actionBuilder.extend(actionExtender).build());

NotificationCompat.CarExtender.UnreadConversation.Builder unreadConvBuilder =
/*NotificationCompat.CarExtender.UnreadConversation.Builder unreadConvBuilder =
new NotificationCompat.CarExtender.UnreadConversation.Builder(title + ((network != null) ? (" (" + network + ")") : ""))
.setReadPendingIntent(dismissPendingIntent)
.setReplyAction(replyPendingIntent, new RemoteInput.Builder("extra_reply").setLabel("Reply to " + title).build());
Expand All @@ -783,7 +783,7 @@ public int compare(Notification notification, Notification t1) {
}
unreadConvBuilder.setLatestTimestamp(eids[count - 1] / 1000);
builder.extend(new NotificationCompat.CarExtender().setUnreadConversation(unreadConvBuilder.build()));
builder.extend(new NotificationCompat.CarExtender().setUnreadConversation(unreadConvBuilder.build()));*/
}

if (replyIntent != null && prefs.getBoolean("notify_quickreply", true) && Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
Expand Down

0 comments on commit 45571a7

Please sign in to comment.