summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorAndrey Kulikov <andreykulikov@google.com>2018-11-28 12:42:01 +0000
committerAndrey Kulikov <andreykulikov@google.com>2018-11-28 16:32:20 +0000
commiteefd5256416ea0e5ca458b4f94575be9af55b236 (patch)
tree2729445bb29eed545950a0b7e1aef0da09b60535 /core/java/android
parentf148c8d7d48d06ebea881199a3bebac93a062f31 (diff)
Made ViewGroup.suppressLayout/isLayoutSuppressed public
It will allows the usage of this methods in AndroidX Transitions without reflection. Bug: 117520180 Test: new cts tests for the methods added Change-Id: Idf26d4b5c9fd2bb975e5a86dd46bd631c326b861
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/ViewGroup.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java
index 1e91aa87bfb7..741510e67130 100644
--- a/core/java/android/view/ViewGroup.java
+++ b/core/java/android/view/ViewGroup.java
@@ -7042,10 +7042,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
* suppression is disabled with a later call to suppressLayout(false).
* When layout suppression is disabled, a requestLayout() call is sent
* if layout() was attempted while layout was being suppressed.
- *
- * @hide
*/
- @UnsupportedAppUsage
public void suppressLayout(boolean suppress) {
mSuppressLayout = suppress;
if (!suppress) {
@@ -7061,8 +7058,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
* suppressed, due to an earlier call to {@link #suppressLayout(boolean)}.
*
* @return true if layout calls are currently suppressed, false otherwise.
- *
- * @hide
*/
public boolean isLayoutSuppressed() {
return mSuppressLayout;