Project

General

Profile

« Previous | Next » 

Revision b883f8f7

Added by Leszek Koltunski 7 months ago

Bugfix for bandaged creator.

View differences:

src/main/java/org/distorted/bandaged/BandagedActivity.java
57 57
      {
58 58
      super.onCreate(savedState);
59 59

  
60
      DistortedLibrary.onCreate(ACTIVITY_NUMBER);
61
      setContentView(R.layout.bandaged);
62

  
63 60
      Bundle b = getIntent().getExtras();
64 61
      mObjectOrdinal = (b != null) ? b.getInt("obj") : 0;
65 62
      mDisplayMessageDialog = true;
66 63

  
64
      DistortedLibrary.onCreate(ACTIVITY_NUMBER);
65
      setContentView(R.layout.bandaged);
66

  
67 67
      final Configuration config = getResources().getConfiguration();
68 68
      final int layoutDirection = config.getLayoutDirection();
69 69
      mRTL = layoutDirection==LAYOUT_DIRECTION_RTL;

Also available in: Unified diff