Dialer: Replace deprecated stuff
* getParcelable[...](String) is deprecated in favor of
getParcelable[...](String, Class)
* resolveActivity(), getPackageInfo(), resolveContentProvider() and
getApplicationInfo() all now have a new prototype to pass flags
* Handler() is deprecated in favor of Handler(Looper)
* KeyguardManager.inKeyguardRestrictedInputMode() ->
KeyguardManager.isKeyguardLocked()
* MediaRecorder() -> MediaRecorder(Context)
* getPhoneCount() -> getActiveModemCount()
* Airplane mode flag has been moved to Settings.Global
* Imei and Meid have functions to read, getDeviceId() is deprecated
* LocationManager.requestSingleUpdate() should be getCurrentLocation()
* Html.fromHtml(String) should provide the mode
* Cursors shouldn't requery or deactivate
* AVAILABLE_PHONE_ACCOUNTS -> EXTRA_SUGGESTED_PHONE_ACCOUNTS
Change-Id: Ie089e9e25a3930af43435515a85ac1d241a01b01
78 files changed