title: MediaStore.EXTRA_SIZE_LIMIT is not working in Android 7
body: <p>I want to restrict user for <code>capturing video</code> when <code>limit</code> reaches to 15Mb but on android 7 devices <strong>MediaStore.EXTRA_SIZE_LIMIT</strong> is not working.Is there any alternative to do so or there are some changes for the same requirement</p>
  
  <pre><code>Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
      if (takeVideoIntent.resolveActivity(getPackageManager()) != null) {
          // set the video image quality to high
          takeVideoIntent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0);
          //takeVideoIntent.putExtra(MediaStore.EXTRA_DURATION_LIMIT,30); //30 sec
          takeVideoIntent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, 15728640L); //15*1024*1024=15MiB(15728640L)//50*1024*1024=50MiB(52428800L)
          startActivityForResult(takeVideoIntent, RESULT_CAPTURE_VIDEO);`
  </code></pre>