[SOLVED] Still unable to get Accelerometer Data in v3.3

Hi, I’m attempting to grab accelerometer data for a samsung note 3. I have see the thread:

And I still am unable to get anything from the accelerometer. It seems that the callback is never getting fired like others have described. It seems that most people in that thread were able to resolve the issue but I haven’t had any success.

HelloWorldScene.h

#include "cocos2d.h"
USING_NS_CC;

class HelloWorld : public cocos2d::Layer
{
public:
    static cocos2d::Scene* createScene();
    virtual bool init();
    void menuCloseCallback(cocos2d::Ref* pSender);
    CREATE_FUNC(HelloWorld);
    virtual void onAcceleration(Acceleration* acc, Event* event);
};

HelloWorldScene.cpp

Scene* HelloWorld::createScene()
{
    auto scene = Scene::create();
    auto layer = HelloWorld::create();
    scene->addChild(layer);
    return scene;
}

bool HelloWorld::init()
{
    if ( !Layer::init() ){ return false;}

    Device::setAccelerometerEnabled(true);
    auto accelerationListener = EventListenerAcceleration::create(CC_CALLBACK_2(HelloWorld::onAcceleration, this));
    _eventDispatcher->addEventListenerWithSceneGraphPriority(accelerationListener, this);
    return true;
}

void HelloWorld::onAcceleration(Acceleration *acc, Event *event)
{
    CCLOG("TEST");
}

I’ve been working on this for several hours with no luck. Does anyone have any ideas? I’m pretty sure my code is right, is there somewhere else I should be looking?

EDIT: I am an idiot. I rebooted my phone and it’s working.