From afa15461534550b9b7d174a11e2d825ec1a40241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20H=C3=B6glund?= Date: Mon, 12 Feb 2018 13:14:19 +0100 Subject: [PATCH] Fix incorrect static method call. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cpuMonitor is actually null at the time of the call, but it works because isSupported doesn't touch 'this' (being a static call). Bug: None Change-Id: I177807ee04075d16356878ec72262546d0547aa1 Reviewed-on: https://webrtc-review.googlesource.com/51861 Reviewed-by: Sami Kalliomäki Commit-Queue: Patrik Höglund Cr-Commit-Position: refs/heads/master@{#21983} --- examples/androidapp/src/org/appspot/apprtc/CallActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/androidapp/src/org/appspot/apprtc/CallActivity.java b/examples/androidapp/src/org/appspot/apprtc/CallActivity.java index bd208243fd..19ff9efc94 100644 --- a/examples/androidapp/src/org/appspot/apprtc/CallActivity.java +++ b/examples/androidapp/src/org/appspot/apprtc/CallActivity.java @@ -355,7 +355,7 @@ public class CallActivity extends Activity implements AppRTCClient.SignalingEven new RoomConnectionParameters(roomUri.toString(), roomId, loopback, urlParameters); // Create CPU monitor - if (cpuMonitor.isSupported()) { + if (CpuMonitor.isSupported()) { cpuMonitor = new CpuMonitor(this); hudFragment.setCpuMonitor(cpuMonitor); }