Skip to content

Commit d4c3d87

Browse files
committed
comment
1 parent 753412e commit d4c3d87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/src/main/java/com/microsoft/identity/common/adal/internal/PowerManagerWrapper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ public String getDeviceIdleMode(@NonNull final Context context){
111111

112112
/**
113113
* Gets the Device Doze Mode Status.
114+
*
115+
* This is exposed to OneAuth.
114116
*
115117
* @param context The context to use for PowerManager.
116118
* @return a {@link DeviceDozeModeStatus}
@@ -177,6 +179,8 @@ public boolean isIgnoringBatteryOptimizations(final Context connectionContext) {
177179
* Caches the result in memory using computeIfAbsent for thread safety.
178180
* Returns a string indicating the result or exception type.
179181
*
182+
* This is exposed to OneAuth.
183+
*
180184
* @param packageName The package name to check.
181185
* @param context The context to use for PowerManager.
182186
* @return a {@link BatteryOptimizationStatus}

0 commit comments

Comments
 (0)