Merge "Update SidecarProvider to pass Application Context." into sc-v2-dev

This commit is contained in:
Diego Vela
2021-10-18 17:23:32 +00:00
committed by Android (Google) Code Review

View File

@@ -28,7 +28,7 @@ public class SidecarProvider {
* an OEM by overriding this method. * an OEM by overriding this method.
*/ */
public static SidecarInterface getSidecarImpl(Context context) { public static SidecarInterface getSidecarImpl(Context context) {
return new SampleSidecarImpl(context); return new SampleSidecarImpl(context.getApplicationContext());
} }
/** /**