Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Use Markdown for this comment
Set severity, which reflects how much the issue affects the use of the product
Assign issue to yourself
Pending code changes (auto-populated)
[ID: 84651]
Provide specific API name(s) that you see the issue with. [ID: 563139]
Add your affected app's APK name. [ID: 562695]
Add you app name affected by this issue. [ID: 563241]
Add your affected app's version. [ID: 563033]
If you know CTS classs/method names or CDD IDs that are relevant to this issue, please specify. [ID: 563140]
Provide as many details as possible. [ID: 563242]
Specify OEM's name that you observe the issue with. [ID: 562566]
[ID: 85206]
Set the version(s) of the product affected by this issue (comma-separated list)
Set the version(s) of the product in which the issue should be fixed (comma-separated list)
Set the version(s) of the product in which the issue fix was verified (comma-separated list)
Set if this issue occurs in production
Set Reporter
Set Type
Set priority, which reflects how soon the issue should be fixed
Set Status
Set Assignee
Set Verifier
Remove item
View or edit staffing
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Description
I encountered an issue where the expected value and actual value of CtsBackupHostTestCases test cases do not match.
After investigation, it was found that the reason was due to the setting of accessibility-capting-window_color in CtsAccessibilityTestCases. After testing CtsAccessibilityTestCases, the setting of accessibility-capting-window_color was not returned.
Can we return the settings for accessibility_capting_findow_color after completing CtsAccessibilityTestCases testing?
I followed the following method, and after deleting the setting of accessibility_captationing-window_color after testing CtsAccessibilityTestCases, the CtsBackupHostTestCases test can pass.
diff --git a/tests/accessibility/src/android/view/accessibility/cts/CaptioningManagerTest.java b/tests/accessibility/src/android/view/accessibility/cts/CaptioningManagerTest.java
index 89bc47c3..d85939be 100644
=---a/tests/accessibility/src/android/view/accessibility/cts/CaptioningManagerTest.java
=+++b/tests/accessibility/src/android/view/accessibility/cts/CaptioningManagerTest.java
@@ -158,6 +158,8 @@ public class CaptioningManagerTest {
assertFalse("Default user style has no background color", userStyle.hasBackgroundColor());
assertFalse("Default user style has no window color", userStyle.hasWindowColor());
assertNull("Default user style has no typeface", userStyle.getTypeface());
+
+ deleteSecureSetting("accessibility_captioning_window_color");
}
Before and after modifying CtsAccessibilityTestCases, the running CtsBackupHostTestCases and the cts log information of CtsBackupHostTestCases are sent along with the attachment.