Skip to content

Commit 3e1765d

Browse files
committed
fix: context
1 parent 680dfe9 commit 3e1765d

File tree

1 file changed

+1
-1
lines changed
  • src/android/java/com/janeasystems/cdvnodejsmobile

1 file changed

+1
-1
lines changed

src/android/java/com/janeasystems/cdvnodejsmobile/NodeJS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ protected void doColdRestart() {
613613
String baseError = "Unable to cold restart application: ";
614614
try {
615615
Log.d(LOGTAG, "Cold restarting application");
616-
Context c = applicationContext;
616+
Context c = context;
617617
//check if the context is given
618618
if (c != null) {
619619
//fetch the packagemanager so we can get the default launch activity

0 commit comments

Comments
 (0)