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

Unified Diff: media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java

Issue 2517203002: Reland of Add GN build rules to allow java_assertion_enabler to enable Java asserts. (Closed)
Patch Set: format nit Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
diff --git a/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java b/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
index 410fbbd0039fe75f735950086dff923187e47a27..6f817c5f042853cafe49633866609367a3c783a0 100644
--- a/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
+++ b/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
@@ -67,7 +67,8 @@ class MidiManagerAndroid {
* @param nativeManagerPointer The native pointer to a midi::MidiManagerAndroid object.
*/
private MidiManagerAndroid(Context context, long nativeManagerPointer) {
- assert ThreadUtils.runningOnUiThread();
+ // TODO(crbug.com/665157)
+ // assert ThreadUtils.runningOnUiThread();
mManager = (MidiManager) context.getSystemService(Context.MIDI_SERVICE);
mHandler = new Handler(ThreadUtils.getUiThreadLooper());

Powered by Google App Engine
This is Rietveld 408576698