aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/app.cpp b/src/app.cpp
index d7ec53d..18e722b 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -509,39 +509,6 @@ void App::allocateWindowResource(char const *event, char const *drawing_name,
HMI_DEBUG("wm", "new_role: %s", new_role);
}
- if (0 == strcmp("activate", event)) {
- // TODO:
- // This process will be removed
- // because the area "normal.full" and "normalfull" will be prohibited
- {
- if (0 == strcmp("restriction", new_role)) {
- new_area = drawing_area;
- }
- else {
- if (nullptr == drawing_area) {
- new_area = "normal";
- }
- else if (0 == strcmp("normal.full", drawing_area)) {
- new_area = "normal";
- }
- else if (0 == strcmp("restriction.split.sub", drawing_area)) {
- new_area = "restriction.split.sub";
- }
- else if (0 == strcmp("homescreen", new_role)) {
- // Now homescreen specifies "normalfull"
- new_area = "fullscreen";
- }
- else {
- new_area = "normal";
- }
- }
- HMI_DEBUG("wm", "drawing_area:%s, new_area: %s", drawing_area, new_area);
- }
- }
- else if (0 == strcmp("deactivate", event)) {
- new_area = "";
- }
-
// TODO:
// Check role