Hide UiAutomation#destroy as test api.
Bug: 28771617 Change-Id: Ib113883d3d12fc6a9e8c038e2c4eb1731b026b38
This commit is contained in:
@@ -5624,7 +5624,6 @@ package android.app {
|
||||
public final class UiAutomation {
|
||||
method public void clearWindowAnimationFrameStats();
|
||||
method public boolean clearWindowContentFrameStats(int);
|
||||
method public void destroy();
|
||||
method public android.view.accessibility.AccessibilityEvent executeAndWaitForEvent(java.lang.Runnable, android.app.UiAutomation.AccessibilityEventFilter, long) throws java.util.concurrent.TimeoutException;
|
||||
method public android.os.ParcelFileDescriptor executeShellCommand(java.lang.String);
|
||||
method public android.view.accessibility.AccessibilityNodeInfo findFocus(int);
|
||||
|
||||
@@ -5771,7 +5771,6 @@ package android.app {
|
||||
public final class UiAutomation {
|
||||
method public void clearWindowAnimationFrameStats();
|
||||
method public boolean clearWindowContentFrameStats(int);
|
||||
method public void destroy();
|
||||
method public android.view.accessibility.AccessibilityEvent executeAndWaitForEvent(java.lang.Runnable, android.app.UiAutomation.AccessibilityEventFilter, long) throws java.util.concurrent.TimeoutException;
|
||||
method public android.os.ParcelFileDescriptor executeShellCommand(java.lang.String);
|
||||
method public android.view.accessibility.AccessibilityNodeInfo findFocus(int);
|
||||
|
||||
@@ -322,7 +322,10 @@ public final class UiAutomation {
|
||||
/**
|
||||
* Destroy this UiAutomation. After calling this method, attempting to use the object will
|
||||
* result in errors.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
public void destroy() {
|
||||
disconnect();
|
||||
mIsDestroyed = true;
|
||||
|
||||
Reference in New Issue
Block a user