Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/golang/mobile
/ disable
Function
disable
exp/sensor/android.go:146–154 ·
view source on GitHub ↗
(t Type)
Source
from the content-addressed store, hash-verified
144
}
145
146
func
disable(t Type) error {
147
done := make(
chan
struct
{})
148
inout <- inOut{
149
in: disableSignal{t: t},
150
out: done,
151
}
152
<-done
153
return
nil
154
}
155
156
func
readEvents(e []Event) int {
157
num := len(e)
Callers
1
Disable
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected