Files
frameworks_base/core/java/android
Tiger Huang 751839bd2a Make sure mParent is not null before using it
Otherwise, there will be NullPointerException.

Fix: 204883084
Test: Run the following code and see if it crashes.
  ViewGroup v = new FrameLayout(context);
  v.requestTransparentRegion(v);
  getWindowManager().addView(v, attrs);
  getWindowManager().removeView(v);
Change-Id: I059e13d2a258cf85dbc1694fb79b6088199de3fb
2021-11-04 17:26:04 +00:00
..
…
…
2021-10-27 17:51:58 +01:00
…
2021-06-22 13:15:01 +01:00
2021-09-23 17:17:47 +02:00
…