diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2019-09-18 03:21:59 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-09-18 03:21:59 +0000 |
| commit | eb307fddeeea0423562634d804238db67dcd6e07 (patch) | |
| tree | 51019564e70cf6239b652cbc58230b42fd4c33a3 /core/java | |
| parent | 00f9cb93c8b00c295034bedf59bac1017fd1b759 (diff) | |
| parent | 89ebc7c1ad1d52561e5d73b15028a2e309a27e74 (diff) | |
Snap for 5882211 from 89ebc7c1ad1d52561e5d73b15028a2e309a27e74 to qt-qpr1-release
Change-Id: I2cdbf6d97582fa9084ac8b3950a82ad5ae7fc806
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/content/IntentFilter.java | 4 | ||||
| -rw-r--r-- | core/java/android/view/View.java | 4 | ||||
| -rw-r--r-- | core/java/com/android/internal/policy/DecorView.java | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/core/java/android/content/IntentFilter.java b/core/java/android/content/IntentFilter.java index 9d523633feb6..099dea29eaf7 100644 --- a/core/java/android/content/IntentFilter.java +++ b/core/java/android/content/IntentFilter.java @@ -60,9 +60,7 @@ import java.util.Set; * multiple possible matching values (via {@link #addAction}, * {@link #addDataType}, {@link #addDataScheme}, {@link #addDataSchemeSpecificPart}, * {@link #addDataAuthority}, {@link #addDataPath}, and {@link #addCategory}, respectively). - * For actions, the field - * will not be tested if no values have been given (treating it as a wildcard); - * if no data characteristics are specified, however, then the filter will + * For actions, if no data characteristics are specified, then the filter will * only match intents that contain no data. * * <p>The data characteristic is diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 84665f78c702..c6536bb71cba 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -14431,8 +14431,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } notifyAppearedOrDisappearedForContentCaptureIfNeeded(isVisible); - if (isVisible != oldVisible) { - updateSystemGestureExclusionRects(); + if (!getSystemGestureExclusionRects().isEmpty() && isVisible != oldVisible) { + postUpdateSystemGestureExclusionRects(); } } diff --git a/core/java/com/android/internal/policy/DecorView.java b/core/java/com/android/internal/policy/DecorView.java index 7c52a40d4494..07002d788908 100644 --- a/core/java/com/android/internal/policy/DecorView.java +++ b/core/java/com/android/internal/policy/DecorView.java @@ -796,7 +796,9 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind updateElevation(); mAllowUpdateElevation = true; - if (changed && mResizeMode == RESIZE_MODE_DOCKED_DIVIDER) { + if (changed + && (mResizeMode == RESIZE_MODE_DOCKED_DIVIDER + || mDrawLegacyNavigationBarBackground)) { getViewRootImpl().requestInvalidateRootRenderNode(); } } |
