Merge "New Pipeline: isNewPipelineEnabled() is always true." into tm-qpr-dev am: 483aff40f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18909892 Change-Id: Iefb32fb8c38a189310b68d81f3ecf331bb4958ce Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -45,9 +45,6 @@ public class Flags {
|
|||||||
|
|
||||||
/***************************************/
|
/***************************************/
|
||||||
// 100 - notification
|
// 100 - notification
|
||||||
public static final BooleanFlag NEW_NOTIFICATION_PIPELINE_RENDERING =
|
|
||||||
new BooleanFlag(101, true);
|
|
||||||
|
|
||||||
public static final BooleanFlag NOTIFICATION_PIPELINE_DEVELOPER_LOGGING =
|
public static final BooleanFlag NOTIFICATION_PIPELINE_DEVELOPER_LOGGING =
|
||||||
new BooleanFlag(103, false);
|
new BooleanFlag(103, false);
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,7 @@ class NotifPipelineFlags @Inject constructor(
|
|||||||
fun assertLegacyPipelineEnabled(): Unit =
|
fun assertLegacyPipelineEnabled(): Unit =
|
||||||
check(!isNewPipelineEnabled()) { "Old pipeline code running w/ new pipeline enabled" }
|
check(!isNewPipelineEnabled()) { "Old pipeline code running w/ new pipeline enabled" }
|
||||||
|
|
||||||
fun isNewPipelineEnabled(): Boolean =
|
fun isNewPipelineEnabled(): Boolean = true
|
||||||
featureFlags.isEnabled(Flags.NEW_NOTIFICATION_PIPELINE_RENDERING)
|
|
||||||
|
|
||||||
fun isDevLoggingEnabled(): Boolean =
|
fun isDevLoggingEnabled(): Boolean =
|
||||||
featureFlags.isEnabled(Flags.NOTIFICATION_PIPELINE_DEVELOPER_LOGGING)
|
featureFlags.isEnabled(Flags.NOTIFICATION_PIPELINE_DEVELOPER_LOGGING)
|
||||||
|
|||||||
Reference in New Issue
Block a user