Frameworks/base: Fix visibility flag in Editor

Fix double check.

Bug: 19797138
Change-Id: I95e694f384f1f25d6cf3b6a1669052940385e41d
1 file changed