File tree Expand file tree Collapse file tree
app/src/main/java/cmu/xprize/robotutor/tutorengine/widgets/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -298,17 +298,17 @@ public void setDataSource(String dataNameDescriptor) {
298298 /**
299299 * Chooses one track randomly out of a list kept in string.xml
300300 */
301- public void setSoundTrack () {
302-
303- Resources res = getResources ();
304- String [] sound_tracks = res .getStringArray (cmu .xprize .bp_component .R .array .sound_tracks );
305- Random rand = new Random ();
306- String sound_track = sound_tracks [rand .nextInt (sound_tracks .length )];
307-
308- Log .i ("BPOP" , "Chosen sound track: " + sound_track );
309-
310- publishValue (BP_CONST .SOUND_TRACK , sound_track );
311- }
301+ // public void setSoundTrack() {
302+ //
303+ // Resources res = getResources();
304+ // String[] sound_tracks = res.getStringArray(cmu.xprize.bp_component.R.array.sound_tracks);
305+ // Random rand = new Random();
306+ // String sound_track = sound_tracks[rand.nextInt(sound_tracks.length)];
307+ //
308+ // Log.i("BPOP", "Chosen sound track: " + sound_track);
309+ //
310+ // publishValue(BP_CONST.SOUND_TRACK, sound_track);
311+ // }
312312
313313
314314 // Override in child class
You can’t perform that action at this time.
0 commit comments