summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2017-05-19 08:42:34 -0700
committerAurimas Liutikas <aurimas@google.com>2017-05-24 20:53:22 +0000
commit6105b6a538a31541850d94d81fe6a59e98f00a80 (patch)
tree6254566937adfeb0cd39fcfc25f0a3a9c1cbc2bf
parent3ed0c281a143789ea8187dba60dba6c6b5db9009 (diff)
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 (cherry picked from commit 27b5eaeb2d0cdffb0b89db4971894548da8afdd4)
-rw-r--r--java/com/android/dialer/about/LicenseActivity.java4
-rw-r--r--java/com/android/dialer/about/LicenseMenuActivity.java4
2 files changed, 4 insertions, 4 deletions
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<List<License>> {
static final String ARGS_LICENSE = "license";