Skip to content

Commit 627a8e7

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
fix: E2E test build — remove missing contextualsearch import, fix OverlayProperties field access
contextualsearch has no AIDL source, so no Go package is generated. OverlayProperties is an empty struct in the current AIDL spec.
1 parent 3476281 commit 627a8e7

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

tests/e2e/smoke_all_methods_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
genContent "github.com/xaionaro-go/binder/android/content"
2828
genContentCapture "github.com/xaionaro-go/binder/android/view/contentcapture"
2929
genContentSuggestions "github.com/xaionaro-go/binder/android/app/contentsuggestions"
30-
genContextualSearch "github.com/xaionaro-go/binder/android/app/contextualsearch"
3130
genCredentials "github.com/xaionaro-go/binder/android/credentials"
3231
genDebug "github.com/xaionaro-go/binder/android/debug"
3332
genDeviceState "github.com/xaionaro-go/binder/android/hardware/devicestate"
@@ -291,7 +290,6 @@ var serviceRegistry = []serviceEntry{
291290
{"content", func(b binder.IBinder) interface{} { return genContent.NewContentServiceProxy(b) }},
292291
{"content_capture", func(b binder.IBinder) interface{} { return genContentCapture.NewContentCaptureManagerProxy(b) }},
293292
{"content_suggestions", func(b binder.IBinder) interface{} { return genContentSuggestions.NewContentSuggestionsManagerProxy(b) }},
294-
{"contextual_search", func(b binder.IBinder) interface{} { return genContextualSearch.NewContextualSearchManagerProxy(b) }},
295293
{"country_detector", func(b binder.IBinder) interface{} { return genLocation.NewCountryDetectorProxy(b) }},
296294
{"credential", func(b binder.IBinder) interface{} { return genCredentials.NewCredentialManagerProxy(b) }},
297295
{"crossprofileapps", func(b binder.IBinder) interface{} { return genPm.NewCrossProfileAppsProxy(b) }},

tests/e2e/window_surface_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ func TestWindowSurface_DisplayManager_GetOverlaySupport(t *testing.T) {
210210
// parcelables, exercising nested array-of-parcelable unmarshaling.
211211
overlay, err := dm.GetOverlaySupport(ctx)
212212
requireOrSkip(t, err)
213-
t.Logf("OverlaySupport: %d combinations, supportMixedColorSpaces=%v",
214-
len(overlay.Combinations), overlay.SupportMixedColorSpaces)
213+
t.Logf("OverlaySupport: %+v", overlay)
215214
}
216215

217216
func TestWindowSurface_DisplayManager_GetSupportedHdrOutputTypes(t *testing.T) {

0 commit comments

Comments
 (0)