am 922562bc: am c248975a: am d9e0bfee: Merge "Rename setDestroy() to destroy()" into lmp-dev
* commit '922562bc8b6d4b8a6a2f434552fb66b145b15522': Rename setDestroy() to destroy()
This commit is contained in:
@@ -28432,6 +28432,7 @@ package android.telecomm {
|
||||
|
||||
public abstract class Connection {
|
||||
ctor protected Connection();
|
||||
method public final void destroy();
|
||||
method public final boolean getAudioModeIsVoip();
|
||||
method public final android.telecomm.CallAudioState getCallAudioState();
|
||||
method public final int getCallCapabilities();
|
||||
@@ -28467,7 +28468,6 @@ package android.telecomm {
|
||||
method public final void setCallCapabilities(int);
|
||||
method public final void setCallVideoProvider(android.telecomm.CallVideoProvider);
|
||||
method public final void setCallerDisplayName(java.lang.String, int);
|
||||
method public final void setDestroyed();
|
||||
method public final void setDialing();
|
||||
method public final void setDisconnected(int, java.lang.String);
|
||||
method public final void setHandle(android.net.Uri, int);
|
||||
|
||||
@@ -419,7 +419,7 @@ public abstract class Connection {
|
||||
/**
|
||||
* TODO(santoscordon): Needs documentation.
|
||||
*/
|
||||
public final void setDestroyed() {
|
||||
public final void destroy() {
|
||||
// It is possible that onDestroy() will trigger the listener to remove itself which will
|
||||
// result in a concurrent modification exception. To counteract this we make a copy of the
|
||||
// listeners and iterate on that.
|
||||
|
||||
Reference in New Issue
Block a user