Enable DayNight and dynamic colors by default
Change-Id: I2ea5f8d07b579c013684d92c34d4b451bf7d816b
diff --git a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigHelper.java b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigHelper.java
index bd8ba66..bffc1ad 100644
--- a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigHelper.java
+++ b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigHelper.java
@@ -842,9 +842,9 @@
/* arg= */ null,
/* extras= */ null);
} catch (IllegalArgumentException | SecurityException exception) {
- Log.w(TAG, "SetupWizard DayNight supporting status unknown; return as false.");
+ Log.w(TAG, "SetupWizard DayNight supporting status unknown; return as true.");
suwDayNightEnabledBundle = null;
- return false;
+ return true;
}
}
@@ -867,9 +867,9 @@
} catch (IllegalArgumentException | SecurityException exception) {
Log.w(
TAG,
- "SetupWizard extended partner configs supporting status unknown; return as false.");
+ "SetupWizard extended partner configs supporting status unknown; return as true.");
applyExtendedPartnerConfigBundle = null;
- return false;
+ return true;
}
}
@@ -952,9 +952,9 @@
/* arg= */ null,
/* extras= */ null);
} catch (IllegalArgumentException | SecurityException exception) {
- Log.w(TAG, "SetupWizard dynamic color supporting status unknown; return as false.");
+ Log.w(TAG, "SetupWizard dynamic color supporting status unknown; return as true.");
applyDynamicColorBundle = null;
- return false;
+ return true;
}
}