Skip to content
Snippets Groups Projects
  • dcashman's avatar
    027ec206
    Mark batteryproperties service as app_api_service. · 027ec206
    dcashman authored
    Applications do not explicitly request handles to the batteryproperties
    service, but the BatteryManager obtains a reference to it and uses it
    for its underlying property queries.  Mark it as an app_api_service so
    that all applications may use this API.  Also remove the batterypropreg
    service label, as this does not appear to be used and may have been a
    duplication of batteryproperties.  As a result, remove the
    healthd_service type and replace it with a more specific
    batteryproperties_service type.
    
    (cherry-picked from commit: 9ed71eff)
    
    Bug: 27442760
    Change-Id: I537c17c09145b302728377bf856c1147e4cc37e9
    027ec206
    History
    Mark batteryproperties service as app_api_service.
    dcashman authored
    Applications do not explicitly request handles to the batteryproperties
    service, but the BatteryManager obtains a reference to it and uses it
    for its underlying property queries.  Mark it as an app_api_service so
    that all applications may use this API.  Also remove the batterypropreg
    service label, as this does not appear to be used and may have been a
    duplication of batteryproperties.  As a result, remove the
    healthd_service type and replace it with a more specific
    batteryproperties_service type.
    
    (cherry-picked from commit: 9ed71eff)
    
    Bug: 27442760
    Change-Id: I537c17c09145b302728377bf856c1147e4cc37e9