title: Android OS 2.2 Permissions: I have absolutely no idea why this simple piece of code doesn't work. What am I doing wrong?
body: <p>I'm just playing around with some code. I create an Activity and simply do something like this:</p>
  
  <pre><code>long lo = currentTimeMillis();
  System.out.println(lo);
  
  lo *= 3;
  System.out.println(lo);
  
  SystemClock.setCurrentTimeMillis(lo);
  System.out.println( currentTimeMillis() );
  </code></pre>
  
  <p>Yes, in my AndroidManifest.xml, I've added:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.SET_TIME"&gt;&lt;/uses-permission&gt;
  &lt;uses-permission android:name="android.permission.SET_TIME_ZONE"&gt;&lt;/uses-permission&gt;
  </code></pre>
  
  <p>Nothing changes. The SystemClock is never reset...it just keeps on ticking.
  The error that I'm getting just says that the permission "SET_TIME" was not granted to the program. Protection level 3.</p>
  
  <p>The permissions are there...and in the API for 2.2 it says that this feature is supported now. I have no idea what I'm doing wrong.</p>
  
  <p>If android.content.Intent; comes into play, please explain. I don't really understand what the idea behind intents!</p>
  
  <p>Thanks for any help!</p>