Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b8c1d4b5 authored by Michael W's avatar Michael W
Browse files

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
parent d864eabf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment