Add a permission check to a stubbed method
Although the method is stubbed, it should probably enforce permissions. Bug: 175011741 Test: build only Change-Id: I2fb8312149b8ed780fa7350817acb1337a1ef9de
This commit is contained in:
@@ -136,6 +136,7 @@ public final class TimeDetectorService extends ITimeDetectorService.Stub {
|
||||
|
||||
@Override
|
||||
public boolean updateConfiguration(TimeConfiguration timeConfiguration) {
|
||||
enforceManageTimeDetectorPermission();
|
||||
// TODO(b/172891783) Add actual logic
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user