Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d51cf5a authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

Add missing licence header and update Readme

parent 8b3ffcc3
Loading
Loading
Loading
Loading
Loading
+21 −1
Original line number Diff line number Diff line
@@ -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
+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;
@@ -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;