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

Commit 31725b3f authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Fixing a regression I have introduced.

bug:6344558

Change-Id: Ie726e091942e337962baa052953002be724068b1
parent 3cb889ca
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -1004,6 +1004,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
            mNotificationTimeout = info.notificationTimeout;
            mIsDefault = (info.flags & DEFAULT) != 0;

            if (!mIsAutomation) {
                final int targetSdkVersion =
                    info.getResolveInfo().serviceInfo.applicationInfo.targetSdkVersion;
                // TODO: Uncomment this line and remove the line below when JellyBean
@@ -1013,6 +1014,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
                    mIncludeNotImportantViews =
                        (info.flags & INCLUDE_NOT_IMPORTANT_VIEWS) != 0;
                }
            }

            synchronized (mLock) {
                tryAddServiceLocked(this);