GraphicsEnvironment: No debug ANGLE packages for profileable apps
An app opting in to "profileable" does not mean we should allow it to load ANGLE libraries from the debug package. Bug: 128637647 Test: atest CtsGpuToolsHostTestCases Change-Id: I5c6ea33a1e1624e006bc4865bc0a06ea92d9d806
This commit is contained in:
@@ -466,9 +466,8 @@ public class GraphicsEnvironment {
|
||||
*/
|
||||
private String getAngleDebugPackage(Context context, Bundle coreSettings) {
|
||||
final boolean appIsDebuggable = isDebuggable(context);
|
||||
final boolean appIsProfileable = isProfileable(context);
|
||||
final boolean deviceIsDebuggable = getCanLoadSystemLibraries() == 1;
|
||||
if (appIsDebuggable || appIsProfileable || deviceIsDebuggable) {
|
||||
if (appIsDebuggable || deviceIsDebuggable) {
|
||||
String debugPackage;
|
||||
|
||||
if (coreSettings != null) {
|
||||
|
||||
Reference in New Issue
Block a user