Skip to content
Commit 5ec9f867 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Simplify the parameter of getWindowInsets

Since getLayoutHint is removed, it no longer needs a window
layout parameter to get insets. And because the param is empty,
enforceInsetsPolicyForTarget was also no-op.

This can reduce write/read fifty unused fields to parcel, and
ensure the insets sources are only copied once to the output.

Bug: 151908239
Test: atest android.view.WindowMetricsTest
Change-Id: I086aa229a9e2468b0c2c302deabe2234abd90080
parent 099f8243
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment