Skip to content

Commit 7f81320

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "Get rid of preventScreenOn()." into jb-mr1-dev
2 parents 7c3586c + 1206648 commit 7f81320

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

core/java/android/os/IPowerManager.aidl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ interface IPowerManager
4444
void setPokeLock(int pokey, IBinder lock, String tag);
4545
void setStayOnSetting(int val);
4646
void setMaximumScreenOffTimeoutFromDeviceAdmin(int timeMs);
47-
void preventScreenOn(boolean prevent);
4847

4948
// temporarily overrides the screen brightness settings to allow the user to
5049
// see the effect of a settings change without applying it immediately

services/java/com/android/server/power/PowerManagerService.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,12 +1643,6 @@ private boolean isMaximumScreenOffTimeoutFromDeviceAdminEnforcedLocked() {
16431643
&& mMaximumScreenOffTimeoutFromDeviceAdmin < Integer.MAX_VALUE;
16441644
}
16451645

1646-
@Override // Binder call
1647-
public void preventScreenOn(boolean prevent) {
1648-
// TODO Auto-generated method stub
1649-
// Only used by phone app, delete this
1650-
}
1651-
16521646
/**
16531647
* Used by the phone application to make the attention LED flash when ringing.
16541648
*/

tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ public void nap(long arg0) throws RemoteException {
6464
// pass for now.
6565
}
6666

67-
@Override
68-
public void preventScreenOn(boolean arg0) throws RemoteException {
69-
// pass for now.
70-
}
71-
7267
@Override
7368
public void reboot(String arg0) throws RemoteException {
7469
// pass for now.

0 commit comments

Comments
 (0)