commit | 9eef0aa35deee062c385ce53e4b085968708f94c | [log] [tgz] |
---|---|---|
author | Stanislav Zholnin <zholnin@google.com> | Tue Mar 26 17:14:31 2019 +0000 |
committer | Stanislav Zholnin <zholnin@google.com> | Tue Mar 26 20:15:27 2019 +0000 |
tree | 0a611edd21ca8c52e95af4a2c34c1033a98ed022 | |
parent | df07682efcf3e1df6cb059c269babd32e94bd7a1 [diff] |
Hold DeviceConfig API permissions while adding listener and waiting for callback. DeviceConfig.addOnPropertyChangedListener will fail to deliver callback if receiving process does not have READ_DEVICE_CONFIG permission. Bug: 129294101 Change-Id: I5abca562122d020fc274344b7c726f5c836524f6 Test: manual verification