mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 12:05:32 -04:00
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:
parent
a51ae4d035
commit
6235756b90
3 changed files with 21 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue