Skip to content

Commit

Permalink
Stop proguard breaking outputs list
Browse files Browse the repository at this point in the history
  • Loading branch information
eisnerd committed Oct 3, 2014
1 parent 97286aa commit 3893cf4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ant-android-scala/configs/default-release.cfg
Expand Up @@ -13,7 +13,10 @@

-keepattributes SourceFile,LineNumberTable,*Annotation*

-keep public class @MYAPP_PACKAGE@.**
-keep public class @MYAPP_PACKAGE@.** {
public <methods>;
public <fields>;
}

-keepclassmembers class @MYAPP_PACKAGE@.tools.** { *; }

Expand Down
4 changes: 3 additions & 1 deletion main/src/org/musicpd/android/MainMenuActivity.java
Expand Up @@ -89,7 +89,7 @@ public class MainMenuActivity extends MPDFragmentActivity implements OnNavigatio
ActionBar actionBar;
ArrayAdapter<CharSequence> actionBarAdapter;
List<String> tabs;
ConnectionListener persistentConnectionListener;
public ConnectionListener persistentConnectionListener;
ActionBarDrawerToggle drawerToggle;
DrawerLayout drawer_layout;
NowPlayingFragment nowPlaying;
Expand Down Expand Up @@ -201,6 +201,7 @@ public void connectionFailed(String message) {
@Override
public void connectionSucceeded(String message) {
try {
Log.i("Fetching outputs following connectionSucceeded");
final Collection<MPDOutput> o = app.oMPDAsyncHelper.oMPD.getOutputs();
Iterator<MPDOutput> i = o.iterator();
while (i.hasNext())
Expand All @@ -220,6 +221,7 @@ public void run() {
}
}
});
Log.i("Will fetch outputs following connectionSucceeded");
left_outputs.setOnHierarchyChangeListener(new ViewGroup.OnHierarchyChangeListener() {
@Override
public void onChildViewAdded(View parent, View child) {
Expand Down

0 comments on commit 3893cf4

Please sign in to comment.