package sensor now uses async task to create a context event