Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1195a6bd authored by Mårten Kongstad's avatar Mårten Kongstad Committed by Ryan Mitchell
Browse files

idmap2: fix cpplint warnings

Bug: 189963636
Test: frameworks/base/cmds/idmap2/static-checks.sh
Change-Id: I6da18cdbbd2fc33db711696445230a9f316dc143
parent 99ae898d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,4 +15,4 @@
set noparent
linelength=100
root=..
filter=+build/include_alpha,-runtime/references,-build/c++
filter=+build/include_alpha,-runtime/references,-build/c++,-build/include_alpha
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#include <string>
#include <vector>

#include "idmap2/CommandUtils.h"
#include "idmap2/Idmap.h"
#include "idmap2/Result.h"
#include "idmap2/SysTrace.h"
+5 −3
Original line number Diff line number Diff line
@@ -14,8 +14,10 @@
 * limitations under the License.
 */

#ifndef IDMAP2_IDMAP2_COMMAND_UTILS_H_
#define IDMAP2_IDMAP2_COMMAND_UTILS_H_
#ifndef IDMAP2_IDMAP2_COMMANDUTILS_H_
#define IDMAP2_IDMAP2_COMMANDUTILS_H_

#include <string>

#include "idmap2/PolicyUtils.h"
#include "idmap2/Result.h"
@@ -24,4 +26,4 @@ android::idmap2::Result<android::idmap2::Unit> Verify(
    const std::string& idmap_path, const std::string& target_path, const std::string& overlay_path,
    const std::string& overlay_name, PolicyBitmask fulfilled_policies, bool enforce_overlayable);

#endif  // IDMAP2_IDMAP2_COMMAND_UTILS_H_
#endif  // IDMAP2_IDMAP2_COMMANDUTILS_H_
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <fstream>
#include <memory>
#include <ostream>
#include <string>
#include <vector>

#include "androidfw/ResourceTypes.h"
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@
#include <memory>
#include <ostream>
#include <string>
#include <utility>
#include <vector>

#include "android-base/macros.h"
#include "android-base/stringprintf.h"
Loading