Adds PrivacyItemController to PhoneStatusBarPolicy so that we can show microphone and camera privacy icons in the status bar. Test: open camera to show the camera icon Test: open a recording app to show microphone Bug: 112331475 Change-Id: Ia14f838d715a2808db595c9da3be236d36cc6589
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
**
|
|
** Copyright 2018, 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.
|
|
*/
|
|
-->
|
|
<inset xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:insetLeft="3dp"
|
|
android:insetRight="3dp">
|
|
<vector
|
|
android:width="17dp"
|
|
android:height="17dp"
|
|
android:viewportWidth="24.0"
|
|
android:viewportHeight="24.0">
|
|
<path
|
|
android:fillColor="#FFF"
|
|
android:pathData="M20,5h-3.17L15,3H9L7.17,5H4C2.9,5 2,5.9 2,7v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V7C22,5.9 21.1,5 20,5zM20,19H4V7h16V19zM12,9c-2.21,0 -4,1.79 -4,4c0,2.21 1.79,4 4,4s4,-1.79 4,-4C16,10.79 14.21,9 12,9z"/>
|
|
</vector>
|
|
</inset>
|