title: No Activity found to handle Intent: ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
body: <p>I'm trying to start an activity for whitelisting an app on the emulator (API 25), but I keep getting an error saying:</p>
  
  <pre><code>Caused by: android.content.ActivityNotFoundException: 
  No Activity found to handle Intent { act=android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS }
  </code></pre>
  
  <p>Here's my code:</p>
  
  <pre><code>  @Override
    public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      Intent intent = new Intent(Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS);
      startActivity(intent);
  
    }
  </code></pre>
  
  <p>Anyone know why this error is thrown?</p>