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

Unified Diff: sky/services/activity/src/org/domokit/activity/ActivityImpl.java

Issue 1223053002: mv //sky/services/intents //sky/services/activity (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/services/activity/activity.mojom ('k') | sky/services/intents/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/services/activity/src/org/domokit/activity/ActivityImpl.java
diff --git a/sky/services/intents/src/org/domokit/intents/ActivityManagerImpl.java b/sky/services/activity/src/org/domokit/activity/ActivityImpl.java
similarity index 76%
rename from sky/services/intents/src/org/domokit/intents/ActivityManagerImpl.java
rename to sky/services/activity/src/org/domokit/activity/ActivityImpl.java
index 70b4ca9e68a08c54b73c59d51c7c50254df8b828..a61971a6e6d571a91c6165b6ac79a11363ef57ff 100644
--- a/sky/services/intents/src/org/domokit/intents/ActivityManagerImpl.java
+++ b/sky/services/activity/src/org/domokit/activity/ActivityImpl.java
@@ -2,30 +2,30 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.domokit.intents;
+package org.domokit.activity;
-import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.net.Uri;
import android.util.Log;
import org.chromium.mojo.system.MojoException;
-import org.chromium.mojom.intents.ActivityManager;
-import org.chromium.mojom.intents.ComponentName;
-import org.chromium.mojom.intents.Intent;
-import org.chromium.mojom.intents.StringExtra;
+import org.chromium.mojom.activity.Activity;
+import org.chromium.mojom.activity.ComponentName;
+import org.chromium.mojom.activity.Intent;
+import org.chromium.mojom.activity.StringExtra;
+import org.chromium.mojom.activity.TaskDescription;
/**
- * Android implementation of ActivityManager.
+ * Android implementation of Activity.
*/
-public class ActivityManagerImpl implements ActivityManager {
- private static final String TAG = "ActivityManagerImpl";
- private static Activity sCurrentActivity;
+public class ActivityImpl implements Activity {
+ private static final String TAG = "ActivityImpl";
+ private static android.app.Activity sCurrentActivity;
- public ActivityManagerImpl() {
+ public ActivityImpl() {
}
- public static void setCurrentActivity(Activity activity) {
+ public static void setCurrentActivity(android.app.Activity activity) {
sCurrentActivity = activity;
}
@@ -79,8 +79,7 @@ public class ActivityManagerImpl implements ActivityManager {
}
@Override
- public void setTaskDescription(
- org.chromium.mojom.intents.TaskDescription description) {
+ public void setTaskDescription(TaskDescription description) {
if (sCurrentActivity == null) {
return;
}
« no previous file with comments | « sky/services/activity/activity.mojom ('k') | sky/services/intents/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698