File tree Expand file tree Collapse file tree
android/sdl_android/src/androidTest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 <application android : debuggable =" true" >
3030 <uses-library android : name =" android.test.runner" />
3131 <activity android : name =" com.smartdevicelink.managers.lockscreen.SDLLockScreenActivity" />
32+ <receiver
33+ android : name =" .TestSdlReceiver"
34+ android : enabled =" true"
35+ android : exported =" true" >
36+ <intent-filter >
37+ <action android : name =" com.smartdevicelink.USB_ACCESSORY_ATTACHED" /> <!-- For AOA -->
38+ <action android : name =" android.bluetooth.device.action.ACL_CONNECTED" />
39+ <action android : name =" sdl.router.startservice" />
40+ </intent-filter >
41+ </receiver >
3242 </application >
3343
3444</manifest >
Original file line number Diff line number Diff line change 1+ package com .smartdevicelink ;
2+
3+ import android .content .BroadcastReceiver ;
4+ import android .content .Context ;
5+ import android .content .Intent ;
6+
7+ /**
8+ * Added so we pass IntegrationValidator when running unit test.
9+ */
10+ public class TestSdlReceiver extends BroadcastReceiver {
11+ @ Override
12+ public void onReceive (Context context , Intent intent ) {
13+ }
14+ }
You can’t perform that action at this time.
0 commit comments