Merge "Update SidecarProvider to pass Application Context." into sc-v2-dev am: 32038eabfa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16065848 Change-Id: Ib4ab446d2ef9cf592650be6942690bcf8e6afad4
This commit is contained in:
@@ -28,7 +28,7 @@ public class SidecarProvider {
|
||||
* an OEM by overriding this method.
|
||||
*/
|
||||
public static SidecarInterface getSidecarImpl(Context context) {
|
||||
return new SampleSidecarImpl(context);
|
||||
return new SampleSidecarImpl(context.getApplicationContext());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user