Touch/Tap events getting lost onResume amazon

So I’ve been tested this out on a few android devices and it works just fine but doesn’t work on the Kindle Fire 7

Here are the steps to replicate my issue
 

  1. Open the app
  2. Turn the screen off using the power button or let the screen timeout
  3. Turn the device back on
     

Here is the code that I’m running, very simple
 

local rect = display.newRect(10, 10, 300, 300) rect:addEventListener("tap", function() print("TAPPED"))

When testing on an android device everything works fine. On my kindle fire 7 though the print gets called perfectly until the screen turns off. Once the screen comes back on it no longer registers any tap events. I also tried the same with touch events and it has the same exact issue.  

Just wondering if there is something I should check? I would assume it’s a bug though as it works fine on 10 other android devices I tested just not on the amazon device. 

Here is my java code, it’s pretty simple as well

 

import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.ansca.corona.CoronaView; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); //Show main activity with a hidden title bar setContentView(R.layout.activity\_main); //Load in the corona fragment view if(savedInstanceState == null) { getFragmentManager().beginTransaction().add(R.id.container, new PlaceholderFragment()).commit(); } } /\*\* \* A placeholder fragment containing a simple view. \*/ public static class PlaceholderFragment extends Fragment { CoronaView mBigCoronaView; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { //Load in the corona code View rootView = inflater.inflate(R.layout.fragment\_main, container, false); mBigCoronaView = (CoronaView) rootView.findViewById(R.id.view\_outer); mBigCoronaView.init("CoronaCode/"); return rootView; } @Override public void onResume() { super.onResume(); mBigCoronaView.resume(); } @Override public void onPause() { super.onPause(); mBigCoronaView.pause(); } @Override public void onDestroy() { super.onDestroy(); mBigCoronaView.destroy(); } } }

Okay so I bought a new kindle fire hd and the bug doesn’t exist. It seems to only be on the older gen 2 kindle fire is the issue. I don’t have a gen 1 to test on so I’m not sure if it’s only gen 2 or not. 

Here is my java code, it’s pretty simple as well

 

import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.ansca.corona.CoronaView; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); //Show main activity with a hidden title bar setContentView(R.layout.activity\_main); //Load in the corona fragment view if(savedInstanceState == null) { getFragmentManager().beginTransaction().add(R.id.container, new PlaceholderFragment()).commit(); } } /\*\* \* A placeholder fragment containing a simple view. \*/ public static class PlaceholderFragment extends Fragment { CoronaView mBigCoronaView; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { //Load in the corona code View rootView = inflater.inflate(R.layout.fragment\_main, container, false); mBigCoronaView = (CoronaView) rootView.findViewById(R.id.view\_outer); mBigCoronaView.init("CoronaCode/"); return rootView; } @Override public void onResume() { super.onResume(); mBigCoronaView.resume(); } @Override public void onPause() { super.onPause(); mBigCoronaView.pause(); } @Override public void onDestroy() { super.onDestroy(); mBigCoronaView.destroy(); } } }

Okay so I bought a new kindle fire hd and the bug doesn’t exist. It seems to only be on the older gen 2 kindle fire is the issue. I don’t have a gen 1 to test on so I’m not sure if it’s only gen 2 or not.