Skip to content

Commit

Permalink
avoid addWindowToStack error
Browse files Browse the repository at this point in the history
  • Loading branch information
Squirrel authored and Squirrel committed Jun 10, 2019
1 parent f1558e3 commit 8407e30
Show file tree
Hide file tree
Showing 19 changed files with 58 additions and 4 deletions.
29 changes: 29 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>NappDrawer</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.appcelerator.titanium.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.aptana.ide.core.unifiedBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.appcelerator.titanium.mobile.module.nature</nature>
<nature>com.aptana.projects.webnature</nature>
</natures>
</projectDescription>
Binary file removed android/dist/dk.napp.drawer-android-1.0.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.1.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.2.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.3.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.4.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.5.RC.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.5.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.6.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.7.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-1.1.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-2.0.0.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-2.0.1.zip
Binary file not shown.
Binary file removed android/dist/dk.napp.drawer-android-2.0.2.zip
Binary file not shown.
Binary file modified android/dist/nappslide.jar
Binary file not shown.
26 changes: 26 additions & 0 deletions android/java-sources.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/chrisrenke/drawerarrowdrawable/DrawerArrowDrawable.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/com/slidingmenu/lib/CanvasTransformerBuilder.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/com/slidingmenu/lib/CustomViewAbove.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/com/slidingmenu/lib/CustomViewBehind.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/com/slidingmenu/lib/SlidingMenu.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/dk/napp/drawer/Drawer.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/dk/napp/drawer/DrawerProxy.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/dk/napp/drawer/NappdrawerModule.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/src/dk/napp/drawer/RHelper.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/java/dk/napp/drawer/NappdrawerBootstrap.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/compat/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/coreui/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/coreutils/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/design/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/exifinterface/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/fragment/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/graphics/drawable/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/graphics/drawable/animated/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/mediacompat/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/transition/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/v4/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/v7/appcompat/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/v7/cardview/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/android/support/v7/recyclerview/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/dk/napp/drawer/R.java"
"/Users/squirrel/Documents/Appcelerator_Studio_Workspace/dossiersanstitre/NappDrawer/android/build/generated/r/ti/modules/titanium/ui/R.java"
Binary file added android/lib/support-v4-25.3.1.jar
Binary file not shown.
5 changes: 2 additions & 3 deletions android/src/com/slidingmenu/lib/CustomViewAbove.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import android.graphics.Canvas;
import android.graphics.Rect;
import android.os.Build;
import android.support.v4.view.KeyEventCompat;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.VelocityTrackerCompat;
import android.support.v4.view.ViewCompat;
Expand Down Expand Up @@ -947,9 +946,9 @@ public boolean executeKeyEvent(KeyEvent event) {
if (Build.VERSION.SDK_INT >= 11) {
// The focus finder had a bug handling FOCUS_FORWARD and FOCUS_BACKWARD
// before Android 3.0. Ignore the tab key on those devices.
if (KeyEventCompat.hasNoModifiers(event)) {
if (event.hasNoModifiers()) {
handled = arrowScroll(FOCUS_FORWARD);
} else if (KeyEventCompat.hasModifiers(event, KeyEvent.META_SHIFT_ON)) {
} else if (event.hasModifiers(KeyEvent.META_SHIFT_ON)) {
handled = arrowScroll(FOCUS_BACKWARD);
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/src/dk/napp/drawer/DrawerProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void windowCreated(TiBaseActivity activity, Bundle savedInstanceState) {
// Push the tab group onto the window stack. It needs to intercept
// stack changes to properly dispatch tab focus and blur events
// when windows open and close on top of it.
activity.addWindowToStack(this);
// activity.addWindowToStack(this);
}

@Override
Expand Down

0 comments on commit 8407e30

Please sign in to comment.