.SUFFIXES: .java .class
$(CLASS_FILES) &: $(JAVA_FILES)
$(AM_V_JAVAC) $(JAVAC) $(JAVAFLAGS) $(JAVA_FILES)
+ $(AM_V_SILENT) touch $(CLASS_FILES)
# N.B. that find must be called all over again in case javac generated
# nested classes.
{
focusedActivities.add (this);
lastFocusedActivity = this;
+
+ /* Update the window insets as the focus change may have
+ changed the window insets as well, and the system does not
+ automatically restore visibility flags. */
+
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN
+ && Build.VERSION.SDK_INT < Build.VERSION_CODES.R
+ && isFullscreen)
+ syncFullscreenWith (window);
}
else
focusedActivities.remove (this);
{
isPaused = false;
- /* Update the window insets. */
- syncFullscreenWith (window);
-
EmacsWindowAttachmentManager.MANAGER.noticeDeiconified (this);
super.onResume ();
}