Skip to content

Commit edc9005

Browse files
author
Romain Guy
committed
Update javadoc
Some View.post*() methods can be invoked from arbitrary thread independently of whether the View is attached to a window. Change-Id: I587b5909ab8b06665978d001548d56c8c22043c1
1 parent a30d969 commit edc9005

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

core/java/android/view/View.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10515,9 +10515,6 @@ public ViewRootImpl getViewRootImpl() {
1051510515
* <p>Causes the Runnable to be added to the message queue.
1051610516
* The runnable will be run on the user interface thread.</p>
1051710517
*
10518-
* <p>This method can be invoked from outside of the UI thread
10519-
* only when this View is attached to a window.</p>
10520-
*
1052110518
* @param action The Runnable that will be executed.
1052210519
*
1052310520
* @return Returns true if the Runnable was successfully placed in to the
@@ -10542,9 +10539,6 @@ public boolean post(Runnable action) {
1054210539
* after the specified amount of time elapses.
1054310540
* The runnable will be run on the user interface thread.</p>
1054410541
*
10545-
* <p>This method can be invoked from outside of the UI thread
10546-
* only when this View is attached to a window.</p>
10547-
*
1054810542
* @param action The Runnable that will be executed.
1054910543
* @param delayMillis The delay (in milliseconds) until the Runnable
1055010544
* will be executed.
@@ -10573,9 +10567,6 @@ public boolean postDelayed(Runnable action, long delayMillis) {
1057310567
* <p>Causes the Runnable to execute on the next animation time step.
1057410568
* The runnable will be run on the user interface thread.</p>
1057510569
*
10576-
* <p>This method can be invoked from outside of the UI thread
10577-
* only when this View is attached to a window.</p>
10578-
*
1057910570
* @param action The Runnable that will be executed.
1058010571
*
1058110572
* @see #postOnAnimationDelayed
@@ -10597,9 +10588,6 @@ public void postOnAnimation(Runnable action) {
1059710588
* after the specified amount of time elapses.
1059810589
* The runnable will be run on the user interface thread.</p>
1059910590
*
10600-
* <p>This method can be invoked from outside of the UI thread
10601-
* only when this View is attached to a window.</p>
10602-
*
1060310591
* @param action The Runnable that will be executed.
1060410592
* @param delayMillis The delay (in milliseconds) until the Runnable
1060510593
* will be executed.
@@ -10621,9 +10609,6 @@ public void postOnAnimationDelayed(Runnable action, long delayMillis) {
1062110609
/**
1062210610
* <p>Removes the specified Runnable from the message queue.</p>
1062310611
*
10624-
* <p>This method can be invoked from outside of the UI thread
10625-
* only when this View is attached to a window.</p>
10626-
*
1062710612
* @param action The Runnable to remove from the message handling queue
1062810613
*
1062910614
* @return true if this view could ask the Handler to remove the Runnable,

0 commit comments

Comments
 (0)