Commit 759ded98 authored by Kazuhiro Inaba's avatar Kazuhiro Inaba
Browse files

JobScheduler CTS: Correctly run the tests depending on "charging" event.

The previous code used BatteryController.ACTION_CHARGING_STABLE which is an
intent deleted already at Android M. Instead, the new implementation uses
the shell command to fake the battery status and let BatteryController itself
trigger the equivalent broadcase.

Bug: 128656618
Test: CtsJobSchedulerTestCases on Chromebase(w/o batetry), and Pixel
Change-Id: I8d818a050705b0ddafd43bfa48551f7fddab2030
Merged-In: I5758ea3c30653986f4ccccbc4d0d39746b753b63
parent b1c8b086
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment