Bug 1252650 - Make services can show notifications; r=jchen

This commit is contained in:
SUN Haitao 2016-04-17 21:40:03 +08:00
parent 2d80b8f840
commit a39ed0ab4f

View File

@ -86,8 +86,8 @@ public class GeckoService extends Service {
public void onCreate() {
GeckoAppShell.ensureCrashHandling();
GeckoAppShell.setApplicationContext(getApplicationContext());
GeckoAppShell.setNotificationClient(new ServiceNotificationClient(getApplicationContext()));
GeckoThread.onResume();
super.onCreate();
if (DEBUG) {