Skip to content

Commit

Permalink
Merge pull request #854 from meganz/hotfix/v3.6.1_null-pointer-exception
Browse files Browse the repository at this point in the history
Hotfix for v3.6.1 - Avoid possible NullPointerException
  • Loading branch information
javiergm1983 authored May 7, 2019
2 parents 9b92ebd + 0c97d86 commit 8be15d6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "mega.privacy.android.app"
minSdkVersion 21
targetSdkVersion 27
versionCode 234
versionName "3.6.1 (234)"
versionCode 238
versionName "3.6.1 (238)"
multiDexEnabled true
}

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mega.privacy.android.app"
android:installLocation="internalOnly"
android:versionCode="234"
android:versionName="3.6.1 (234)">
android:versionCode="238"
android:versionName="3.6.1 (238)">

<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-feature android:name="android.hardware.camera" android:required="false"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
public class MegaApplication extends MultiDexApplication implements MegaGlobalListenerInterface, MegaChatRequestListenerInterface, MegaChatNotificationListenerInterface, MegaChatCallListenerInterface, NetworkStateReceiver.NetworkStateReceiverListener, MegaChatListenerInterface {
final String TAG = "MegaApplication";

static final public String USER_AGENT = "MEGAAndroid/3.6.1_234";
static final public String USER_AGENT = "MEGAAndroid/3.6.1_238";

DatabaseHandler dbH;
MegaApiAndroid megaApi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2600,7 +2600,9 @@ public void onContactRequestsUpdate(MegaApiJava api,
}

public void setToolbarSubtitle(String s) {
aB.setSubtitle(s);
if (aB != null) {
aB.setSubtitle(s);
}
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings_donottranslate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<string name="app_name" context="Name of the app" translatable="false">MEGA</string>
<string name="pdf_app_name" context="PDF viewer app name" translatable="false">MEGA PDF Viewer</string>
<string name="app_version" context="Version number of the app" translatable="false">3.6.1 (234)</string>
<string name="app_version" context="Version number of the app" translatable="false">3.6.1 (238)</string>
<string name="sdk_version" context="SDK version" translatable="false">a69204a</string>
<string name="karere_version" context="MEGAchat SDK version" translatable="false">9938c91</string>
<string name="prolite_account" context="PRO Lite account" translatable="false">Lite</string>
Expand Down

0 comments on commit 8be15d6

Please sign in to comment.