Job Scheduler not running on Android N : <p>Job Scheduler is working as expected on Android Marshmallow and Lollipop devices, but it is not running and Nexus 5x (Android N Preview). </p>

<p>Code for scheduling the job</p>

<pre><code>        ComponentName componentName = new ComponentName(MainActivity.this, TestJobService.class.getName());
        JobInfo.Builder builder;
        builder = new JobInfo.Builder(JOB_ID, componentName);
        builder.setPeriodic(5000);
        JobInfo jobInfo;
        jobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE);
        jobInfo = builder.build();
        int jobId = jobScheduler.schedule(jobInfo);
</code></pre>

<p>Service is defined in manifest as:</p>

<pre><code>&lt;service android:name=".TestJobService"
            android:permission="android.permission.BIND_JOB_SERVICE" /&gt;
</code></pre>

<p>Is any one having this issue on Android N (Preview)?</p>
