android auto

This commit is contained in:
h4h13 2019-08-04 20:45:38 +05:30
parent 6d84ad1028
commit e8cb0f5274
11 changed files with 196 additions and 190 deletions

View file

@ -11,8 +11,10 @@
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*/
package code.name.monkey.retromusic.util
import android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE
import android.Manifest.permission.MEDIA_CONTENT_CONTROL
import android.annotation.SuppressLint
@ -45,7 +47,10 @@ import java.security.NoSuchAlgorithmException
*
* For more information, see res/xml/allowed_media_browser_callers.xml.
*/
class PackageValidator(context: Context, @XmlRes xmlResId: Int) {
class PackageValidator(
context: Context,
@XmlRes xmlResId: Int
) {
private val context: Context
private val packageManager: PackageManager