location: dump LocationProvider internal state
For each location provider, call getInternalState() to see if it has any state information to include in a bugreport. If the returned string is not null, then print a header with the provided name followed by the returned string. Change-Id: I0a388d7fba14ac8cadcb80eda0a0ceb95032410b Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
committed by
Mike Lockwood
parent
83835359e5
commit
3c8fbdf5dd
@@ -106,6 +106,10 @@ public class PassiveProvider implements LocationProviderInterface {
|
||||
return -1;
|
||||
}
|
||||
|
||||
public String getInternalState() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void enableLocationTracking(boolean enable) {
|
||||
mTracking = enable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user