[Android Software Development] apexofservice:
Exploring contacts in a nandroid crashes for me on Android 7.

[ 08-29 23:50:14.295 8265: 8265 E/SQLiteLog ]
(1) Expression tree is too large (maximum depth 1000)

[ 08-29 23:50:14.296 8265: 8265 D/AndroidRuntime ]
Shutting down VM

--------- beginning of crash
[ 08-29 23:50:14.297 8265: 8265 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: com.h3r3t1c.bkrestore, PID: 8265

[ 08-29 23:50:14.297 8265: 8265 E/AndroidRuntime ]
android.database.sqlite.SQLiteException: Expression tree is too large (maximum depth 1000) (code 1): , while compiling: SELECT _id, display_name FROM raw_contacts WHERE _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR

[ 08-29 23:50:14.297 8265: 8265 E/AndroidRuntime ]
_id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=?

[ 08-29 23:50:14.309 8265: 8265 E/AndroidRuntime ]
OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? ORDER BY sort_key COLLATE NOCASE
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)

[ 08-29 23:50:14.309 8265: 8265 E/AndroidRuntime ]
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1318)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1165)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1036)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1204)
at com.h3r3t1c.bkrestore.fragment.ListContactsFragment$ContactsAdapter.initData(ListContactsFragment.java:193)
at com.h3r3t1c.bkrestore.fragment.ListContactsFragment$ContactsAdapter.initMode(ListContactsFragment.java:165)
at com.h3r3t1c.bkrestore.fragment.ListContactsFragment$ContactsAdapter.<init>(ListContactsFragment.java:145)
at com.h3r3t1c.bkrestore.fragment.ListContactsFragment.init(ListContactsFragment.java:99)
at com.h3r3t1c.bkrestore.fragment.ListContactsFragment.onActivityCreated(ListContactsFragment.java:93)
at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1508)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1467)
at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:440)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

[ 08-29 23:50:14.311 8265: 8265 D/Error ]
ERR: exClass=android.database.sqlite.SQLiteException

[ 08-29 23:50:14.311 8265: 8265 D/Error ]
ERR: exMsg=Expression tree is too large (maximum depth 1000) (code 1): , while compiling: SELECT _id, display_name FROM raw_contacts WHERE _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=?

[ 08-29 23:50:14.311 8265: 8265 D/Error ]
ERR: file=SQLiteConnection.java

[ 08-29 23:50:14.311 8265: 8265 D/Error ]
ERR: class=android.database.sqlite.SQLiteConnection

[ 08-29 23:50:14.311 8265: 8265 D/Error ]
ERR: method=nativePrepareStatement line=-2

[ 08-29 23:50:14.311 8265: 8265 D/Error ]
ERR: stack=android.database.sqlite.SQLiteException: Expression tree is too large (maximum depth 1000) (code 1): , while compiling: SELECT _id, display_name FROM raw_contacts WHERE _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _id=? OR _

[ 08-29 23:50:14.311 8265: 8265 D/Error ]
ERR: TOTAL BYTES WRITTEN: 52220

[ 08-29 23:50:14.366 4475: 6674 W/ActivityManager ]
Force finishing activity com.h3r3t1c.bkrestore/.ExploreContactsActvitiy

That seems like too many ORs to me. Seems like something went wrong building that sql query.