Adjusts the logic of onPackageForceStop to return the proper values
The fxn should return true only if any force-stopped packages are enabled
and doit=false (this indicates something else should handle the stop).
In all other cases, the fxn should return false.
Test: atest AccessibilityManagerService
Bug: 337392123
Flag: aconfig manager_package_monitor_logic_fix
Change-Id: I4a0ed813011e4b0cb7363b35305e0a5e20391a67
diff --git a/services/accessibility/accessibility.aconfig b/services/accessibility/accessibility.aconfig
index 82579d8..0df92b4 100644
--- a/services/accessibility/accessibility.aconfig
+++ b/services/accessibility/accessibility.aconfig
@@ -138,6 +138,16 @@
}
flag {
+ name: "manager_package_monitor_logic_fix"
+ namespace: "accessibility"
+ description: "Corrects the return values of the HandleForceStop function"
+ bug: "337392123"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "pinch_zoom_zero_min_span"
namespace: "accessibility"
description: "Whether to set min span of ScaleGestureDetector to zero."