Add default keyguard fod dimens

Set TARGET_HAS_FOD := true in device tree.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ic1d0bbe852cdb2a6e45a3e9aea69becc45995394
diff --git a/config/common.mk b/config/common.mk
index 84b7123..e19f28c 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -171,6 +171,9 @@
 # Overlays
 PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/bliss/overlay
 DEVICE_PACKAGE_OVERLAYS += vendor/bliss/overlay/common
+ifeq ($(TARGET_HAS_FOD),true)
+DEVICE_PACKAGE_OVERLAYS += vendor/bliss/overlay/fod
+endif
 
 # Google Audio
 $(call inherit-product-if-exists, frameworks/base/data/sounds/GoogleAudio.mk)
diff --git a/overlay/fod/frameworks/base/packages/SystemUI/res/values-sw540dp-port/lineage_dimens.xml b/overlay/fod/frameworks/base/packages/SystemUI/res/values-sw540dp-port/lineage_dimens.xml
new file mode 100644
index 0000000..7ba6c1a
--- /dev/null
+++ b/overlay/fod/frameworks/base/packages/SystemUI/res/values-sw540dp-port/lineage_dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2020 The LineageOS 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.
+-->
+<resources>
+    <!-- The minimum bottom margin of the keyguard security container -->
+    <dimen name="kg_security_container_min_bottom_margin">690px</dimen>
+</resources>
diff --git a/overlay/fod/frameworks/base/packages/SystemUI/res/values-sw720dp/lineage_dimens.xml b/overlay/fod/frameworks/base/packages/SystemUI/res/values-sw720dp/lineage_dimens.xml
new file mode 100644
index 0000000..ff47229
--- /dev/null
+++ b/overlay/fod/frameworks/base/packages/SystemUI/res/values-sw720dp/lineage_dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2020 The LineageOS 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.
+-->
+<resources>
+    <!-- The minimum bottom margin of the keyguard security container -->
+    <dimen name="kg_security_container_min_bottom_margin">610px</dimen>
+</resources>
diff --git a/overlay/fod/frameworks/base/packages/SystemUI/res/values/lineage_dimens.xml b/overlay/fod/frameworks/base/packages/SystemUI/res/values/lineage_dimens.xml
new file mode 100644
index 0000000..ff46aef
--- /dev/null
+++ b/overlay/fod/frameworks/base/packages/SystemUI/res/values/lineage_dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2020 The LineageOS 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.
+-->
+<resources>
+    <!-- The minimum bottom margin of the keyguard security container -->
+    <dimen name="kg_security_container_min_bottom_margin">560px</dimen>
+</resources>