Skip to content
Commit 9e80f5e2 authored by Hui Yu's avatar Hui Yu
Browse files

Add a device config for FGS denied notification.

1. Add a flag mFgsStartRestrictionNotificationEnabled to control whether
display a notification when a FGS is restricted by BG-FGS-start. Default
is false.
2. Use device config key "default_fgs_starts_restriction_notification_enabled"
to turn it on/off.

Bug: 187977406
Test: adb shell device_config get activity_manager default_fgs_starts_restriction_notification_enabled
Test: adb shell device_config put activity_manager
default_fgs_starts_restriction_notification_enabled [true|false]

Change-Id: Ie1e1d5351b9f8326a9cb3d6685a8f2cf53978685
parent d1c67e26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment