diff options
| author | Riddle Hsu <riddlehsu@google.com> | 2020-05-12 09:05:17 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-05-12 09:05:17 +0000 |
| commit | 8e726a2ef72965430f514b0d8fa17a01798e51dc (patch) | |
| tree | 89e98a59b3571079dbe40836edc46d59f0eea904 /core/java/android/app/ClientTransactionHandler.java | |
| parent | 80dcec801deb24186ce375da85c5b96bc2437038 (diff) | |
| parent | d490c57905bc47a4d583d69049864e6348171c61 (diff) | |
Merge changes from topic "b147213487" into rvc-dev
* changes:
Send fixed rotation adjustments to the associated client
Add support to override display adjustments by token
Add fixed rotation display adjustments
Diffstat (limited to 'core/java/android/app/ClientTransactionHandler.java')
| -rw-r--r-- | core/java/android/app/ClientTransactionHandler.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/app/ClientTransactionHandler.java b/core/java/android/app/ClientTransactionHandler.java index 83465b0f8d36..2df756e80fde 100644 --- a/core/java/android/app/ClientTransactionHandler.java +++ b/core/java/android/app/ClientTransactionHandler.java @@ -25,6 +25,7 @@ import android.content.res.CompatibilityInfo; import android.content.res.Configuration; import android.os.IBinder; import android.util.MergedConfiguration; +import android.view.DisplayAdjustments.FixedRotationAdjustments; import com.android.internal.annotations.VisibleForTesting; import com.android.internal.content.ReferrerIntent; @@ -167,6 +168,10 @@ public abstract class ClientTransactionHandler { /** Deliver app configuration change notification. */ public abstract void handleConfigurationChanged(Configuration config); + /** Apply addition adjustments to override display information. */ + public abstract void handleFixedRotationAdjustments(IBinder token, + FixedRotationAdjustments fixedRotationAdjustments); + /** * Get {@link android.app.ActivityThread.ActivityClientRecord} instance that corresponds to the * provided token. |
