private ActivityMonitor getActivityMonitor ( ) { IntentFilter filter = null ; ActivityMonitor activityMonitor = instrumentation . addMonitor ( filter , null , false ) ; return activityMonitor ; }
Creates a new ActivityMonitor and returns it