Browse Source

Android: add bits missing from “bailout in ComponentPeerView’s callbacks if underlying host is deleted.”

This was meant to be there since the beginning. The commit missing the changes is: 9527e077b1
tags/2021-05-28
Lukasz Kozakiewicz 8 years ago
parent
commit
a1a1297f7d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      modules/juce_core/native/java/JuceAppActivity.java

+ 5
- 0
modules/juce_core/native/java/JuceAppActivity.java View File

@@ -317,6 +317,8 @@ public class JuceAppActivity extends Activity
public final void deleteView (ComponentPeerView view)
{
view.host = 0;
ViewGroup group = (ViewGroup) (view.getParent());
if (group != null)
@@ -590,6 +592,9 @@ public class JuceAppActivity extends Activity
@Override
public boolean onTouchEvent (MotionEvent event)
{
if (host == 0)
return false;
int action = event.getAction();
long time = event.getEventTime();


Loading…
Cancel
Save