Skip to content

Commit

Permalink
Remove lifecycle logging from FormFillingActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
seadowg committed Jun 20, 2023
1 parent 356b4fd commit 4dcac6f
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@
import org.odk.collect.permissions.PermissionsProvider;
import org.odk.collect.settings.SettingsProvider;
import org.odk.collect.settings.keys.ProjectKeys;
import org.odk.collect.shared.strings.Md5;
import org.odk.collect.strings.localization.LocalizedActivity;

import java.io.File;
Expand Down Expand Up @@ -393,8 +392,6 @@ public void allowSwiping(boolean doSwipe) {
*/
@Override
public void onCreate(Bundle savedInstanceState) {
Timber.w("onCreate %s", Md5.getMd5Hash(getIntent().getData().toString()));

// Workaround for https://issuetracker.google.com/issues/37124582. Some widgets trigger
// this issue by including WebViews
if (Build.VERSION.SDK_INT >= 24) {
Expand Down Expand Up @@ -780,8 +777,6 @@ private FormController getFormController() {

@Override
protected void onSaveInstanceState(Bundle outState) {
Timber.w("onSaveInstanceState %s", Md5.getMd5Hash(getIntent().getData().toString()));

super.onSaveInstanceState(outState);

outState.putString(KEY_SESSION_ID, sessionId);
Expand Down Expand Up @@ -1843,8 +1838,6 @@ private void updateNavigationButtonVisibility() {

@Override
protected void onStart() {
Timber.w("onStart %s", Md5.getMd5Hash(getIntent().getData().toString()));

super.onStart();
FormController formController = getFormController();

Expand All @@ -1863,17 +1856,13 @@ && new PlayServicesChecker().isGooglePlayServicesAvailable(this)) {

@Override
protected void onPause() {
Timber.w("onPause %s", Md5.getMd5Hash(getIntent().getData().toString()));

backgroundLocationViewModel.activityHidden();

super.onPause();
}

@Override
protected void onResume() {
Timber.w("onResume %s", Md5.getMd5Hash(getIntent().getData().toString()));

super.onResume();

activityDisplayed();
Expand Down Expand Up @@ -1976,8 +1965,6 @@ public boolean onKeyDown(int keyCode, KeyEvent event) {

@Override
protected void onDestroy() {
Timber.w("onDestroy %s", Md5.getMd5Hash(getIntent().getData().toString()));

if (formLoaderTask != null) {
formLoaderTask.setFormLoaderListener(null);
// We have to call cancel to terminate the thread, otherwise it
Expand Down

0 comments on commit 4dcac6f

Please sign in to comment.