Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4 from tdz/bug-1119746
Browse files Browse the repository at this point in the history
Bug 1119746 - bluetoothd changes: 1) open connections on startup, 2) support command-line arguments, and 3) add init scripts for bluetooth daemon, r=shuang
  • Loading branch information
Ben Tian authored and rvandermeulen committed Jan 21, 2015
1 parent 3c52bcf commit e15d1bc
Show file tree
Hide file tree
Showing 5 changed files with 304 additions and 112 deletions.
9 changes: 9 additions & 0 deletions scripts/Android.mk
@@ -0,0 +1,9 @@
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_SRC_FILES := init.bluetooth.rc
LOCAL_MODULE := init.bluetooth.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_TAGS := optional
include $(BUILD_PREBUILT)
24 changes: 24 additions & 0 deletions scripts/init.bluetooth.rc
@@ -0,0 +1,24 @@
#
# Copyright (C) 2015 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Import this file into your init.rc to use bluetoothd.
#

service bluetoothd /system/bin/bluetoothd
class main
user bluetooth
group system
disabled
oneshot

0 comments on commit e15d1bc

Please sign in to comment.