Fix BuildInfo.isDebuggable to support FeatureFlags with sysui-studio.
Also explicitly log whether the new pipeline rendering is enabled or not. Fixes: 197343061 Test: manual Change-Id: I2345d367b9a06c9e7a59c1d34d9b38394aad0f3c
This commit is contained in:
@@ -100,7 +100,8 @@ public class NotifPipelineInitializer implements Dumpable {
|
||||
mNotifCollection.attach(mGroupCoalescer);
|
||||
mGroupCoalescer.attach(notificationService);
|
||||
|
||||
Log.d(TAG, "Notif pipeline initialized");
|
||||
Log.d(TAG, "Notif pipeline initialized."
|
||||
+ " rendering=" + mFeatureFlags.isNewNotifPipelineRenderingEnabled());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -32,6 +32,8 @@ public class BuildInfo {
|
||||
|
||||
/** @see Build#IS_DEBUGGABLE */
|
||||
public boolean isDebuggable() {
|
||||
return Build.IS_DEBUGGABLE;
|
||||
// Build.IS_DEBUGGABLE is inlined by the gradle build, causing this to incorrectly
|
||||
// return false when using sysui-studio.
|
||||
return Build.isDebuggable();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user