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

Skip to content
Commit 38d5e424 authored by Jiaming Liu's avatar Jiaming Liu
Browse files

Fix DeviceStateProviderImplTest create_invalidSensor

After ag/20514286, the DeviceStateProvider no longer reports state if
the sensor values do not match the declared states. For the invalid
sensor config test, the onStateChanged() will not be called because the
sensor config is invalid.

(I thought presubmit would run all the tests, so I didn't run them
locally when submitting ag/20514286.)

Fix: 260572046
Test: atest FrameworksServicesTests:com.android.server.policy.DeviceStateProviderImplTest
Change-Id: Ic7aa004747fa940aa3445ed537dd76ee00c72553
parent 4dfa86ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment