[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:
Firefly
2015-06-05 09:49:22 -04:00
committed by djw
parent a760d6235d
commit 7b24108a67

View File

@ -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;
}