OSDN Git Service

Deprecate TelephonyManager.getCellLocation()
authorNathan Harold <nharold@google.com>
Fri, 7 Apr 2017 17:56:05 +0000 (10:56 -0700)
committerNathan Harold <nharold@google.com>
Tue, 11 Apr 2017 01:04:39 +0000 (18:04 -0700)
commit33dd867f86f0941192a7e09e994d910e874bcd0c
tree73ed7f64530309fecbf133c790c1da5290f7e3d3
parentec8f35366851fcfea2d8b8e42821dda72bdca344
Deprecate TelephonyManager.getCellLocation()

This API has been long-marked for deprecation. It has numerous problems:
-It does not support LTE
-It returns a limited subset of information
-It uses old (and poorly-chosen) sentinel values for fields that are
 not provided.

Bug: 36076138
Test: compilation
Change-Id: I87004710e5d046d4534ad3a0a938540440b0e83b
(cherry picked from commit c12d6c5983a11ca989a85dd553d11c3583ff7aaf)
api/current.txt
api/system-current.txt
api/test-current.txt
telephony/java/android/telephony/TelephonyManager.java