From 0eff06dd01104c371ab94f4e5af948f40f48cbc4 Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Fri, 19 May 2017 09:03:17 -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: I969a612d4ae59d26369fea011608279423d30038 (cherry picked from commit 873172cf92d38b43122705b53f9c750246aa9e1b) --- .../src/main/java/com/example/android/justforus/MainActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JustForUs/justforus/src/main/java/com/example/android/justforus/MainActivity.java b/JustForUs/justforus/src/main/java/com/example/android/justforus/MainActivity.java index d799f30..fd836be 100644 --- a/JustForUs/justforus/src/main/java/com/example/android/justforus/MainActivity.java +++ b/JustForUs/justforus/src/main/java/com/example/android/justforus/MainActivity.java @@ -21,7 +21,7 @@ import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.ShareCompat; -import android.support.v7.app.ActionBarActivity; +import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; @@ -45,7 +45,7 @@ import java.util.List; *

Tapping on a coupon to redeem it brings up the Android "share" * dialog with a pre-populated message based on the coupon text. */ -public class MainActivity extends ActionBarActivity implements OnItemClickListener { +public class MainActivity extends AppCompatActivity implements OnItemClickListener { // Name of person giving out these coupons. When the user clicks on a coupon and shares // to another app, this name will be part of the pre-populated text. -- cgit v1.2.3