This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public final class StoreContract { | |
| public static abstract class HeadphoneEntry implements BaseColumns { | |
| public static final String TABLE_NAME = "headphones"; | |
| public static final String COLUMN_NAME = "name"; | |
| public static final String COLUMN_PRICE = "price"; | |
| public static final String COLUMN_STYLE = "style"; | |
| public static final String COLUMN_IN_STOCK = "in_stock"; | |
| public static final String COLUMN_DESCRIPTION = "description"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * Copyright (C) 2014 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** | |
| * Clean up the media player by releasing its resources. | |
| */ | |
| private void releaseMediaPlayer() { | |
| // If the media player is not null, then it may be currently playing a sound. | |
| if (mMediaPlayer != null) { | |
| // Regardless of the current state of the media player, release its resources | |
| // because we no longer need it. | |
| mMediaPlayer.release(); |