Messaging: Fix modifiers
We either have too few or too many Change-Id: I09a9a38b859c68526fcbcdbc7862afe1d693f6c0
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2015 The Android Open Source Project
|
||||
* Copyright (C) 2024 The LineageOS Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -76,7 +77,7 @@ public class OsUtil {
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Hashtable<String, Integer> sPermissions = new Hashtable<String, Integer>();
|
||||
private static final Hashtable<String, Integer> sPermissions = new Hashtable<String, Integer>();
|
||||
|
||||
/**
|
||||
* Check if the app has the specified permission. If it does not, the app needs to use
|
||||
@@ -150,7 +151,7 @@ public class OsUtil {
|
||||
return missingArray;
|
||||
}
|
||||
|
||||
private static String[] sRequiredPermissions = new String[] {
|
||||
private static final String[] sRequiredPermissions = new String[] {
|
||||
// Required to read existing SMS threads
|
||||
Manifest.permission.READ_SMS,
|
||||
// Required for knowing the phone number, number of SIMs, etc.
|
||||
|
||||
Reference in New Issue
Block a user