aboutsummaryrefslogtreecommitdiff
path: root/btif/src/btif_activity_attribution.cc
diff options
context:
space:
mode:
Diffstat (limited to 'btif/src/btif_activity_attribution.cc')
-rw-r--r--btif/src/btif_activity_attribution.cc36
1 files changed, 36 insertions, 0 deletions
diff --git a/btif/src/btif_activity_attribution.cc b/btif/src/btif_activity_attribution.cc
new file mode 100644
index 000000000..9f161cc91
--- /dev/null
+++ b/btif/src/btif_activity_attribution.cc
@@ -0,0 +1,36 @@
+/******************************************************************************
+ *
+ * Copyright 2020 The Android Open Source Project
+ *
+ * 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.
+ *
+ ******************************************************************************/
+
+#define LOG_TAG "bt_btif_activity_attribution"
+
+#include "btif_activity_attribution.h"
+#include "main/shim/activity_attribution.h"
+#include "main/shim/shim.h"
+
+using base::Bind;
+using base::Unretained;
+
+namespace bluetooth {
+namespace activity_attribution {
+
+ActivityAttributionInterface* get_activity_attribution_instance() {
+ return bluetooth::shim::get_activity_attribution_instance();
+}
+
+} // namespace activity_attribution
+} // namespace bluetooth