am 65427f1a: Offer debug flag to force default primary.

* commit '65427f1a805ed2b8ee65a30ecf6ea8b14fe1e02b':
  Offer debug flag to force default primary.
This commit is contained in:
Jeff Sharkey 2015-05-20 00:24:56 +00:00 committed by Android Git Automerger
commit a9ae06f092

View file

@ -228,7 +228,8 @@ static int process_config(VolumeManager *vm) {
flags |= android::vold::Disk::Flags::kAdoptable;
has_adoptable = true;
}
if (fs_mgr_is_noemulatedsd(&fstab->recs[i])) {
if (fs_mgr_is_noemulatedsd(&fstab->recs[i])
|| property_get_bool("vold.debug.default_primary", false)) {
flags |= android::vold::Disk::Flags::kDefaultPrimary;
}