Cursor wrapping/unwrapping in ContentProvider

前端 未结 3 986
南方客
南方客 2021-02-02 13:27

I\'m creating ContentProvider which is a proxy of another ContentProvider (for security issues and to give access to part of functionality of full app).

public          


        
3条回答
  •  再見小時候
    2021-02-02 13:42

    Sounds like you use two apk's or something. You shouldn't get this with different ContentProviders using eachother within the same application. When another application tries to use your ContentProviders however you get this error. Solution is to let your custom Cursor implementation implement the CrossProcessCursor interface.

提交回复
热议问题