File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ exports.gbHandler = (event) => {
4444 "musicinfo" : function ( ) {
4545 require ( "messages" ) . pushMessage ( Object . assign ( event , { t :"modify" , id :"music" , title :"Music" } ) ) ;
4646 } ,
47+ // {t:"audio", v:(percentage of max volume for android STREAM_MUSIC)}
48+ "audio" : function ( ) {
49+ Bangle . emit ( "musicVolume" , event . v ) ;
50+ } ,
4751 // {"t":"call","cmd":"incoming/end/start/outgoing","name":"Bob","number":"12421312"})
4852 "call" : function ( ) {
4953 Object . assign ( event , {
@@ -386,4 +390,4 @@ exports.overwriteGPS = () => { // if the overwrite option is set, call this on i
386390 setTimeout ( ( ) => {
387391 if ( ! Bangle . isGPSOn ( ) ) require ( "android" ) . gbSend ( { t : "gps_power" , status : false } ) ;
388392 } , 3000 ) ;
389- } ;
393+ } ;
You can’t perform that action at this time.
0 commit comments