From 27b5eaeb2d0cdffb0b89db4971894548da8afdd4 Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Fri, 19 May 2017 08:42:34 -0700 Subject: Remove usages of ActionBarActivity. ActionBarActivity has been deprecated for 2+ years and has been extending AppCompatActivity for all that time. These changes should be no-ops. Bug: 35253513 Test: None Change-Id: Ic87c8db6f9733fbcfa59d3bc08c77013799ae652 --- java/com/android/dialer/about/LicenseActivity.java | 4 ++-- java/com/android/dialer/about/LicenseMenuActivity.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'java') diff --git a/java/com/android/dialer/about/LicenseActivity.java b/java/com/android/dialer/about/LicenseActivity.java index 24822235f..3cb7540e6 100644 --- a/java/com/android/dialer/about/LicenseActivity.java +++ b/java/com/android/dialer/about/LicenseActivity.java @@ -17,13 +17,13 @@ package com.android.dialer.about; import android.os.Bundle; -import android.support.v7.app.ActionBarActivity; +import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.widget.ScrollView; import android.widget.TextView; /** Simple Activity that renders locally stored open source legal info in a text view. */ -public final class LicenseActivity extends ActionBarActivity { +public final class LicenseActivity extends AppCompatActivity { private static final String TAG = "LicenseActivity"; private static final String STATE_SCROLL_POS = "scroll_pos"; diff --git a/java/com/android/dialer/about/LicenseMenuActivity.java b/java/com/android/dialer/about/LicenseMenuActivity.java index 73047989c..f609d07d7 100644 --- a/java/com/android/dialer/about/LicenseMenuActivity.java +++ b/java/com/android/dialer/about/LicenseMenuActivity.java @@ -20,7 +20,7 @@ import android.content.Intent; import android.os.Bundle; import android.support.v4.app.LoaderManager.LoaderCallbacks; import android.support.v4.content.Loader; -import android.support.v7.app.ActionBarActivity; +import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; @@ -31,7 +31,7 @@ import java.util.ArrayList; import java.util.List; /** An Activity listing third party libraries with notice licenses. */ -public final class LicenseMenuActivity extends ActionBarActivity +public final class LicenseMenuActivity extends AppCompatActivity implements LoaderCallbacks> { static final String ARGS_LICENSE = "license"; -- cgit v1.2.3