matisse-common: remove FlipFlap interface for covers with a hole

Since our device hasn't covers with a hole, we just need to turn it on when cover is removed from the front of screen.
This commit is contained in:
matteo0026 2020-07-31 22:07:40 +02:00
parent c6b8b6824d
commit 158080d727
2 changed files with 0 additions and 61 deletions

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2017 The LineageOS Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Also add information on how to contact you by electronic and paper mail.
-->
<resources>
<!-- Define Device Lid Style
1 HTC Style Dotcase
2 Asus/LG Style Circle Window Cover
3 Rectangular window Cover
For example, a device with Asus Circle Cover would set 2 -->
<integer name="config_deviceCoverType">3</integer>
</resources>

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2017 The LineageOS Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Also add information on how to contact you by electronic and paper mail.
-->
<resources>
<!-- Rectangular parameters (config_deviceCoverType == 3) -->
<dimen name="rectangular_window_top">0px</dimen>
<dimen name="rectangular_window_left">60px</dimen>
<dimen name="rectangular_window_width">960px</dimen>
<dimen name="rectangular_window_height">960px</dimen>
</resources>