mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Add FakeContext.getContentResolver()
This avoids the following error on some devices:
Given calling package android does not match caller's uid 2000
Refs #4639 comment <https://github.com/Genymobile/scrcpy/issues/4639#issuecomment-2466081589>
Fixes #4639 <https://github.com/Genymobile/scrcpy/issues/4639>
PR #5476 <https://github.com/Genymobile/scrcpy/pull/5476>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
c0e2e27cf9
commit
91373d906b
4 changed files with 62 additions and 7 deletions
|
|
@ -0,0 +1,5 @@
|
|||
package android.content;
|
||||
|
||||
public interface IContentProvider {
|
||||
// android.content.IContentProvider is hidden, this is a fake one to expose the type to the project
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue