Skip to content

Commit

Permalink
Fixed reinitialization crash in the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
XspeedPL committed Feb 25, 2016
1 parent 126aa5b commit 15ee80f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
@@ -1,3 +1,2 @@
# Physical Buttom Music Control
Xposed Framework module for Android 2.3-6.0
All info here: http://forum.xda-developers.com/xposed/modules/mod-physical-button-music-control-1-8-t2620777/
Xposed Framework module for Android 2.3-6.0, all info here: http://forum.xda-developers.com/xposed/modules/mod-physical-button-music-control-1-8-t2620777/
2 changes: 0 additions & 2 deletions res/values/strings.xml
Expand Up @@ -96,8 +96,6 @@ Active version: %2$s</string>
<item>Previous media</item>
<item>Music volume up</item>
<item>Music volume down</item>
<item>Fast forward</item>
<item>Rewind</item>
</string-array>

<string-array name="action_coded_k">
Expand Down
5 changes: 3 additions & 2 deletions src/xeed/xposed/cbppmod/PBMain.java
Expand Up @@ -137,8 +137,9 @@ else if (mi.getItemId() == R.id.save)
@Override
public final void onStop()
{
unregisterReceiver(br);
super.onPause();
try { unregisterReceiver(br); }
catch (final Exception ex) { }
super.onStop();
}

@Override
Expand Down

0 comments on commit 15ee80f

Please sign in to comment.