diff options
author | Kenny Root <kroot@google.com> | 2013-12-13 15:59:51 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-12-13 15:59:51 -0800 |
commit | 6a0db5990187a71427029fb0fd64394e849aa057 (patch) | |
tree | 8dfd57e52d505162c96357350f95ec97932271de /media | |
parent | d08eadd287991ec18eafe620b24e2b1bf0ce1f2d (diff) | |
parent | e0b14ea70b58cd04696fb37ffcf733eefc2dd717 (diff) | |
download | frameworks_base-6a0db5990187a71427029fb0fd64394e849aa057.zip frameworks_base-6a0db5990187a71427029fb0fd64394e849aa057.tar.gz frameworks_base-6a0db5990187a71427029fb0fd64394e849aa057.tar.bz2 |
resolved conflicts for merge of e0b14ea7 to master
Change-Id: Ie018d3e2eba1eb2d655c153880e1951b68c2bd51
Diffstat (limited to 'media')
-rw-r--r-- | media/java/android/media/MediaRouter.java | 7 | ||||
-rw-r--r-- | media/lib/java/com/android/media/remotedisplay/RemoteDisplay.java | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/media/java/android/media/MediaRouter.java b/media/java/android/media/MediaRouter.java index de20227..a4d491d8 100644 --- a/media/java/android/media/MediaRouter.java +++ b/media/java/android/media/MediaRouter.java @@ -16,8 +16,6 @@ package android.media; -import com.android.internal.util.Objects; - import android.Manifest; import android.app.ActivityThread; import android.content.BroadcastReceiver; @@ -43,6 +41,7 @@ import android.view.Display; import java.util.ArrayList; import java.util.HashMap; import java.util.List; +import java.util.Objects; import java.util.concurrent.CopyOnWriteArrayList; /** @@ -493,11 +492,11 @@ public class MediaRouter { boolean volumeChanged = false; boolean presentationDisplayChanged = false; - if (!Objects.equal(route.mName, globalRoute.name)) { + if (!Objects.equals(route.mName, globalRoute.name)) { route.mName = globalRoute.name; changed = true; } - if (!Objects.equal(route.mDescription, globalRoute.description)) { + if (!Objects.equals(route.mDescription, globalRoute.description)) { route.mDescription = globalRoute.description; changed = true; } diff --git a/media/lib/java/com/android/media/remotedisplay/RemoteDisplay.java b/media/lib/java/com/android/media/remotedisplay/RemoteDisplay.java index c2461e6..dc9dd79 100644 --- a/media/lib/java/com/android/media/remotedisplay/RemoteDisplay.java +++ b/media/lib/java/com/android/media/remotedisplay/RemoteDisplay.java @@ -16,11 +16,11 @@ package com.android.media.remotedisplay; -import com.android.internal.util.Objects; - import android.media.RemoteDisplayState.RemoteDisplayInfo; import android.text.TextUtils; +import java.util.Objects; + /** * Represents a remote display that has been discovered. */ @@ -86,7 +86,7 @@ public class RemoteDisplay { } public void setName(String name) { - if (!Objects.equal(mMutableInfo.name, name)) { + if (!Objects.equals(mMutableInfo.name, name)) { mMutableInfo.name = name; mImmutableInfo = null; } @@ -97,7 +97,7 @@ public class RemoteDisplay { } public void setDescription(String description) { - if (!Objects.equal(mMutableInfo.description, description)) { + if (!Objects.equals(mMutableInfo.description, description)) { mMutableInfo.description = description; mImmutableInfo = null; } |