universal7885: FMRadio: jni: fix build errors

* Fix errors on FM HAL too

Change-Id: I95885939d55efa0b400fe55d0a444f64d1f65a51
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2022-02-21 02:07:38 +09:00
commit 6235756b90
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
3 changed files with 21 additions and 6 deletions

View file

@ -44,7 +44,7 @@ Return<void> FMRadio::adjustFreqByStep(fmradio::V1_0::Direction dir) {
file.close();
return Void();
}
Return<int32_t> IFMRadio::isAvailable(){
Return<V1_1::Status> FMRadio::isAvailable(){
struct stat info;
if(stat("/sys/devices/virtual/s610_radio/s610_radio/", &info ) != 0) {
return V1_1::Status::NO;