Skip to content

Commit

Permalink
Migrate to supported PreferenceManager
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed May 22, 2024
1 parent 8afe1b5 commit 5264daf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ tasks.withType(JavaCompile::class).configureEach {
}

dependencies {
implementation("androidx.preference:preference:1.2.1")
implementation("androidx.room:room-runtime:2.6.1")
annotationProcessor("androidx.room:room-compiler:2.6.1")
implementation("org.greenrobot:greendao:3.3.0")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 ObjectBox Ltd. All rights reserved.
* Copyright 2017-2024 ObjectBox Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -20,7 +20,6 @@
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.ArrayAdapter;
Expand All @@ -29,6 +28,7 @@
import java.util.ArrayList;
import java.util.List;

import androidx.preference.PreferenceManager;
import io.objectbox.performanceapp.PerfTestRunner.Callback;
import io.objectbox.performanceapp.databinding.ActivityMainBinding;
import io.objectbox.performanceapp.greendao.GreendaoPerfTest;
Expand Down

0 comments on commit 5264daf

Please sign in to comment.