зеркало из https://github.com/mozilla/gecko-dev.git
Bug 769840 - Increase number of installable apps. r=mfinkle
This commit is contained in:
Родитель
d1a353d909
Коммит
67677e21f8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче