diff options
author | Aurimas Liutikas <aurimas@google.com> | 2017-05-19 09:03:17 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2017-06-06 15:17:14 +0000 |
commit | 0eff06dd01104c371ab94f4e5af948f40f48cbc4 (patch) | |
tree | 8df37fe9ba0824e56020adc5fdc2944e187ffb4c | |
parent | 95d49d216223e3431647abd79f5e376958353c95 (diff) | |
download | demos-0eff06dd01104c371ab94f4e5af948f40f48cbc4.tar.gz |
Remove usages of ActionBarActivity.android-vts-8.0_r2android-vts-8.0_r1oreo-dev
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)
-rw-r--r-- | JustForUs/justforus/src/main/java/com/example/android/justforus/MainActivity.java | 4 |
1 files 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; * <p>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. |