Explorar el Código

bugfix for noteResetVideoLocked

Bug: 151532393

Test: review code

Change-Id: Ifcd88b03a713f7759494ec46096459733e8789eb
Signed-off-by: wangqiuling <wangqiuling@xiaomi.com>
ten
wangqiuling hace 1 año
padre
commit
96d4e56cc7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      core/java/com/android/internal/os/BatteryStatsImpl.java

+ 1
- 1
core/java/com/android/internal/os/BatteryStatsImpl.java Ver fichero

@@ -5417,7 +5417,7 @@ public class BatteryStatsImpl extends BatteryStats {
if (mVideoOnNesting > 0) {
final long elapsedRealtime = mClocks.elapsedRealtime();
final long uptime = mClocks.uptimeMillis();
mAudioOnNesting = 0;
mVideoOnNesting = 0;
mHistoryCur.states2 &= ~HistoryItem.STATE2_VIDEO_ON_FLAG;
if (DEBUG_HISTORY) Slog.v(TAG, "Video off to: "
+ Integer.toHexString(mHistoryCur.states));

Cargando…
Cancelar
Guardar