Skip to content

Commit

Permalink
Workaround for bug on 2.3.x devices
Browse files Browse the repository at this point in the history
  • Loading branch information
markwinter committed Sep 17, 2014
1 parent 0f409c7 commit bc6eed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="im.tox.antox"
android:versionCode="33"
android:versionName="0.12.5" >
android:versionCode="34"
android:versionName="0.12.6" >

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/java/im/tox/antox/activities/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ public void onDrawerStateChanged(int newState) {
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);

//Init Bitmap Manager
new BitmapManager();
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
new BitmapManager();

//Get epoch time for online/offline messages
Constants.epoch = System.currentTimeMillis() / 1000; // Current time in seconds
Expand Down

0 comments on commit bc6eed7

Please sign in to comment.