title: What is the alternative filter for deprecated android.hardware.camera.autofocus?
body: <p>I know that the filter <strong><em>"android.hardware.camera.autofocus"</em></strong> is deprecated from <code>sdk 21</code>.</p>
  
  <p>I also know that I can check it programmatically when app is running.</p>
  
  <p>But, the question is that isn't there an alternative filter and must I do it programmatically?</p>
  
  <p>If there isn't, can you explain the reason of not doing the work using filters?</p>
  
  <p>Thanks in advance.</p>