diff --git a/src/runtime/roblox_desktop_app_policy.cc b/src/runtime/roblox_desktop_app_policy.cc index 97b4ad9..052093b 100644 --- a/src/runtime/roblox_desktop_app_policy.cc +++ b/src/runtime/roblox_desktop_app_policy.cc @@ -189,6 +189,7 @@ void NormalizeDesktopLayout(nlohmann::json* policy) { (*policy)["SystemBarPlacement"] = "Left"; (*policy)["ShouldSystemBarUsuallyBePresent"] = true; (*policy)["DevicePreferencesPersistentPresenceVariant"] = "windows"; + (*policy)["ShowUncheckedBadge"] = false; } bool DecodePolicy(const nlohmann::json& encoded, nlohmann::json* policy) { diff --git a/tests/roblox_desktop_app_policy_test.cc b/tests/roblox_desktop_app_policy_test.cc index 99b10af..3d94a9c 100644 --- a/tests/roblox_desktop_app_policy_test.cc +++ b/tests/roblox_desktop_app_policy_test.cc @@ -73,6 +73,7 @@ void ExpectDesktopLayout(const nlohmann::json& policy) { EXPECT_EQ(policy["SystemBarPlacement"], "Left"); EXPECT_EQ(policy["ShouldSystemBarUsuallyBePresent"], true); EXPECT_EQ(policy["DevicePreferencesPersistentPresenceVariant"], "windows"); + EXPECT_EQ(policy["ShowUncheckedBadge"], false); } TEST(RobloxDesktopAppPolicyTest, @@ -86,7 +87,7 @@ TEST(RobloxDesktopAppPolicyTest, const nlohmann::json original_policy = { {"PlatformGroup", "Unknown"}, {"UseGridHomePage", nullptr}, {"SystemBarPlacement", "Bottom"}, {"EligibleForVideoCapture", false}, - {"AccountOwnedMarker", "preserve"}, + {"ShowUncheckedBadge", true}, {"AccountOwnedMarker", "preserve"}, }; const nlohmann::json configurations = { {"GUAC:42:app-policy", original_policy.dump()},