am 65427f1a
: Offer debug flag to force default primary.
* commit '65427f1a805ed2b8ee65a30ecf6ea8b14fe1e02b': Offer debug flag to force default primary.
This commit is contained in:
commit
a9ae06f092
1 changed files with 2 additions and 1 deletions
3
main.cpp
3
main.cpp
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue