universal7885: FM: Fix sepolicy denial and crash of app

- Don't crash on no headphones detected
- Use progressdialog instead of disabling touch
- Don't crash while manually updating freqs list
- Address selinux denial on aidl
This commit is contained in:
roynatech2544 2022-11-01 20:28:03 +09:00
commit e682783f6b
6 changed files with 32 additions and 12 deletions

View file

@ -13,5 +13,7 @@ allow hal_fmradio_default sysfs_virtual:dir search;
allow hal_fmradio_default fm_radio_device:chr_file { read write open ioctl };
allow hal_fmradio_default hal_audio_route_service:service_manager find;
allow hal_fmradio_default self:capability kill;
allow hal_fmradio_default system_app:process signull;
binder_call(hal_fmradio_default, hal_audio_route_default)