Skip to content

Commit

Permalink
Plumb binder from proxy
Browse files Browse the repository at this point in the history
Summary:
This creates the BnSharedActivityApi instance in the proxy impl and plumbs it to the CallProviderService. This will then allow clients to get the API when they bind to the CallProviderService.

The ISharedActivityApi is just a skeleton for now and will be filled in over time.

Differential Revision:
D63823238

Privacy Context Container: L1272839

fbshipit-source-id: 1c9b6d40c91357cd3c18053472b20a0db5492866
  • Loading branch information
Idean Labib authored and facebook-github-bot committed Nov 5, 2024
1 parent 03f021a commit 3ef72a0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions cxx/fbjni/IBinder.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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.
*/

#pragma once

#include <fbjni/Application.h>
#include <fbjni/File.h>
#include <fbjni/fbjni.h>

namespace facebook {
namespace jni {

class IBinder : public JavaClass<IBinder> {
public:
static constexpr const char* kJavaDescriptor = "Landroid/os/IBinder;";
};

} // namespace jni
} // namespace facebook

0 comments on commit 3ef72a0

Please sign in to comment.