# Make sure the use of "ACCESS\_FINE\_LOCATION" permission is necessary

**URL:** <https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070>\
**Category:** Report False-positive / False-negative...\
**Created:** [July 15, 2022, 2:38am UTC](https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070 "2022-07-15T02:38:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KanishakCharitableIm](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/kanishakcharitableim/32/34993_2.png) [@KanishakCharitableIm](https://community.sonarsource.com/u/KanishakCharitableIm)\
**Post date:** [July 15, 2022, 2:38am UTC](https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070/1 "2022-07-15T02:38:23Z")

</div>

- ALM used : GitHub
- CI system used : Circle CI
- Languages of the repository : Java, Kotlin, XML
- Error observed : No errors.
- Steps to reproduce : Commit the code and analyze the SOnarCloud
- Potential workaround : None identified

Hello Team,

All of a sudden I am getting this Security Hotspot issue since yesterday. This permission is in Manifest file since beginning. Previously, this issue was not visible in Security Hotspot issues.The same issue is appearing for 7 other Android permissions. Kindly guide me how to fix this issue.

Thank you.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [July 15, 2022, 8:31am UTC](https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070/2 "2022-07-15T08:31:38Z")

</div>

Hey there.

You’ll need to give some more information about the files/issues that are raised – such as providing a code snippet, a screenshot of the issue message, the rule ID, etc…

A good starting point is this guide: [Report a False-positive / False-negative - Sonar Community](https://community.sonarsource.com/c/fp/7)

---

<div class="post-metadata">

**Author:** ![whck6](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/whck6/32/45826_2.png) [@whck6](https://community.sonarsource.com/u/whck6)\
**Post date:** [June 6, 2023, 3:57am UTC](https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070/3 "2023-06-06T03:57:27Z")

</div>

Hi there, we’ve also got a similar message recently.

Because this line.

```xml
<uses-permission android:name="android.permission.RECORD_AUDIO" />

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![urvish](https://avatars.discourse-cdn.com/v4/letter/u/c68b51/32.png) [@urvish](https://community.sonarsource.com/u/urvish)\
**Post date:** [May 1, 2024, 12:00pm UTC](https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070/4 "2024-05-01T12:00:11Z")

</div>

also got simillar issue in menifest.xml file

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [May 1, 2024, 1:25pm UTC](https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070/5 "2024-05-01T13:25:32Z")

</div>

Hey all.

Please start new threads containing the info in this topic.

> [@How to Report a False-positive / False-negative](https://community.sonarsource.com/t/how-to-report-a-false-positive-false-negative/37022):
>
> Hey SonarSource Community! [False-positives happen](https://blog.sonarsource.com/false-positives-our-enemies-but-maybe-your-friends), as do false-negatives, and we’re eager to fix them. We are thrilled when our users report problems, so we can make our products better. What is a false-positive (FP)? A false-positive is when an issue is raised unexpectedly on code that should not trigger an issue, or where the suggested action doesn’t make any sense for the code. What is a false-negative (FN)? A false-negative is when an issue should be raised on a piece of code, but isn’t. …

I will close this (very old) thread.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [May 1, 2024, 1:25pm UTC](https://community.sonarsource.com/t/make-sure-the-use-of-access-fine-location-permission-is-necessary/68070/6 "2024-05-01T13:25:36Z")

</div>


