Bug 769840 - Increase number of installable apps. r=mfinkle

This commit is contained in:
Wes Johnston 2012-07-13 16:19:26 -07:00
Родитель d1a353d909
Коммит 67677e21f8
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1004,7 +1004,7 @@ $(android-tgts): % : %.in $(android-preqs)
# Add a predefined number of WebApp<num> classes to the WebApps class.
# These are used so that each webapp can launch in its own process
# Keep this number in sync with the max web apps in WebAppAllocator.java
NUM_WEB_APPS=10
NUM_WEB_APPS=100
WebAppManifestFragment.xml.in: WebAppManifestFragment.xml.frag
@rm -f $@
@for n in `$(PYTHON) -c "for x in range($(NUM_WEB_APPS)): print x"`; do \

Просмотреть файл

@ -14,7 +14,7 @@ import org.json.JSONException;
public class WebAppAllocator {
// The number of WebApp# and WEBAPP# activites/apps/intents
private final static int MAX_WEB_APPS = 10;
private final static int MAX_WEB_APPS = 100;
protected static GeckoApp sContext = null;
protected static WebAppAllocator sInstance = null;