Make reward constants configurable.
Make it possible to configure the instant and max values of all supported actions. Ongoing rewards will be enabled later. Bug: 158300259 Bug: 189850067 Bug: 191876714 Bug: 191877052 Test: Manual Change-Id: Ia854f18820f3fe95b3b1448c5fa8411853859052
This commit is contained in:
@@ -530,7 +530,7 @@ public class TareFactorController {
|
||||
} else if (mJobSchedulerMap.containsKey(key)) {
|
||||
currentMap = mJobSchedulerMap;
|
||||
} else {
|
||||
throw new IllegalArgumentException("Couldn't link key to policy map");
|
||||
throw new IllegalArgumentException("Couldn't link key '" + key + "' to a policy");
|
||||
}
|
||||
return currentMap.get(key).factorPolicy;
|
||||
}
|
||||
|
Reference in New Issue
Block a user