Merge: Nitsmell : Adding new code smells and print console updated
[nit.git] / lib / android / notification / notification.nit
index efd7c5f..0b6cb66 100644 (file)
@@ -109,7 +109,7 @@ class Notification
                if id != null then
                        sys.jni_env.push_local_frame(8)
 
-                       var manager = app.native_activity.notification_manager
+                       var manager = app.native_context.notification_manager
                        manager.cancel(tag.to_java_string, id)
 
                        self.id = null