diff options
author | 2019-10-14 10:27:00 +0100 | |
---|---|---|
committer | 2019-10-16 15:39:42 +0000 | |
commit | 31b3ffa32d4efc3868806917ca3f2c82847478c7 (patch) | |
tree | 60a421d346615fd0f1b3171fa5d3820d01ae0867 /libnativebridge/native_bridge.cc | |
parent | cce414f8b46de709250af49398083e99f96b6161 (diff) |
Remove temporary CPPLINT.cfg files
Temporary CPPLINT.cfg files were introduced when move libnativeloader
and libnativebridge under art/.
Bug: 141749154
Test: mm cpplint-art-all
Change-Id: I85e75180138a512aef025f1e5275e20d8d1d14b0
Diffstat (limited to 'libnativebridge/native_bridge.cc')
-rw-r--r-- | libnativebridge/native_bridge.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnativebridge/native_bridge.cc b/libnativebridge/native_bridge.cc index 9adba9a50e..82dd5629a0 100644 --- a/libnativebridge/native_bridge.cc +++ b/libnativebridge/native_bridge.cc @@ -276,7 +276,7 @@ bool PreInitializeNativeBridge(const char* app_data_dir_in, const char* instruct // Create the path to the application code cache directory. // The memory will be release after Initialization or when the native bridge is closed. - const size_t len = strlen(app_data_dir_in) + strlen(kCodeCacheDir) + 2; // '\0' + '/' + const size_t len = strlen(app_data_dir_in) + strlen(kCodeCacheDir) + 2; // '\0' + '/' app_code_cache_dir = new char[len]; snprintf(app_code_cache_dir, len, "%s/%s", app_data_dir_in, kCodeCacheDir); @@ -455,7 +455,7 @@ void UnloadNativeBridge() { // We expect only one place that calls UnloadNativeBridge: Runtime::DidForkFromZygote. At that // point we are not multi-threaded, so we do not need locking here. - switch(state) { + switch (state) { case NativeBridgeState::kOpened: case NativeBridgeState::kPreInitialized: case NativeBridgeState::kInitialized: |