Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
eebdb473
Commit
eebdb473
authored
9 years ago
by
Andre Eisenbach
Browse files
Options
Downloads
Patches
Plain Diff
Allow system apps (Settings) to configure Bluetooth properties
Bug: 27078729 Change-Id: I74115521e1def661dea5575eb532b93fe7f1f4ad
parent
e3965aa2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
property_contexts
+1
-0
1 addition, 0 deletions
property_contexts
system_app.te
+1
-0
1 addition, 0 deletions
system_app.te
with
2 additions
and
0 deletions
property_contexts
+
1
−
0
View file @
eebdb473
...
@@ -37,6 +37,7 @@ service.adb.root u:object_r:shell_prop:s0
...
@@ -37,6 +37,7 @@ service.adb.root u:object_r:shell_prop:s0
service.adb.tcp.port u:object_r:shell_prop:s0
service.adb.tcp.port u:object_r:shell_prop:s0
persist.audio. u:object_r:audio_prop:s0
persist.audio. u:object_r:audio_prop:s0
persist.bluetooth. u:object_r:bluetooth_prop:s0
persist.debug. u:object_r:persist_debug_prop:s0
persist.debug. u:object_r:persist_debug_prop:s0
persist.logd. u:object_r:logd_prop:s0
persist.logd. u:object_r:logd_prop:s0
persist.logd.security u:object_r:device_logging_prop:s0
persist.logd.security u:object_r:device_logging_prop:s0
...
...
This diff is collapsed.
Click to expand it.
system_app.te
+
1
−
0
View file @
eebdb473
...
@@ -23,6 +23,7 @@ allow system_app mnt_media_rw_file:dir search;
...
@@ -23,6 +23,7 @@ allow system_app mnt_media_rw_file:dir search;
allow system_app wallpaper_file:file r_file_perms;
allow system_app wallpaper_file:file r_file_perms;
# Write to properties
# Write to properties
set_prop(system_app, bluetooth_prop)
set_prop(system_app, debug_prop)
set_prop(system_app, debug_prop)
set_prop(system_app, system_prop)
set_prop(system_app, system_prop)
set_prop(system_app, logd_prop)
set_prop(system_app, logd_prop)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment