backout c5961842578e CLOSED TREE

This commit is contained in:
Wes Johnston
2012-08-21 13:39:39 -07:00
parent 042f619edc
commit 06f6a49618
11 changed files with 11 additions and 280 deletions

View File

@@ -817,14 +817,10 @@ public class GeckoAppShell
if (index == -1)
return null;
return getWebAppIntent(index, aURI);
}
public static Intent getWebAppIntent(int aIndex, String aURI) {
Intent intent = new Intent();
intent.setAction(GeckoApp.ACTION_WEBAPP_PREFIX + aIndex);
intent.setAction(GeckoApp.ACTION_WEBAPP_PREFIX + index);
intent.setData(Uri.parse(aURI));
intent.setClassName(GeckoApp.mAppContext, GeckoApp.mAppContext.getPackageName() + ".WebApps$WebApp" + aIndex);
intent.setClassName(GeckoApp.mAppContext, GeckoApp.mAppContext.getPackageName() + ".WebApps$WebApp" + index);
return intent;
}