commit | efadc19b6b41915b55834627f1303554135d9e0c | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Fri Jul 28 10:08:46 2017 -0700 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Sat Jul 29 11:29:46 2017 -0700 |
tree | 4b294b805255a6b80e21a1634dc5c4c30fe0678e | |
parent | 5be4c2b6e3bd1c6c30b5ecf8debd1db441805a3e [diff] [blame] |
Make virtual radio space generic, not only FM-exclusive. Bug: b/36864090 Test: VTS, instrumentalization Change-Id: I2764d09f56a397a1b80914a2634d6bad4b3bd3d2
diff --git a/broadcastradio/1.1/default/BroadcastRadio.cpp b/broadcastradio/1.1/default/BroadcastRadio.cpp index 7916407..17ec780 100644 --- a/broadcastradio/1.1/default/BroadcastRadio.cpp +++ b/broadcastradio/1.1/default/BroadcastRadio.cpp
@@ -143,7 +143,7 @@ mTuner = nullptr; } - sp<Tuner> newTuner = new Tuner(callback); + sp<Tuner> newTuner = new Tuner(mClassId, callback); mTuner = newTuner; if (mClassId == Class::AM_FM) { auto ret = newTuner->setConfiguration(config);