incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [6/17] git commit: Removing GapView, since it doesn't actually do anything
Date Mon, 23 Jan 2012 23:05:54 GMT
Removing GapView, since it doesn't actually do anything


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/490a13d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/490a13d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/490a13d3

Branch: refs/heads/master
Commit: 490a13d3c46587c76000b5a537e7658150e466af
Parents: a2cdcd4
Author: Joe Bowser <bowserj@apache.org>
Authored: Mon Jan 23 11:57:15 2012 -0800
Committer: Joe Bowser <bowserj@apache.org>
Committed: Mon Jan 23 11:57:15 2012 -0800

----------------------------------------------------------------------
 framework/src/com/phonegap/GapView.java |   38 --------------------------
 1 files changed, 0 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/490a13d3/framework/src/com/phonegap/GapView.java
----------------------------------------------------------------------
diff --git a/framework/src/com/phonegap/GapView.java b/framework/src/com/phonegap/GapView.java
deleted file mode 100644
index 6ac3b20..0000000
--- a/framework/src/com/phonegap/GapView.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package com.phonegap;
-
-import android.content.Context;
-import android.view.View;
-import android.view.ViewGroup;
-import android.webkit.WebView;
-import android.widget.EditText;
-
-public class GapView extends WebView {
-
-	public GapView(Context context) {
-		super(context);
-		// TODO Auto-generated constructor stub
-	}
-
-	@Override
-	protected void attachViewToParent(View child, int index, ViewGroup.LayoutParams params)
-	{
-		if(child.getClass() != EditText.class)
-			super.attachViewToParent(child, index, params);
-		else
-		{
-			super.attachViewToParent(child, index, params);
-		}
-	}
-	
-	@Override
-	protected boolean addViewInLayout(View child, int index, ViewGroup.LayoutParams params)
-	{
-		return super.addViewInLayout(child, index, params);
-	}
-	
-	@Override
-	protected boolean addViewInLayout(View child, int index, ViewGroup.LayoutParams params,
boolean preventRequestLayout)
-	{
-		return super.addViewInLayout(child, index, params);
-	}
-}


Mime
View raw message