()
| 132 | } |
| 133 | |
| 134 | public void saveToStorage(){ |
| 135 | try { |
| 136 | DataOutputStream outputStream=NvStorage.CreateDataOutputStream(); |
| 137 | |
| 138 | outputStream.writeInt(soundVol); |
| 139 | outputStream.writeInt(soundsMsgIndex); |
| 140 | outputStream.writeInt(soundOnlineIndex); |
| 141 | outputStream.writeInt(soundOfflineIndex); |
| 142 | outputStream.writeInt(soundForYouIndex); |
| 143 | outputStream.writeInt(soundComposingIndex); |
| 144 | outputStream.writeInt(soundConferenceIndex); |
| 145 | outputStream.writeInt(soundStartUpIndex); |
| 146 | outputStream.writeInt(soundOutgoingIndex); |
| 147 | outputStream.writeInt(soundVIPIndex); |
| 148 | |
| 149 | outputStream.writeBoolean(vibrateOnlyHighlited); |
| 150 | outputStream.writeBoolean(false); //flashBackLight |
| 151 | NvStorage.writeFileRecord(outputStream, "AlertCustomize", 0, true); |
| 152 | } catch (IOException e) { |
| 153 | //e.printStackTrace(); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | public void setSize(){ |
| 158 | if (files== null) |
no test coverage detected