Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Revert "Bug 1159028 - [music] Refactor the music database backend (pa…
Browse files Browse the repository at this point in the history
…rt 1)"

This reverts commit b83619a.
  • Loading branch information
KevinGrandon committed Jun 28, 2015
1 parent 74480f2 commit 39b3989
Show file tree
Hide file tree
Showing 11 changed files with 423 additions and 479 deletions.
8 changes: 4 additions & 4 deletions apps/music/js/communications.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* exported MusicComms */
/* global Database, INTERRUPT_BEGIN, MediaRemoteControls, ModeManager,
MODE_PLAYER, PlayerView, PLAYSTATUS_PLAYING, PLAYSTATUS_STOPPED,
TYPE_MIX */
/* global musicdb, ModeManager, MODE_PLAYER, PlayerView,
PLAYSTATUS_PLAYING, PLAYSTATUS_STOPPED, INTERRUPT_BEGIN, TYPE_MIX,
MediaRemoteControls */
'use strict';

var MusicComms = {
Expand Down Expand Up @@ -33,7 +33,7 @@ var MusicComms = {
} else {
// Play in shuffle order if music app is launched remotely.
if (PlayerView.playStatus === PLAYSTATUS_STOPPED) {
Database.getAll(function remote_getAll(dataArray) {
musicdb.getAll(function remote_getAll(dataArray) {
ModeManager.push(MODE_PLAYER, function() {
PlayerView.setSourceType(TYPE_MIX);
PlayerView.dataSource = dataArray;
Expand Down
Loading

0 comments on commit 39b3989

Please sign in to comment.