I am provisioning my device so my dpc becomes device owner. I am using the QR code method. Here is the Qr code text I am using:
{
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.msi.msidpc.deviceowner/com.msi.msidpc.deviceowner.DeviceOwnerReceiver"
}
In order to get the sytem app I want, I am filling this file:
frameworks/base/core/res/res/values/vendor_required_apps_managed_device.xml
Here is how I do it:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- A list of apps to be retained on the managed device by a particular vendor.
Takes precedence over the disallowed apps lists. -->
<string-array translatable="false" name="vendor_required_apps_managed_device">
<item>com.android.vending</item> <!-- Google Play -->
<item>com.google.android.gms</item> <!-- Required by Play -->
<item>com.google.android.contacts</item> <!-- Google Contacts -->
<item>com.google.android.googlequicksearchbox</item> <!-- package that contains Google Launcher -->
<item>com.google.android.launcher</item> <!-- Google Launcher meta home alternate name -->
<item>com.android.launcher</item> <!-- Android Launcher (default on some Nexus devices) -->
<item>com.google.android.dialer</item> <!-- Google dialer to enable making phone calls -->
<item>com.google.android.apps.messaging</item> <!-- Google Messenger for SMS -->
<item>com.google.android.setupwizard</item> <!-- Google SetupWizard to finish DO provisioning properly -->
<item>com.example.nmgd63.kioskmodeapplication</item> <!--kiosk application-->
<item>com.example.nmgd63.testdpcactibity</item> <!--TestDpc application -->
</string-array>
</resources>
These 2 applications:
<item>com.example.nmgd63.kioskmodeapplication</item> <!--kiosk application-->
<item>com.example.nmgd63.testdpcactibity</item> <!--TestDpc application -->
are small applications I flashed on the image. However, it does not work and I do not see these applications after Qr code provisioning where as I can see them when I add this on the Qr code text:
"android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED":true
Do you have any idea why?
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
I need to save some edited imagesI applied for editing a ColorFilter (https://medium
I have two different activities, A & BBoth have NavigationDrawer , look alike, but not are the same, because I could not get the drawer layout ID of activity A in activity B
I wan't test plyer library with kivy and i tried to test a simple android vibrateThe app end with this log :
I am using FirebaseMessaging to push notifications on my app