Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0d9cf7f authored by Neil Fuller's avatar Neil Fuller
Browse files

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
parent a6d011d0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
    }