Package 

Class ConfigurationCollector

  • All Implemented Interfaces:
    org.acra.collector.ApplicationStartupCollector , org.acra.collector.Collector , org.acra.plugins.Plugin

    @AutoService(value = {Collector.class}) 
    public final class ConfigurationCollector
    extends BaseReportFieldCollector implements ApplicationStartupCollector
                        

    Inspects a Configuration object through reflection API in order to generate a human readable String with values replaced with their constants names. The Configuration.toString method was not enough as values like 0, 1, 2 or 3 aren't readable. Using reflection API allows to retrieve hidden fields and can make us hope to be compatible with all Android API levels, even those which are not published yet.