Skip to content
Commit 4c18a3a5 authored by Meng Wang's avatar Meng Wang
Browse files

Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY

The two constants are hidden APIs and used as extra keys for a few
legacy broadcasts. No new external users are expected. So making a local
copy of them to keep backward compatibility, until the broadcasts are
removed in the future.

Also move ACTION_SUBSCRIPTION_PHONE_STATE_CHANGED constant out of
PhoneConstants since it's only used in TelephonyRegistry for backward
compatibility.

Bug: 140908357
Test: make
Change-Id: Ic7f15851377dcba5353dc6dade61b1dec96bcea5
parent 87630910
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