Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1163)

Issue 1992213002: Replace LooperExecutor with built-in class in Android AppRTC Demo (Closed)

Created:
4 years, 7 months ago by sakal
Modified:
4 years, 7 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace LooperExecutor with built-in class in Android AppRTC Demo LooperExecutor is only truly needed in WebSocketChannelClient because of WebSocketClient from autobanh requiring thread to have a looper. So LooperExecutor was left there but replaced everywhere else with built-in singleThreadExecutor/singleThreadScheduledExecutor. Motivation behind this change is that built-in class behaves better under testing environment and doesn't require hacky RobolectricLooperExecutor. Committed: https://crrev.com/7cf11476b956145f2dea7252eacdf02c7b8f1a7b Cr-Commit-Position: refs/heads/master@{#12823}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Changes according to magjed comments #

Messages

Total messages: 12 (5 generated)
sakal
Magnus, please take a look.
4 years, 7 months ago (2016-05-19 11:46:07 UTC) #3
magjed_webrtc
https://codereview.webrtc.org/1992213002/diff/1/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java File webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java (left): https://codereview.webrtc.org/1992213002/diff/1/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java#oldcode318 webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java:318: cpuMonitor.release(); don't we need to shut down the ExecutorService? ...
4 years, 7 months ago (2016-05-19 12:07:55 UTC) #4
sakal
https://codereview.webrtc.org/1992213002/diff/1/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java File webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java (left): https://codereview.webrtc.org/1992213002/diff/1/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java#oldcode318 webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java:318: cpuMonitor.release(); On 2016/05/19 12:07:54, magjed_webrtc wrote: > don't we ...
4 years, 7 months ago (2016-05-19 12:39:03 UTC) #5
magjed_webrtc
lgtm
4 years, 7 months ago (2016-05-20 07:43:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992213002/20001
4 years, 7 months ago (2016-05-20 07:45:01 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-20 09:41:06 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 09:41:14 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7cf11476b956145f2dea7252eacdf02c7b8f1a7b
Cr-Commit-Position: refs/heads/master@{#12823}

Powered by Google App Engine
This is Rietveld 408576698