FileNotFoundException in logs
- /e/ version: 0.22-q-20220204161668-dev-starlte
- Device model(s): starlte/others
- Device rooted: no
Summary
Exception in logs : java.io.FileNotFoundException: No content provider: /system/product/media/audio/ui/WirelessChargingStarted.ogg
The problem
Steps to reproduce
What is the current behavior?
What is the expected correct behavior?
Technical informations
Relevant logs (adb logcat
)
02-15 17:00:19.560 4133 4689 I android.hardware.usb@1.1-service.samsung: partner added
02-15 17:00:19.561 4133 4689 I android.hardware.usb@1.1-service.samsung: uevent received DEVTYPE=typec_partner
02-15 17:00:19.567 4133 4689 I android.hardware.usb@1.1-service.samsung: port0
02-15 17:00:19.568 4133 4689 I android.hardware.usb@1.1-service.samsung: connected:1 canChangeMode:1 canChagedata:0 canChangePower:0
02-15 17:00:19.568 5587 5720 I UsbPortManager: ClientCallback V1_1: port0
02-15 17:00:19.568 5587 5607 I UsbPortManager: USB port changed: port=UsbPort{id=port0, supportedModes=dualsupportedContaminantProtectionModes=0supportsEnableContaminantPresenceProtection=falsesupportsEnableContaminantPresenceDetection=false, status=UsbPortStatus{connected=true, currentMode=ufp, currentPowerRole=sink, currentDataRole=device, supportedRoleCombinations=[source:host, sink:device], contaminantDetectionStatus=0, contaminantProtectionStatus=0}, canChangeMode=true, canChangePowerRole=false, canChangeDataRole=false, connectedAtMillis=598629634, lastConnectDurationMillis=0
02-15 17:00:19.577 5587 5616 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x4000010 (has extras) } to com.google.android.projection.gearhead/com.google.android.apps.auto.components.connectivity.impl.ConnectivityEventHandlerImpl$ConnectivityEventBroadcastReceiver
02-15 17:00:19.577 5587 5609 I EntropyMixer: Writing entropy...
02-15 17:00:19.603 5587 5587 W MediaPlayer: Couldn't open /system/product/media/audio/ui/WirelessChargingStarted.ogg
02-15 17:00:19.603 5587 5587 W MediaPlayer: java.io.FileNotFoundException: No content provider: /system/product/media/audio/ui/WirelessChargingStarted.ogg
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1673)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1503)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1420)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.media.MediaPlayer.attemptDataSource(MediaPlayer.java:1101)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1073)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1001)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.media.Ringtone.setUri(Ringtone.java:332)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.media.RingtoneManager.getRingtone(RingtoneManager.java:732)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.media.RingtoneManager.getRingtone(RingtoneManager.java:707)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.media.RingtoneManager.getRingtone(RingtoneManager.java:670)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.server.power.Notifier.playChargingStartedFeedback(Notifier.java:824)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.server.power.Notifier.showWiredChargingStarted(Notifier.java:842)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.server.power.Notifier.access$1100(Notifier.java:84)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.server.power.Notifier$NotifierHandler.handleMessage(Notifier.java:894)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.os.Handler.dispatchMessage(Handler.java:107)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at android.os.Looper.loop(Looper.java:214)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.server.SystemServer.run(SystemServer.java:558)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.server.SystemServer.main(SystemServer.java:356)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at java.lang.reflect.Method.invoke(Native Method)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
02-15 17:00:19.603 5587 5587 W MediaPlayer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:918)
02-15 17:00:19.606 5483 7498 D NuPlayerDriver: NuPlayerDriver(0xf0f349a0) created, clientPid(5587)
02-15 17:00:19.612 5483 7498 I Codec2Client: Creating a Codec2 client to service "software"
02-15 17:00:19.613 5483 7498 I Codec2Client: Client to Codec2 service "software" created
02-15 17:00:19.613 5483 7498 I Codec2Client: Creating a Codec2 client to service "default"
02-15 17:00:19.615 5483 7498 I Codec2Client: Client to Codec2 service "default" created
02-15 17:00:19.618 5483 16266 D GenericSource: FileSource remote
02-15 17:00:19.628 5587 5620 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
02-15 17:00:19.628 5587 5587 D Ringtone: Successfully created local player
02-15 17:00:19.628 5587 5587 W Ringtone: Use of stream types is deprecated for operations other than volume control
02-15 17:00:19.628 5587 5587 W Ringtone: See the documentation of setStreamType() for what to use instead with android.media.AudioAttributes to qualify your playback use case
02-15 17:00:19.629 5483 7498 D NuPlayerDriver: reset(0xf0f349a0) at state 4
02-15 17:00:19.630 5483 16265 D NuPlayerDriver: notifyResetComplete(0xf0f349a0)
02-15 17:00:19.631 5483 7498 D NuPlayerDriver: reset(0xf0f349a0) at state 0
02-15 17:00:19.633 5587 5587 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
02-15 17:00:19.633 5587 5587 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
02-15 17:00:19.633 5587 5587 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
02-15 17:00:19.633 5587 5587 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
02-15 17:00:19.635 5587 5587 W MediaPlayer: Couldn't open /system/product/media/audio/ui/WirelessChargingStarted.ogg
02-15 17:00:19.635 5587 5587 W MediaPlayer: java.io.FileNotFoundException: No content provider: /system/product/media/audio/ui/WirelessChargingStarted.ogg
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1673)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1503)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1420)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.media.MediaPlayer.attemptDataSource(MediaPlayer.java:1101)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1073)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1001)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.media.Ringtone.setUri(Ringtone.java:332)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.media.Ringtone.setAudioAttributes(Ringtone.java:141)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.media.Ringtone.setStreamType(Ringtone.java:112)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.server.power.Notifier.playChargingStartedFeedback(Notifier.java:826)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.server.power.Notifier.showWiredChargingStarted(Notifier.java:842)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.server.power.Notifier.access$1100(Notifier.java:84)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.server.power.Notifier$NotifierHandler.handleMessage(Notifier.java:894)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.os.Handler.dispatchMessage(Handler.java:107)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at android.os.Looper.loop(Looper.java:214)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.server.SystemServer.run(SystemServer.java:558)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.server.SystemServer.main(SystemServer.java:356)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at java.lang.reflect.Method.invoke(Native Method)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
02-15 17:00:19.635 5587 5587 W MediaPlayer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:918)
02-15 17:00:19.637 5483 7498 D NuPlayerDriver: NuPlayerDriver(0xf0f349a0) created, clientPid(5587)
02-15 17:00:19.641 5483 7498 I Codec2Client: Creating a Codec2 client to service "software"
02-15 17:00:19.642 5483 7498 I Codec2Client: Client to Codec2 service "software" created
02-15 17:00:19.642 5483 7498 I Codec2Client: Creating a Codec2 client to service "default"
02-15 17:00:19.643 5483 7498 I Codec2Client: Client to Codec2 service "default" created
02-15 17:00:19.651 5483 16270 D GenericSource: FileSource remote
02-15 17:00:19.658 4128 4128 E android.hardware.power@1.3-service.samsung-libperfmgr: getPlatformLowPowerStats not supported. Use IPowerStats HAL.
02-15 17:00:19.659 4128 4128 E android.hardware.power@1.3-service.samsung-libperfmgr: getSubsystemLowPowerStats not supported. Use IPowerStats HAL.
02-15 17:00:19.662 5587 5587 D Ringtone: Successfully created local player
02-15 17:00:19.664 5483 16269 I GenericSource: start
Relevant screenshots
Solutions
Workaround
Possible fixes