Skip to content

Commit

Permalink
Update android support libraries to v28
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Nov 21, 2023
1 parent 3e86af7 commit 1f1482c
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 17 deletions.
16 changes: 9 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ android {
//exclude 'META-INF/androidx.core_core.version'
exclude 'META-INF/com.android.tools/proguard/coroutines.pro'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/androidx.interpolator_interpolator.version'
exclude 'META-INF/androidx.core_core.version'
}

compileOptions {
Expand Down Expand Up @@ -268,12 +270,12 @@ dependencies {
//implementation 'androidx.core:core-ktx:1.9.0'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22'

implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:support-v13:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:preference-v7:26.1.0'
implementation ('com.android.support:appcompat-v7:28.0.0')
implementation ('com.android.support:design:28.0.0')
implementation ('com.android.support:support-v13:28.0.0')
implementation ('com.android.support:recyclerview-v7:28.0.0')
implementation ('com.android.support:cardview-v7:28.0.0')
implementation ('com.android.support:preference-v7:28.0.0')

implementation ('com.google.apis:google-api-services-drive:v3-rev20220815-2.0.0') {
exclude group: 'org.apache.httpcomponents'
Expand Down Expand Up @@ -366,7 +368,7 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.2', {
exclude group: 'com.android.support', module: 'support-annotations'
}
androidTestImplementation 'com.android.support.test.espresso:espresso-idling-resource:3.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-idling-resource:3.0.2'
// add this for intent mocking support
//androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.1'
// add this for webview testing support
Expand Down
Binary file modified app/libs/core-1.1.0.aar
Binary file not shown.
2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
android:largeHeap="true"
android:maxAspectRatio="2.1"
android:theme="@style/AppTheme"
tools:replace="android:appComponentFactory"
android:appComponentFactory="android.support.v4.app.CoreComponentFactory"
android:usesCleartextTraffic="true">
<activity
android:name=".HealthPrivacy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import android.os.PowerManager;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.NotificationManagerCompat;
import android.support.v7.app.NotificationCompat;
import android.util.Log;
import android.util.SparseArray;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ public static NotificationChannel getChan(NotificationCompat.Builder wip) {

// mirror the notification parameters in the channel
template.setGroup(temp.getChannelId());
template.setVibrationPattern(wip.mNotification.vibrate);
template.setSound(wip.mNotification.sound, generic_audio);
template.setLightColor(wip.mNotification.ledARGB);
if ((wip.mNotification.ledOnMS != 0) && (wip.mNotification.ledOffMS != 0))
template.setVibrationPattern(wip.getNotification().vibrate);
template.setSound(wip.getNotification().sound, generic_audio);
template.setLightColor(wip.getNotification().ledARGB);
if ((wip.getNotification().ledOnMS != 0) && (wip.getNotification().ledOffMS != 0))
template.enableLights(true); // weird how this doesn't work like vibration pattern
template.setDescription(temp.getChannelId() + " " + wip.hashCode());

Expand All @@ -201,8 +201,8 @@ public static NotificationChannel getChan(NotificationCompat.Builder wip) {
}
channel.setDescription(template.getDescription());
channel.setVibrationPattern(template.getVibrationPattern());
template.setLightColor(wip.mNotification.ledARGB);
if ((wip.mNotification.ledOnMS != 0) && (wip.mNotification.ledOffMS != 0))
template.setLightColor(wip.getNotification().ledARGB);
if ((wip.getNotification().ledOnMS != 0) && (wip.getNotification().ledOffMS != 0))
template.enableLights(true); // weird how this doesn't work like vibration pattern
template.setDescription(temp.getChannelId() + " " + wip.hashCode());

Expand Down
2 changes: 1 addition & 1 deletion libkeks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ android {

dependencies {
compileOnly files('lib/xdrip-plugin-interface.jar')
implementation 'com.android.support:support-v13:26.1.0'
implementation 'com.android.support:support-v13:28.0.0'

implementation 'org.bouncycastle:bcpkix-jdk15to18:1.68'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.68'
Expand Down
2 changes: 1 addition & 1 deletion localeapi/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 29
compileSdkVersion 31

defaultConfig {
minSdkVersion 21
Expand Down
2 changes: 1 addition & 1 deletion wear/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.android.application'
apply from: '../common.gradle'

android {
compileSdkVersion 29
compileSdkVersion 31
lintOptions {
checkReleaseBuilds false
// abortOnError false
Expand Down

0 comments on commit 1f1482c

Please sign in to comment.