SHARE
TWEET

Untitled

a guest Jul 17th, 2017 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Name: Tappable Pandora Thumbs
  2. Version: 1.4-1
  3. Author: Joe
  4. Description: Allows you to tap the thumb buttons on the Pandora dashboard while the device is locked
  5.  
  6. --- .orig/media/cryptofs/apps/usr/palm/applications/com.palm.pandora/app/controllers/base-scene-assistant.js
  7. +++ /media/cryptofs/apps/usr/palm/applications/com.palm.pandora/app/controllers/base-scene-assistant.js
  8. @@ -78,7 +78,7 @@
  9.  
  10.              AppGlobals.dashboardLaunched = true;
  11.              var f = function(stageController) {
  12. -                stageController.pushScene(AppConstants.SCENE_DASHBOARD, MessageDispatcher, AppGlobals);
  13. +                stageController.pushScene({name: AppConstants.SCENE_DASHBOARD,clickableWhenLocked:true}, MessageDispatcher, AppGlobals);
  14.              };
  15.              AppGlobals.mojoAppController.createStageWithCallback(AppConstants.SCENE_DASHBOARD, f, 'dashboard');
  16.          }
  17. --- .orig/media/cryptofs/apps/usr/palm/applications/com.palm.pandora/app/controllers/basic-dashboard-assistant.js
  18. +++ /media/cryptofs/apps/usr/palm/applications/com.palm.pandora/app/controllers/basic-dashboard-assistant.js
  19. @@ -88,7 +88,7 @@
  20.     },
  21.  
  22.     onDisableControls: function() {
  23. -       this.controlsDisabled = true;
  24. +       this.controlsDisabled = false;
  25.     },
  26.  
  27.     onTrackChange: function (trackData) {
RAW Paste Data
Top