Differential D17818 Diff 48252 src/org/kde/kdeconnect/UserInterface/AppCompatPreferenceActivity.java
Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/UserInterface/AppCompatPreferenceActivity.java
Show All 12 Lines | |||||
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and | ||
14 | * limitations under the License. | 14 | * limitations under the License. | ||
15 | */ | 15 | */ | ||
16 | package org.kde.kdeconnect.UserInterface; | 16 | package org.kde.kdeconnect.UserInterface; | ||
17 | 17 | | |||
18 | import android.content.res.Configuration; | 18 | import android.content.res.Configuration; | ||
19 | import android.os.Bundle; | 19 | import android.os.Bundle; | ||
20 | import android.preference.PreferenceActivity; | 20 | import android.preference.PreferenceActivity; | ||
21 | import android.support.annotation.LayoutRes; | | |||
22 | import android.support.annotation.NonNull; | | |||
23 | import android.support.annotation.Nullable; | | |||
24 | import android.support.v7.app.ActionBar; | | |||
25 | import android.support.v7.app.AppCompatDelegate; | | |||
26 | import android.support.v7.widget.Toolbar; | | |||
27 | import android.view.MenuInflater; | 21 | import android.view.MenuInflater; | ||
28 | import android.view.View; | 22 | import android.view.View; | ||
29 | import android.view.ViewGroup; | 23 | import android.view.ViewGroup; | ||
30 | 24 | | |||
31 | import org.kde.kdeconnect.BackgroundService; | 25 | import org.kde.kdeconnect.BackgroundService; | ||
32 | 26 | | |||
27 | import androidx.annotation.LayoutRes; | ||||
28 | import androidx.annotation.NonNull; | ||||
29 | import androidx.annotation.Nullable; | ||||
30 | import androidx.appcompat.app.ActionBar; | ||||
31 | import androidx.appcompat.app.AppCompatDelegate; | ||||
32 | import androidx.appcompat.widget.Toolbar; | ||||
33 | | ||||
33 | /** | 34 | /** | ||
34 | * A {@link android.preference.PreferenceActivity} which implements and proxies the necessary calls | 35 | * A {@link android.preference.PreferenceActivity} which implements and proxies the necessary calls | ||
35 | * to be used with AppCompat. | 36 | * to be used with AppCompat. | ||
36 | * <p> | 37 | * <p> | ||
37 | * This technique can be used with an {@link android.app.Activity} class, not just | 38 | * This technique can be used with an {@link android.app.Activity} class, not just | ||
38 | * {@link android.preference.PreferenceActivity}. | 39 | * {@link android.preference.PreferenceActivity}. | ||
39 | */ | 40 | */ | ||
40 | public abstract class AppCompatPreferenceActivity extends PreferenceActivity { | 41 | public abstract class AppCompatPreferenceActivity extends PreferenceActivity { | ||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |