Fix rate limiting settings observer
The obvserver accidentally observed Settings.Secure instad of Settings.Global. Test: atest CtsNetTestCases:RateLimitTest Bug: 218840346 Change-Id: If5ade0c0e269c01b76428d5635d0913330d7015e
This commit is contained in:
parent
3035f6c554
commit
cdac749eb0
1 changed files with 1 additions and 1 deletions
|
|
@ -1752,7 +1752,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
|
||||
// Watch for ingress rate limit changes.
|
||||
mSettingsObserver.observe(
|
||||
Settings.Secure.getUriFor(
|
||||
Settings.Global.getUriFor(
|
||||
ConnectivitySettingsManager.INGRESS_RATE_LIMIT_BYTES_PER_SECOND),
|
||||
EVENT_INGRESS_RATE_LIMIT_CHANGED);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue