cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject cordova-plugin-inappbrowser git commit: CB-10944 : NoSuchMethodError in InAppBrowser plugin
Date Thu, 24 Mar 2016 18:01:04 GMT
Repository: cordova-plugin-inappbrowser
Updated Branches:
  refs/heads/master 68054819d -> 21f4de0e2


CB-10944 : NoSuchMethodError in InAppBrowser plugin

This closes #158


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/21f4de0e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/21f4de0e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/21f4de0e

Branch: refs/heads/master
Commit: 21f4de0e2aa58e16af20aa4ee809c05153135925
Parents: 6805481
Author: Alexis Kofman <alexis.kofman@gmail.com>
Authored: Thu Mar 24 08:06:20 2016 +0100
Committer: Joe Bowser <bowserj@apache.org>
Committed: Thu Mar 24 11:00:51 2016 -0700

----------------------------------------------------------------------
 src/android/InAppBrowser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/21f4de0e/src/android/InAppBrowser.java
----------------------------------------------------------------------
diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java
index 5bf4d3a..f105a62 100644
--- a/src/android/InAppBrowser.java
+++ b/src/android/InAppBrowser.java
@@ -572,7 +572,7 @@ public class InAppBrowser extends CordovaPlugin {
                 back.setId(Integer.valueOf(2));
                 Resources activityRes = cordova.getActivity().getResources();
                 int backResId = activityRes.getIdentifier("ic_action_previous_item", "drawable",
cordova.getActivity().getPackageName());
-                Drawable backIcon = activityRes.getDrawable(backResId, cordova.getActivity().getTheme());
+                Drawable backIcon = activityRes.getDrawable(backResId);
                 back.setBackground(null);
                 back.setImageDrawable(backIcon);
                 back.setScaleType(ImageView.ScaleType.FIT_CENTER);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message