summaryrefslogtreecommitdiff
path: root/java/org/gnu/emacs/EmacsWindowAttachmentManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/org/gnu/emacs/EmacsWindowAttachmentManager.java')
-rw-r--r--java/org/gnu/emacs/EmacsWindowAttachmentManager.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/java/org/gnu/emacs/EmacsWindowAttachmentManager.java b/java/org/gnu/emacs/EmacsWindowAttachmentManager.java
index bc96de7fe1a..4ba5b35aacf 100644
--- a/java/org/gnu/emacs/EmacsWindowAttachmentManager.java
+++ b/java/org/gnu/emacs/EmacsWindowAttachmentManager.java
@@ -87,21 +87,17 @@ public final class EmacsWindowAttachmentManager
public void
registerWindowConsumer (WindowConsumer consumer)
{
- Log.d (TAG, "registerWindowConsumer " + consumer);
-
consumers.add (consumer);
for (EmacsWindow window : windows)
{
if (window.getAttachedConsumer () == null)
{
- Log.d (TAG, "registerWindowConsumer: attaching " + window);
consumer.attachWindow (window);
return;
}
}
- Log.d (TAG, "registerWindowConsumer: sendWindowAction 0, 0");
EmacsNative.sendWindowAction ((short) 0, 0);
}
@@ -111,21 +107,16 @@ public final class EmacsWindowAttachmentManager
Intent intent;
ActivityOptions options;
- Log.d (TAG, "registerWindow (maybe): " + window);
-
if (windows.contains (window))
/* The window is already registered. */
return;
- Log.d (TAG, "registerWindow: " + window);
-
windows.add (window);
for (WindowConsumer consumer : consumers)
{
if (consumer.getAttachedWindow () == null)
{
- Log.d (TAG, "registerWindow: attaching " + consumer);
consumer.attachWindow (window);
return;
}
@@ -147,8 +138,6 @@ public final class EmacsWindowAttachmentManager
EmacsService.SERVICE.startActivity (intent,
options.toBundle ());
}
-
- Log.d (TAG, "registerWindow: startActivity");
}
public void
@@ -156,19 +145,14 @@ public final class EmacsWindowAttachmentManager
{
EmacsWindow window;
- Log.d (TAG, "removeWindowConsumer " + consumer);
-
window = consumer.getAttachedWindow ();
if (window != null)
{
- Log.d (TAG, "removeWindowConsumer: detaching " + window);
-
consumer.detachWindow ();
window.onActivityDetached (isFinishing);
}
- Log.d (TAG, "removeWindowConsumer: removing " + consumer);
consumers.remove (consumer);
}
@@ -177,14 +161,10 @@ public final class EmacsWindowAttachmentManager
{
WindowConsumer consumer;
- Log.d (TAG, "detachWindow " + window);
-
if (window.getAttachedConsumer () != null)
{
consumer = window.getAttachedConsumer ();
- Log.d (TAG, "detachWindow: removing" + consumer);
-
consumers.remove (consumer);
consumer.destroy ();
}
@@ -197,8 +177,6 @@ public final class EmacsWindowAttachmentManager
{
EmacsWindow window;
- Log.d (TAG, "noticeIconified " + consumer);
-
/* If a window is attached, send the appropriate iconification
events. */
window = consumer.getAttachedWindow ();
@@ -212,8 +190,6 @@ public final class EmacsWindowAttachmentManager
{
EmacsWindow window;
- Log.d (TAG, "noticeDeiconified " + consumer);
-
/* If a window is attached, send the appropriate iconification
events. */
window = consumer.getAttachedWindow ();