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

Commit 59d19268 authored by Yan Zhu's avatar Yan Zhu
Browse files

Add privileged permissions for secondary home app

- MANAGE_USERS is required for getting current user
- ACTIVITY_EMBEDDING is required for launching app in ActivityView

Bug: 137197603
Test: manual test: build and flash
Change-Id: I80a2d39a825c2bc9d52572a434c2ccf32408ccff
parent 2e7965bb
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2020 The Android Open Source Project
  ~
  ~ 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
  -->
<permissions>
    <privapp-permissions package="com.android.car.secondaryhome">
        <!-- Required to launch app in ActivityView -->
        <permission name="android.permission.ACTIVITY_EMBEDDING"/>
        <!-- Required to send notification to current user-->
        <permission name="android.permission.MANAGE_USERS"/>
    </privapp-permissions>
</permissions>