Skip to content

Commit

Permalink
RealmeProximityService: migrate to Android.bp and drop wakelock permi…
Browse files Browse the repository at this point in the history
…ssion

Signed-off-by: Harshit Jain <[email protected]>
  • Loading branch information
Harshit Jain committed Aug 26, 2020
1 parent abc29db commit 72271c5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 23 deletions.
31 changes: 31 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Copyright (C) 2020 Harshit Jain <[email protected]>
*
* 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.
*/

android_app {
name: "RealmeProximityHelper",

srcs: ["src/**/*.java"],

manifest: "AndroidManifest.xml",

platform_apis: true,
certificate: "platform",
privileged: true,

optimize: {
proguard_flags_files: ["proguard.flags"],
},
}
22 changes: 0 additions & 22 deletions Android.mk

This file was deleted.

1 change: 0 additions & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
android:sharedUserId="android.uid.system">

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

<uses-sdk
android:minSdkVersion="29"
Expand Down

0 comments on commit 72271c5

Please sign in to comment.