title: hide another application in Android
body: <p>I'm trying to hide another application by using the following code:</p>
  
  <pre><code>PackageManager pm = this.getPackageManager();
  pm.setComponentEnabledSetting(new ComponentName("com.sas.remotesample",".Player"),
  PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, PackageManager.DONT_KILL_APP);
  </code></pre>
  
  <p>and with the following permission:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/&gt;
  </code></pre>
  
  <p>but it throws  </p>
  
  <pre><code>java.lang.SecurityException: Permission Denial: attempt to change component state
  </code></pre>