Skip to content
Commit ee8699e5 authored by Kweku Adams's avatar Kweku Adams
Browse files

Introduce action affordability checking.

Allow clients to indicate that they want to be told about an app's
ability to afford specific actions. This allows clients to know when to
stop ongoing work/prevent further actions and when has the ability to
pay for intended actions.

Removing the BalanceChangeListener since clients won't be able to make
use of solvency/insolvency information (becoming solvent doesn't mean an
app can pay for an action and becoming insolvent only matters if the
cost of an action is greater than 0).

Bug: 158300259
Test: atest FrameworksServicesTests:AgentTest
Change-Id: I7a7bdde1d385991a8d4d35b89fc278fa3c4fe3e7
parent 7efcc4df
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