0
run cts -c android.permission2.cts.ProtectedBroadcastsTest

テストは失敗しました。

ログ:

   android.permission2.cts.ProtectedBroadcastsTest#testSendProtectedBroadcasts FAIL 
junit.framework.AssertionFailedError: expected security exception broadcasting action: com.android.server.WifiManager.action.START_SCAN
at android.permission2.cts.ProtectedBroadcastsTest.testSendProtectedBroadcasts(ProtectedBroadcastsTest.java:94)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:190)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:175)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1584)

誰でもこれについて助けることができますか?

4

1 に答える 1

0

このコミットを確認してください。

https://android.googlesource.com/platform/frameworks/base/+/b8da0376f2d50fdb2ee58deacc6d2041689e36d1%5E!/

これはフレームワークの動作変更です。

于 2013-05-28T11:27:48.177 に答える