title: sms broadcast receiver not triggering after one day
body: <p>In my app whenever we get the message, need to display one pop up with pre filled message. For this i used the following code in manifest file </p>
  
  <pre><code> &lt;receiver
          android:name="com.cte.broadcast.SMS_Receive_BroadCast"
          android:enabled="false"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.provider.Telephony.SMS_RECEIVED" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>And whenever app is login, register the broadcast receiver by using the following code</p>
  
  <pre><code>         ComponentName component = new ComponentName(getApplicationContext(),
                          SMS_Receive_BroadCast.class);
                  getApplicationContext().getPackageManager().setComponentEnabledSetting(component,
                          PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
                          PackageManager.DONT_KILL_APP);
  </code></pre>
  
  <p>And whenever app is login unregister the broadcast receiver by using the following code</p>
  
  <pre><code>ComponentName component_sms = new ComponentName(context.getApplicationContext(),
                  SMS_Receive_BroadCast.class);
          getApplicationContext().getPackageManager().setComponentEnabledSetting(component_sms,
                  PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
                  PackageManager.DONT_KILL_APP);
  </code></pre>
  
  <p>so here everything is working fine. when ever we logged in and whenever we get the message broadcast receiver trigger and getting pop up even app is closed. and logged out not getting trigger broadcast receiver and not getting pop up. so up to this everything fine. But the problem is after one day whenever we get the message the broadcast receiver wont trigger even it is logged in. But whenever we open the app and close it then it will working fine. so the problem is after some time broadcast receiver is automatically unregisterd i think..</p>
  
  <p>So how to resolve this problem..Thanks In Advance..</p>