cts8.1_r8.:android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields fail

[DESCRIPTION]
 CtsShortcutManagerTestCases
android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields
FAIL: junit.framework.AssertionFailedError: Expected exception type was java.lang.IllegalArgumentException but caught java.lang.SecurityException: Shortcut package name mismatch (message=)
[SOLUTION]

 可以豁免,请参考以下信息:
android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields  is waived for devices with Sept SPL until the Google patch is integrated into a future CTS version.  This is waived across Android versions based on below patches.
https://android-review.googlesource.com/c/platform/cts/+/735922
https://android-review.googlesource.com/c/platform/cts/+/735923
https://android-review.googlesource.com/c/platform/cts/+/735924
https://android-review.googlesource.com/c/platform/cts/+/735925

作者: RESSRC

个人资源站

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据