title: Set default application on AOSP
body: <p><strong>Question</strong></p>
  
  <p>Can I can set a default app on a build if two apps of the same category are 
  installed?</p>
  
  <p><strong>Example</strong></p>
  
  <p>I am adding a custom browser on AOSP. I want to set it as the default browser before the build starts.</p>
  
  <p>On the <code>Android.mk</code> file for packages there is an option to specify <code>'LOCAL_OVERRIDES_PACKAGES'</code> which basically overrides the install of the packages mentioned making my app as the default.</p>
  
  <p>But I would want the other app to be a part of the ROM with my app as the default.</p>
  
  <p>Any ideas will be appreciated.</p>