[system/core] core: workaround to limited support bangcle free edition protection
This workaround provides the limited support apps of which dex files are
protected by bangcle free edition protection.
NOTE: Must be merged together with following workaround:
https://android.intel.com/#/c/394523/
https://android.intel.com/#/c/394524/
https://android.intel.com/#/c/394526/
Change-Id: I876330738cbe0f10819e8be961f61f8011258d4b
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-38665
Signed-off-by: Firefly <service@t-firefly.com>
This commit is contained in:
@ -43,8 +43,16 @@ int getprop_main(int argc, char *argv[])
|
||||
default_value = "";
|
||||
}
|
||||
|
||||
property_get(argv[1], value, default_value);
|
||||
printf("%s\n", value);
|
||||
if (!strcmp(argv[1], "ro.product.cpu.abi.bn")) {
|
||||
printf("armeabi-v7a\n");
|
||||
} else if (!strcmp(argv[1], "ro.product.cpu.abi2.bn")) {
|
||||
printf("armeabi-v5a\n");
|
||||
} else if (!strcmp(argv[1], "ro.product.cpu.abilist.bn")) {
|
||||
printf("armeabi-v7a,armeabi-v5a,armeabi\n");
|
||||
} else {
|
||||
property_get(argv[1], value, default_value);
|
||||
printf("%s\n", value);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user