Merge "Disable throttling of SoundTrigger" into pi-dev am: 1936031cbe
am: c7029fe7e0
Change-Id: Ifb78f41f756ac2002d12dc4e5de09dddef02f074
This commit is contained in:
@@ -808,8 +808,9 @@ public class SoundTriggerService extends SystemService {
|
||||
MAX_SOUND_TRIGGER_DETECTION_SERVICE_OPS_PER_DAY,
|
||||
Integer.MAX_VALUE);
|
||||
|
||||
// As we currently cannot dropping an op safely, disable throttling
|
||||
int opsAdded = mNumOps.getOpsAdded();
|
||||
if (mNumOps.getOpsAdded() >= opsAllowed) {
|
||||
if (false && mNumOps.getOpsAdded() >= opsAllowed) {
|
||||
try {
|
||||
if (DEBUG || opsAllowed + 10 > opsAdded) {
|
||||
Slog.w(TAG, mPuuid + ": Dropped operation as too many operations "
|
||||
|
||||
Reference in New Issue
Block a user