Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
The version used: 1.1.0 & 1.2.0-alpha02
Devices/Android versions reproduced on: Moto e4 plus(7.1.1)
I want to develop a screen-share app with an instant app. For the functionality, I have implemented MediaProjectionManager. when I have run the instant app, MediaProjectionManager getting null in android 7.1.1, and in android 8.1.0 it getting crash.
I have attached logs for it, check it from the blow :-
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity}; have you declared this activity in your AndroidManifest.xml?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1933)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1616)
at android.app.Activity.startActivityForResult(Activity.java:4487)
at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:676)
at android.app.Activity.startActivityForResult(Activity.java:4445)
at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:663)
at co.blitzz.feature.ScreenShareActivity.turnOnOffFlash(ScreenShareActivity.java:151)
at co.blitzz.feature.ScreenShareActivity.onClick(ScreenShareActivity.java:134)
at android.view.View.performClick(View.java:6294)
at android.view.View$PerformClick.run(View.java:24770)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
2020-05-20 09:26:30.649 1631-1644/? E/memtrack: Couldn't load memtrack module
2020-05-20 09:26:31.406 1417-1417/? E/EGL_emulation: tid 1417: eglCreateSyncKHR(1962): error 0x3004 (EGL_BAD_ATTRIBUTE)
2020-05-20 09:26:45.804 1631-1644/? E/memtrack: Couldn't load memtrack module