Bug 1264815 - Add a 'data' parameter to GeckoThread.createServices; r=jchen

This commit is contained in:
SUN Haitao committed 2016-04-16 14:19:37 +08:00
1 parent 7c03410aeb
commit fdbf33dbc0
1 file changed
+1 -3
@@ -129,9 +129,7 @@ public class GeckoService extends Service {
}
public static Intent getIntentToCreateServices(final Context context, final String category) {
final Intent intent = getIntentForAction(context, INTENT_ACTION_CREATE_SERVICES);
intent.putExtra(INTENT_SERVICE_CATEGORY, category);
return intent;
return getIntentToCreateServices(context, category, /* data */ null);
}
public static void setIntentProfile(final Intent intent, final String profileName,