Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
StArrayJaN committed Oct 29, 2023
1 parent 5b41a09 commit a9af927
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/src/main/java/com/disney/WMW/WMWActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
import org.fmod.FMODAudioDevice;
import thercn.wmw.MainActivity;
import thercn.wmw.R;
import android.view.ActionMode;
import android.view.ActionMode.Callback;

public class WMWActivity extends BaseActivity {
private static GlobalPurchaseHandler globalIapHandler;
Expand Down Expand Up @@ -61,6 +63,12 @@ public class WMWActivity extends BaseActivity {
{
System.loadLibrary("mui");
}

@Override
public ActionMode onWindowStartingActionMode(ActionMode.Callback callback, int type) {
return super.onWindowStartingActionMode(callback, type);
}

public WMWActivity() {
redirectOutput();
this.isRunning = false;
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/thercn/wmw/GlobalApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public void run() {
try {
Looper.loop();
} catch (final Throwable e) {
Log.e("WMW",Log.getStackTraceString(e));
if (isRunning.get()) {
MAIN_HANDLER.post(new Runnable(){

Expand Down

0 comments on commit a9af927

Please sign in to comment.