title: Settings.canDrawOverlays for API < 23
body: <p>Since I can use <code>Settings.canDrawOverlays</code> to check if the user granted this permission on API >= 23, how I can check if the user have it on older APIS?</p>
  
  <p>Does this permission is automically granted on API &lt; 23 and no need to check for it?</p>
  
  <p>Currently, I start my service only on API 23+ after the permission are granted.</p>
  
  <pre><code>@SuppressLint("NewApi")
      public void checkDrawOverlayPermission() {
          if(Build.VERSION.SDK_INT &gt;= 23) {
              /** check if we already  have permission to draw over other apps */
              if (!Settings.canDrawOverlays(this)) {
                  /** if not construct intent to request permission */
                  Intent intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION,
                          Uri.parse("package:" + getPackageName()));
                  /** request permission via start activity for result */
                  startActivityForResult(intent, REQUEST_CODE);
              } else {
                  startService(new Intent(this, ChatHeadService.class));
              }
          }
      }
  </code></pre>
  
  <p>But what if the user is on API &lt;= 22? How I can make sure the application wont crash and my service will start?</p>