title: How to make <uses-permission android:name="android.permission.GET_TASKS" /> work in samsung devices?
body: <p>I am working on a app locker app.
  The app is complete for initial use with very basic features.
  I have tried it in AVD[Android 4.3] and it works perfectly. Also my backup device with Generic Android 4.0.4 is good to go with the app.
  But to my bad luck, my app won't run on my Samsung galaxy S Duos with Android 4.0.4 and also in Samsung Galaxy tab 3 T311.</p>
  
  <p><em><strong>EDIT :</em></strong> My question is how to get Running Tasks Info in Samsung devices so that My app Can Check if A locked App has been started or not and if yes then the lock-screen comes up asking for password.</p>
  
  <p>Also tell the procedure if other Brands like HTC and LG also require any such extra permission or method.</p>
  
  <p>Here's my Manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="ic.lunar.applocker"
    android:versionCode="1"
    android:versionName="1.0"&gt;
  
  &lt;uses-sdk 
      android:minSdkVersion="7"
      android:targetSdkVersion="18" /&gt;
  
  &lt;uses-permission 
      android:name="android.permission.GET_TASKS"&gt;
  &lt;/uses-permission&gt;
  &lt;uses-permission 
      android:name="android.permission.READ_LOGS"&gt;
  &lt;/uses-permission&gt;
  &lt;uses-permission 
      android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
  &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
  
  &lt;application 
      android:icon="@drawable/launcher_icon" 
      android:label="@string/app_name" 
      android:name="ic.lunar.applocker.AppLockerApplication"
      android:allowBackup="true" &gt;
  
      &lt;activity android:name="ic.lunar.applocker.AppLockerActivity"
                android:label="@string/app_name"
                android:launchMode="singleInstance"
                android:screenOrientation="portrait"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity 
          android:name="ic.lunar.applocker.AppLockerPreferenceActivity" 
          android:label="@string/appLockerPreferenceActivityName" 
          android:screenOrientation="portrait"&gt;
      &lt;/activity&gt;
      &lt;activity 
          android:name="ic.lunar.applocker.ApplicationListActivity" 
          android:label="@string/appLockerPreferenceActivityName"&gt;
      &lt;/activity&gt;
      &lt;service 
          android:name="ic.lunar.applocker.DetectorService"&gt;
  
      &lt;/service&gt;
      &lt;activity 
          android:name="ic.lunar.applocker.LockScreenActivity" 
          android:noHistory="true" 
          android:launchMode="singleInstance" 
          android:excludeFromRecents="true" 
          android:screenOrientation="portrait"/&gt;
  
      &lt;receiver 
          android:name="ic.lunar.applocker.StartupServiceReceiver"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.BOOT_COMPLETED"/&gt;
              &lt;action android:name="android.intent.action.MY_PACKAGE_REPLACED"/&gt;
              &lt;action android:name="android.intent.action.USER_PRESENT"/&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>