Commits
zhang sanshan committed 6a298a3ecfb
MA-14692 [Android] fix hang issue when run module CtsAppSecurityHostTestCases below the steps when hang: 1. system will call setUp() fistly which call "sm set-virtual-disk true" 2. sm list-disks adoptable 3. sm partition disk:7,0 private (disk:7,0 is the result of step 2) or sm partition disk:7,0 public it will set /sys/module/loop/parameters/max_part to 7 which used in readPartitions. it is used when creat loop devices. It will hang when make private if not set correct num. Add related selinux policy for feature virtual-disk. Change-Id: Ia6ac7a319fa7f3e998d5735c6971e4e9a6246bb4 Signed-off-by: zhang sanshan <pete.zhang@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/8372 Reviewed-by: Jindong Yue <jindong.yue@nxp.com>