code to set "Automatic date&Time" in settings (4.2 Jellybean) not working
<p>Code that works for android version till 4.1.2 jellybean:</p>

<p>Settings.System.putInt( this.getApplicationContext().getContentResolver(),
                    <strong>*Settings.System.AUTO_TIME*</strong>, 1);</p>

<p>Official android documentation states that "Settings.System.AUTO_TIME" is deprecated in API level 17. Instead asking to use "Settings.Global.AUTO_TIME" but the code doesn't work anymore.</p>

<p><a href="http://developer.android.com/reference/android/provider/Settings.System.html" rel="nofollow">http://developer.android.com/reference/android/provider/Settings.System.html</a></p>

<p>Code that doesn't work for android version 4.2  jellybean:</p>

<p>Settings.System.putInt( this.getApplicationContext().getContentResolver(),
                    <strong>Settings.Global.AUTO_TIME</strong>, 1);</p>

<p>Help me out to fix this...</p>
