Merge lp:~rsalveti/powerd/abort_cant_find_android_compat into lp:powerd

Proposed by Ricardo Salveti
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 114
Merged at revision: 115
Proposed branch: lp:~rsalveti/powerd/abort_cant_find_android_compat
Merge into: lp:powerd
Diff against target: 46 lines (+11/-2)
2 files modified
debian/control (+2/-2)
src/powerd.cpp (+9/-0)
To merge this branch: bzr merge lp:~rsalveti/powerd/abort_cant_find_android_compat
Reviewer Review Type Date Requested Status
Sergio Schvezov Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+211852@code.launchpad.net

Commit message

Aborting in case it can't find the android input compat stack

Description of the change

Aborting in case it can't find the android input compat stack

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

https://wiki.ubuntu.com/Process/Merges/TestPlans/Powerd

 * Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)

Yes

 * Did you build your software in a clean sbuild/pbuilder chroot or ppa?

Yes

 * Did you build your software in a clean sbuild/pbuilder armhf chroot or ppa?

Yes

 * Has your component "TestPlan” been executed successfully on emulator, N4?

Only with N4

 * Has a 5 minute exploratory testing run been executed on N4?

Yes

 * What components might get impacted by your changes?

Auto/manual suspend

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

> FAILED: Continuous integration, rev:114

Failed because latest libhybris is not yet promoted to release.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Good, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/control'
--- debian/control 2014-01-23 16:41:00 +0000
+++ debian/control 2014-03-20 02:29:53 +0000
@@ -6,13 +6,13 @@
6 cmake,6 cmake,
7 libglib2.0-dev,7 libglib2.0-dev,
8 android-headers (>= 4.2.2),8 android-headers (>= 4.2.2),
9 libhybris-dev (>= 0.1.0+git20131206+0cdd7f2-0ubuntu1),9 libhybris-dev (>= 0.1.0+git20131207+e452e83-0ubuntu12),
10 python:any,10 python:any,
11 libandroid-properties-dev,11 libandroid-properties-dev,
12 libplatform-api1-dev,12 libplatform-api1-dev,
13 libupower-glib-dev,13 libupower-glib-dev,
14 uuid-dev,14 uuid-dev,
15 libhardware-dev (>= 0.1.0+git20131206+0cdd7f2-0ubuntu1),15 libhardware-dev (>= 0.1.0+git20131207+e452e83-0ubuntu12),
16Standards-Version: 3.9.416Standards-Version: 3.9.4
17Homepage: https://launchpad.net/powerd17Homepage: https://launchpad.net/powerd
18# If you aren't a member of ~phablet-team but need to upload packaging changes,18# If you aren't a member of ~phablet-team but need to upload packaging changes,
1919
=== modified file 'src/powerd.cpp'
--- src/powerd.cpp 2014-01-23 19:19:39 +0000
+++ src/powerd.cpp 2014-03-20 02:29:53 +0000
@@ -483,6 +483,14 @@
483 if (!err)483 if (!err)
484 _power_module->init(_power_module);484 _power_module->init(_power_module);
485485
486 /* Compat input is needed otherwise there's no way to know when
487 * the user is actively using the system */
488 if (!android_input_check_availability()) {
489 powerd_error("Android compat input library not found, aborting");
490 g_exit_code = -1;
491 goto fail_compat_init;
492 }
493
486 android_input_stack_initialize(&listener, &config);494 android_input_stack_initialize(&listener, &config);
487 android_input_stack_start();495 android_input_stack_start();
488496
@@ -499,6 +507,7 @@
499 android_input_stack_stop();507 android_input_stack_stop();
500 android_input_stack_shutdown();508 android_input_stack_shutdown();
501509
510fail_compat_init:
502 powerd_ps_deinit();511 powerd_ps_deinit();
503 dbus_name_watch_deinit();512 dbus_name_watch_deinit();
504 powerd_autobrightness_deinit();513 powerd_autobrightness_deinit();

Subscribers

People subscribed via source and target branches