mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
all: format comments with go fmt ./... using Go 1.19
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -4,15 +4,15 @@
|
||||
Package bluetooth implements permissions to access Bluetooth and Bluetooth
|
||||
Low Energy hardware, including the ability to discover and pair devices.
|
||||
|
||||
Android
|
||||
# Android
|
||||
|
||||
The following entries will be added to AndroidManifest.xml:
|
||||
|
||||
<uses-permission android:name="android.permission.BLUETOOTH"/>
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.bluetooth_le" android:required="false"/>
|
||||
<uses-permission android:name="android.permission.BLUETOOTH"/>
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.bluetooth_le" android:required="false"/>
|
||||
|
||||
Note that ACCESS_FINE_LOCATION is required on Android before the Bluetooth
|
||||
device may be used.
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
/*
|
||||
Package camera implements permissions to access camera hardware.
|
||||
|
||||
Android
|
||||
# Android
|
||||
|
||||
The following entries will be added to AndroidManifest.xml:
|
||||
|
||||
<uses-permission android:name="android.permission.CAMERA"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
<uses-permission android:name="android.permission.CAMERA"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
|
||||
CAMERA is a "dangerous" permission. See documentation for package
|
||||
gioui.org/app/permission for more information.
|
||||
|
||||
@@ -34,7 +34,7 @@ program's source code:
|
||||
_ "net"
|
||||
)
|
||||
|
||||
Android -- Dangerous Permissions
|
||||
# Android -- Dangerous Permissions
|
||||
|
||||
Certain permissions on Android are marked with a protection level of
|
||||
"dangerous". This means that, in addition to including the relevant
|
||||
|
||||
@@ -3,11 +3,10 @@
|
||||
/*
|
||||
Package networkstate implements permissions to access network connectivity information.
|
||||
|
||||
Android
|
||||
# Android
|
||||
|
||||
The following entries will be added to AndroidManifest.xml:
|
||||
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
*/
|
||||
package networkstate
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
Package storage implements read and write storage permissions
|
||||
on mobile devices.
|
||||
|
||||
Android
|
||||
# Android
|
||||
|
||||
The following entries will be added to AndroidManifest.xml:
|
||||
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
|
||||
READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE are "dangerous" permissions.
|
||||
See documentation for package gioui.org/app/permission for more information.
|
||||
|
||||
@@ -4,11 +4,10 @@
|
||||
Package wakelock implements permission to acquire locks that keep the system
|
||||
from suspending.
|
||||
|
||||
Android
|
||||
# Android
|
||||
|
||||
The following entries will be added to AndroidManifest.xml:
|
||||
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
*/
|
||||
package wakelock
|
||||
|
||||
Reference in New Issue
Block a user