OSDN Git Service

Do not report app bound differences as a Configuration change.
authorBryce Lee <brycelee@google.com>
Tue, 25 Jul 2017 17:48:42 +0000 (10:48 -0700)
committerBryce Lee <brycelee@google.com>
Tue, 25 Jul 2017 18:20:29 +0000 (18:20 +0000)
commit600daddb679e356f5767a9e898751cc4c1cba3b4
tree38d1961323a61a3c88c738df213a1ab74da0628f
parent544e628e165a27d15672ab9bc5ffe0a558d37d91
Do not report app bound differences as a Configuration change.

App bounds are an internal Configuration field and should not
influence the diff that determines whether the Configuration has
changed. This changelist ensures this by introducing a new flag that
is identified server side and filtered before informing the client
that the configuration has changed.

Change-Id: Ibf1387f73eaa9b39e6213e1a1109c4cd57554e7c
Fixes: 63927944
Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests#testAppBoundsConfigurationDiff
Test: go/wm-smoke
core/java/android/content/pm/ActivityInfo.java
core/java/android/content/res/Configuration.java
services/core/java/com/android/server/am/ActivityRecord.java
services/tests/servicestests/src/com/android/server/wm/AppBoundsTests.java