title: android Adding Account with AccountManager, No Activity found to handle Intent { act=android.settings.ADD_ACCOUNT_SETTINGS (has extras) }
body: <p>in some phones (in a certain "oneplus" android v6.0.1 to be exact) . I'm getting <code>No Activity found to handle Intent { act=android.settings.ADD_ACCOUNT_SETTINGS (has extras) }</code>  error when I try to call up the account add screen with what seemed to be the "right" way.</p>
  
  <pre><code> Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT);
   intent.putExtra(Settings.EXTRA_ACCOUNT_TYPES, new String[]{Constants.ACCOUNT_TYPE});
   startActivity(intent);
  </code></pre>
  
  <p>I can seemingly add </p>
  
  <pre><code>&lt;intent-filter&gt;
         &lt;action android:name="android.settings.ADD_ACCOUNT_SETTINGS" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>to my login activity, but should I even do that? if so why is it working on most phones but crashing on one. I want my account intent to go through as if the user is trying to create an account through the phone's settings screen and this seems like a bad shortcut.</p>