Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
frameworks_base
Commits
773f3ae2
Commit
773f3ae2
authored
15 years ago
by
Romain Guy
Committed by
android-build SharedAccount
15 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
Prevent infinite loop in the Phone UI.
parent
e34e0f9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/java/android/view/animation/Animation.java
core/java/android/view/animation/Animation.java
+2
-2
No files found.
core/java/android/view/animation/Animation.java
View file @
773f3ae2
...
...
@@ -282,8 +282,8 @@ public abstract class Animation implements Cloneable {
*/
public
void
detach
()
{
if
(
mStarted
&&
!
mEnded
)
{
if
(
mListener
!=
null
)
mListener
.
onAnimationEnd
(
this
);
mEnded
=
true
;
if
(
mListener
!=
null
)
mListener
.
onAnimationEnd
(
this
);
}
}
...
...
@@ -777,10 +777,10 @@ public abstract class Animation implements Cloneable {
if
(
expired
)
{
if
(
mRepeatCount
==
mRepeated
)
{
if
(!
mEnded
)
{
mEnded
=
true
;
if
(
mListener
!=
null
)
{
mListener
.
onAnimationEnd
(
this
);
}
mEnded
=
true
;
}
}
else
{
if
(
mRepeatCount
>
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment