Skip to content

Commit

Permalink
Change the storeConnectionParameters access modifier to protected and…
Browse files Browse the repository at this point in the history
… update several libraries
  • Loading branch information
christianrowlands committed Aug 23, 2024
1 parent a05c05a commit 2ea8761
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [0.7.3](https://github.com/christianrowlands/android-mqtt-connection-lib/releases/tag/v0.7.3) - 2024-08-23
* Change the access modifier of the storeConnectionParameters method to protected so it can be called.

## [0.7.2](https://github.com/christianrowlands/android-mqtt-connection-lib/releases/tag/v0.7.2) - 2024-02-22
* Fixed a memory leak where the service connection was not unbound when the fragment was paused.

Expand Down
10 changes: 5 additions & 5 deletions MqttLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ ext {

dependencies {

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
compileOnly 'com.google.android.things:androidthings:1.0'

implementation 'com.hivemq:hivemq-mqtt-client:1.3.3'

implementation "com.google.protobuf:protobuf-java-util:3.24.3"
implementation "com.google.protobuf:protobuf-java-util:4.27.3"
implementation 'com.jakewharton.timber:timber:5.0.1'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
}

// Configure publishing to the Sonatype Maven Central repo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ private void storeMdmOverrideParameter()
/**
* Store the connection host address and port number so they can be used on app restart.
*/
private void storeConnectionParameters()
protected void storeConnectionParameters()
{
final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(applicationContext);
final SharedPreferences.Editor edit = preferences.edit();
Expand Down

0 comments on commit 2ea8761

Please sign in to comment.