Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoApplication.java

Issue 1225103009: Fix Asteroids game to paint again and give it an icon. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: updated Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/example/demo_launcher/apk/BUILD.gn ('k') | sky/sdk/example/game/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoApplication.java
diff --git a/sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoApplication.java b/sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoApplication.java
index 381b343cdaf0ba73aab8ecce08a0f32fb90b8935..c1efd8201653c5875b8b47559bb29097f6a12e62 100644
--- a/sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoApplication.java
+++ b/sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoApplication.java
@@ -6,15 +6,11 @@ package org.domokit.sky.demo;
import android.content.Context;
-import org.chromium.mojo.keyboard.KeyboardServiceImpl;
import org.chromium.mojo.sensors.SensorServiceImpl;
import org.chromium.mojo.system.Core;
import org.chromium.mojo.system.MessagePipeHandle;
-import org.chromium.mojom.activity.Activity;
-import org.chromium.mojom.keyboard.KeyboardService;
import org.chromium.mojom.media.MediaService;
import org.chromium.mojom.sensors.SensorService;
-import org.domokit.activity.ActivityImpl;
import org.domokit.media.MediaServiceImpl;
import org.domokit.sky.shell.ResourceExtractor;
import org.domokit.sky.shell.ServiceFactory;
@@ -50,20 +46,6 @@ public class SkyDemoApplication extends SkyApplication {
}
});
- registry.register(KeyboardService.MANAGER.getName(), new ServiceFactory() {
- @Override
- public void connectToService(Context context, Core core, MessagePipeHandle pipe) {
- KeyboardService.MANAGER.bind(new KeyboardServiceImpl(context), pipe);
- }
- });
-
- registry.register(Activity.MANAGER.getName(), new ServiceFactory() {
- @Override
- public void connectToService(Context context, Core core, MessagePipeHandle pipe) {
- Activity.MANAGER.bind(new ActivityImpl(), pipe);
- }
- });
-
registry.register(MediaService.MANAGER.getName(), new ServiceFactory() {
@Override
public void connectToService(Context context, Core core, MessagePipeHandle pipe) {
« no previous file with comments | « sky/sdk/example/demo_launcher/apk/BUILD.gn ('k') | sky/sdk/example/game/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698