Home
last modified time | relevance | path

Searched refs:lastPlayingIndex (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java1304 int lastPlayingIndex = mPRStack.size(); in pushMediaButtonReceiver_syncPrs() local
1312 lastPlayingIndex = index; in pushMediaButtonReceiver_syncPrs()
1324 mPRStack.add(lastPlayingIndex, prse); in pushMediaButtonReceiver_syncPrs()
1336 if (inStackIndex > lastPlayingIndex) { in pushMediaButtonReceiver_syncPrs()
1337 mPRStack.add(lastPlayingIndex, prse); in pushMediaButtonReceiver_syncPrs()
1339 mPRStack.add(lastPlayingIndex - 1, prse); in pushMediaButtonReceiver_syncPrs()
1347 Log.e(TAG, "Wrong index (inStack=" + inStackIndex + " lastPlaying=" + lastPlayingIndex in pushMediaButtonReceiver_syncPrs()