Loading README.md +21 −1 Original line number Diff line number Diff line Loading @@ -44,8 +44,28 @@ To enable/disable the synchronisation, go into your account settings: # Interrobility eDrive can also receive broadcast intent for forcing the synchronization. eDrive can also receive some broadcast intent for different purprose: **Force the synchronization.** ```bash adb shell am broadcast -a foundation.e.drive.action.FORCE_SYNC --receiver-include-background ``` **Generate a database dump accessible by the user** ```bash adb shell am broadcast -a foundation.e.drive.action.DUMP_DATABASE --receiver-include-background ``` **Disable log limit on release build** ```bash adb shell am broadcast -a foundation.e.drive.action.FULL_LOG_ON_PROD --receiver-include-background --ez full_log_enable true ``` **Limit log output on release build** *(after previous command)* ```bash adb shell am broadcast -a foundation.e.drive.action.FULL_LOG_ON_PROD --receiver-include-background --ez full_log_enable false ``` No newline at end of file app/src/main/java/foundation/e/drive/utils/ReleaseTree.java +10 −0 Original line number Diff line number Diff line /* * Copyright © ECORP SAS 2022. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/gpl.html */ package foundation.e.drive.utils; import android.util.Log; Loading @@ -7,6 +14,9 @@ import androidx.annotation.Nullable; import timber.log.Timber; /** * @author vincent Bourgmayer */ public class ReleaseTree extends Timber.DebugTree{ private static boolean debugEnable = false; Loading Loading
README.md +21 −1 Original line number Diff line number Diff line Loading @@ -44,8 +44,28 @@ To enable/disable the synchronisation, go into your account settings: # Interrobility eDrive can also receive broadcast intent for forcing the synchronization. eDrive can also receive some broadcast intent for different purprose: **Force the synchronization.** ```bash adb shell am broadcast -a foundation.e.drive.action.FORCE_SYNC --receiver-include-background ``` **Generate a database dump accessible by the user** ```bash adb shell am broadcast -a foundation.e.drive.action.DUMP_DATABASE --receiver-include-background ``` **Disable log limit on release build** ```bash adb shell am broadcast -a foundation.e.drive.action.FULL_LOG_ON_PROD --receiver-include-background --ez full_log_enable true ``` **Limit log output on release build** *(after previous command)* ```bash adb shell am broadcast -a foundation.e.drive.action.FULL_LOG_ON_PROD --receiver-include-background --ez full_log_enable false ``` No newline at end of file
app/src/main/java/foundation/e/drive/utils/ReleaseTree.java +10 −0 Original line number Diff line number Diff line /* * Copyright © ECORP SAS 2022. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/gpl.html */ package foundation.e.drive.utils; import android.util.Log; Loading @@ -7,6 +14,9 @@ import androidx.annotation.Nullable; import timber.log.Timber; /** * @author vincent Bourgmayer */ public class ReleaseTree extends Timber.DebugTree{ private static boolean debugEnable = false; Loading