Skip to content

Commit

Permalink
[IDENT-5322] Remove the proguard entries for removal of Log calls (#367)
Browse files Browse the repository at this point in the history
* Add level NONE to LogLevel to have a disabled state

* Remove the proguard entry for removal of Log.* calls

* More updates to proguard rules
  • Loading branch information
mblcdr authored Jul 19, 2022
1 parent 5d5e52b commit 50ca52a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 17 deletions.
4 changes: 0 additions & 4 deletions identhub-ui/consumer-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
-keep public class de.solarisbank.identhub.*.** { *;}

# Remove log calls
-assumenosideeffects class android.util.Log {
public static *** d(...);
public static *** e(...);
}
-assumenosideeffects class timber.log.Timber {
public static *** d(...);
public static *** e(...);
Expand Down
6 changes: 1 addition & 5 deletions identhub-ui/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@
}

# Remove log calls
-assumenosideeffects class android.util.Log {
public static *** d(...);
public static *** e(...);
}
-assumenosideeffects class timber.log.Timber {
-assumenosideeffects class Timber.log.Timber {
public static *** d(...);
public static *** e(...);
}
4 changes: 0 additions & 4 deletions identhub/consumer-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
-keep public class de.solarisbank.identhub.*.** { *;}

# Remove log calls
-assumenosideeffects class android.util.Log {
public static *** d(...);
public static *** e(...);
}
-assumenosideeffects class timber.log.Timber {
public static *** d(...);
public static *** e(...);
Expand Down
4 changes: 0 additions & 4 deletions identhub/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
}

# Remove log calls
-assumenosideeffects class android.util.Log {
public static *** d(...);
public static *** e(...);
}
-assumenosideeffects class timber.log.Timber {
public static *** d(...);
public static *** e(...);
Expand Down

0 comments on commit 50ca52a

Please sign in to comment.