jenkins-bot has submitted this change and it was merged.

Change subject: Fix possible crash with <4.0 devices when opening More.
......................................................................


Fix possible crash with <4.0 devices when opening More.

OTRS:
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7601473

Change-Id: I673e26d0288c71940f551ad9cdb72db262dbe406
---
M wikipedia/src/main/java/org/wikipedia/settings/PreferenceActivityWithBack.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Yuvipanda: Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/wikipedia/src/main/java/org/wikipedia/settings/PreferenceActivityWithBack.java
 
b/wikipedia/src/main/java/org/wikipedia/settings/PreferenceActivityWithBack.java
index c7bbcbd..70a3ccd 100644
--- 
a/wikipedia/src/main/java/org/wikipedia/settings/PreferenceActivityWithBack.java
+++ 
b/wikipedia/src/main/java/org/wikipedia/settings/PreferenceActivityWithBack.java
@@ -10,7 +10,7 @@
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         // Hmm. Can't use ActionBarActivity?
-        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
+        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
             getActionBar().setDisplayHomeAsUpEnabled(true);
         }
     }

-- 
To view, visit https://gerrit.wikimedia.org/r/139118
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I673e26d0288c71940f551ad9cdb72db262dbe406
Gerrit-PatchSet: 2
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Dbrant <[email protected]>
Gerrit-Reviewer: BearND <[email protected]>
Gerrit-Reviewer: Brion VIBBER <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to