diff --git a/setup.sh b/setup.sh index 1609156a..90934ea3 100755 --- a/setup.sh +++ b/setup.sh @@ -215,6 +215,12 @@ copyAndroid () { rm -v -f ${CR_SRC_DIR}/chrome/android/java/res_chromium_base/mipmap-xxhdpi/layered_app_icon_background.png && #rm -v -f ${CR_SRC_DIR}/chrome/android/java/res_chromium_base/mipmap-xxhdpi/layered_app_icon.png && #./infra/fix_libaom.sh && + printf "\n" && + printf "${YEL}Downloading PGO profiles...${c0}\n" && + cd ${CR_SRC_DIR} && + python3 tools/update_pgo_profiles.py --target=android-arm64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles && + python3 tools/update_pgo_profiles.py --target=android-arm32 update --gs-url-base=chromium-optimization-profiles/pgo_profiles && + cd ~/thorium && printf "\n" } case $1 in diff --git a/src/components/flags_ui/flags_state.cc b/src/components/flags_ui/flags_state.cc index 47a1151b..7f09d946 100644 --- a/src/components/flags_ui/flags_state.cc +++ b/src/components/flags_ui/flags_state.cc @@ -658,6 +658,9 @@ void FlagsState::GetFlagFeatureEntries( for (const FeatureEntry& entry : feature_entries_) { std::string desc = entry.visible_description; if (skip_feature_entry.Run(entry)) + if (flags::IsFlagExpired(flags_storage, entry.internal_name)) + desc.insert(0, " NOTE: THIS FLAG IS EXPIRED AND MAY STOP FUNCTIONING OR BE REMOVED SOON!"); + else continue; base::Value::Dict data;