Revert commits from AOSP Master branch

Revert "Fix possible integer overflow in MtpStorage"

This reverts commit 15642ac696921c6b8d5d86d692b210d0bd2eb15c.

Revert "Fix unexpected rotation change when re-enabling auto-rotate"

This reverts commit 85f0c4e3e06c1800bdad6d47c330d8057513d433.

Revert "show SELECT ALL icon with text in landscape mode"

This reverts commit 8880f3c0bddd023c1baa5b77b648318f0df28a11.

Revert "Change default intent"

This reverts commit d63f06e9e1a1f436fb48f77856716713b1487965.

Revert "Potential NPE in SQLiteConnection"

This reverts commit 765a3ca28452a11a426cfaa10fb09fbcdd8f2ccb.

Revert "avoid multiple-"0" to exceed the length of upper bound"

This reverts commit e2a56817f1c4e375864aab3ac2bac64f01388ee7.

Revert "Keep native callbacks when primary SQLiteConnection is recreated"

This reverts commit 275ffd7ecf2362e7e5932658e3c610ed3d562067.

Revert "Fix bugs regarding IllegalStateException during moving position in cursorwindow."

This reverts commit 3470f1f3e3d42926e95a842e9dd3fc24f3a1a801.

Revert "fix hover events consume issue"

This reverts commit 5128192e49790ce304e7d095e4ddf519a838209a.

Revert "Disable usage of WAL in DatabaseHelper"

This reverts commit a55bcb010354db0e49d3b774d4c3a58190263784.

Revert "add reply.writeNoException() for quick response"

This reverts commit bd0ddd457e1768aa22e1da9c7338d45784066ac6.

Revert "Fix PointerCoords Parcel incorrectly storing values as Int32"

This reverts commit adaf95cbad950570c923433f5c53536597511e81.

Revert "Track a typo fix in hidden libcore API."

This reverts commit ac34c44284768a89ab1882aa2242787386ccafae.