Update Task Bar and Split-Screen with new font type.
The change applies new font type to Task Bar and Split-Screen if gsf is enbled. Bug: b/393610004 Test: Check that the fonts change when gsf is enabled. Flag: com.android.wm.shell.enable_gsf Change-Id: I704763dc9aec26aa0a6fe6b95c054c8e563cdc16
This commit is contained in:
1 parent
e3d58f1ecb
commit
391a00630e
7 files changed
+30
-72
No files matched your search
@@ -58,6 +58,8 @@ import com.android.quickstep.util.SingleTask;
|
||||
import com.android.quickstep.util.SplitTask;
|
||||
import com.android.systemui.shared.recents.model.Task;
|
||||
import com.android.systemui.shared.system.InteractionJankMonitorWrapper;
|
||||
import com.android.wm.shell.shared.TypefaceUtils;
|
||||
import com.android.wm.shell.shared.TypefaceUtils.FontFamily;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -189,10 +191,9 @@ public class KeyboardQuickSwitchView extends ConstraintLayout {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
TypefaceUtils.setTypeface(
|
||||
mNoRecentItemsPane.findViewById(R.id.no_recent_items_text),
|
||||
TypefaceUtils.FONT_FAMILY_LABEL_LARGE_BASELINE);
|
||||
FontFamily.GSF_LABEL_LARGE);
|
||||
}
|
||||
|
||||
private void registerOnBackInvokedCallback() {
|
||||
|
||||
Reference in new issue
Block a user