Simon Fels
48758d8955
Set correct resource path when starting from within a snap
2017-05-03 08:25:33 +02:00
Simon Fels
f094550279
Use correct resource path and check for errors on splash screen creation
2017-05-03 08:20:31 +02:00
Simon Fels
f4df33efe4
Improve launch and splash screen interactions
2017-05-03 07:57:54 +02:00
Simon Fels
bcb00e31af
Add necessary dependency on SDL2 image
2017-05-03 07:57:33 +02:00
Simon Fels
ee105c3963
Hook splash screen into our launcher
2017-05-03 07:57:00 +02:00
Simon Fels
c44e2a84d8
Add simple splash screen implementation
2017-05-03 07:50:28 +02:00
Simon Fels
855a391a5b
android: only print intent information when available
2017-05-02 19:47:50 +02:00
Simon Fels
d2eae3a832
cmds/launch: start session manager if not already running
2017-05-02 19:47:50 +02:00
Simon Fels
83bf973d98
dbus: stub: don't register an object but retrieve the already registered one
2017-05-02 19:47:50 +02:00
Simon Fels
3abcc023b7
Close connection when adbd connection is closed
...
This will ensure the message processor is correctly terminated and
a new connection is established when the adb server process on the
host opens a connection to us again.
2017-05-02 18:10:16 +02:00
Simon Fels
5ecc7ca52b
Drop old container manage entry point
2017-04-18 07:07:51 +02:00
Simon Fels
120bd07975
Merge pull request #57 from morphis/f/hide-container-mgr-cmd
...
Hide container-manager command and print out a warning when not called as root
2017-04-12 22:09:39 +02:00
Simon Fels
b33e0e782a
Hide container-manager command and print out a warning when not called as root
2017-04-12 19:13:27 +02:00
Thomas Voß
df852f5c5b
Merge branch 'master' of https://github.com/anbox/anbox into adjust-find-gtest-and-gmock
2017-04-12 13:46:28 +02:00
Thomas Voß
5cf5ed37e4
Only conditionally undef Status
2017-04-12 13:28:35 +02:00
Thomas Voß
63ff7da38a
Fix compilation on 17.04.
2017-04-12 13:12:04 +02:00
Thomas Voß
9ef45b436a
Report errors if loopback device creation fails
2017-04-12 10:04:08 +02:00
Simon Fels
eb7640fb86
Use extension helper class also to check GL ES extensions
2017-04-09 11:14:55 +02:00
Simon Fels
a2294b229a
Use a surfaceless EGL context if possible instead of a dummy pbuffer
2017-04-09 11:14:55 +02:00
Simon Fels
14fb7290ab
Fix compile errors after rebase
2017-03-17 07:24:06 +01:00
Simon Fels
3fededabd0
Allow user to specifiy which stack an application is launched on
2017-03-17 07:21:58 +01:00
Simon Fels
2d1cfea345
Allow user to specify a different window size
2017-03-17 07:21:42 +01:00
Simon Fels
aba9939a8c
Declare a constant for our default single window size
2017-03-17 07:21:42 +01:00
Simon Fels
9b703fedb0
Forward selected display size as window size in single window mode
2017-03-17 07:21:42 +01:00
Simon Fels
9e6909c65a
Implement single window mode option in parallel to multi-window support
...
For debugging and development purposes it's sometimes useful to run the
full Android system in a single and statically sized window. This is not
going to be a widely used mode but can be helpful at times.
Also makes our window/layer management a bit more modular to allow easy
additions of new strategies/impementations.
2017-03-17 07:20:01 +01:00
Simon Fels
3d0d453861
Implement simple app database which maintains app information at runtime
...
This helps us to collect information about an app (title, ..) we can
reuse for certain other things like window construction.
2017-03-16 17:06:45 +01:00
Simon Fels
11aea9c681
Drop unused parameter
2017-03-14 08:07:09 +01:00
Simon Fels
4863d25e2c
Use correct path for the anbox binary when running from within a snap
2017-03-14 08:06:58 +01:00
Simon Fels
a934c3e2de
Set version to 0.1.0
2017-03-12 14:33:04 +01:00
Simon Fels
c4004459dd
Add command to print various information about the system we're running on
2017-03-12 14:33:04 +01:00
Simon Fels
7288bb026e
Merge pull request #52 from morphis/f/app-launcher-sync
...
Improve synchronization of application launchers between the host and Android
2017-03-12 14:19:15 +01:00
Simon Fels
ef5cdf1725
Rename SetSeverity to SetSeverityFromString and check for valid severity
2017-02-24 19:08:20 +01:00
Simon Fels
1b1b2c35a1
Pass log levels from emugl layer
2017-02-24 19:08:20 +01:00
Simon Fels
ddc022466e
Set log level on startup from environment variable
2017-02-24 19:08:20 +01:00
Simon Fels
6887a4a0ef
Filter log messages by severity
2017-02-24 19:08:20 +01:00
Simon Fels
c36d8768be
Cleanup launcher storage on first boot to sync back with the Android system
2017-02-22 17:42:17 +01:00
Simon Fels
fc7049b27b
Create a marker to indicate that first boot has happened
2017-02-22 17:42:17 +01:00
Simon Fels
69631a1bfc
Remove application launcher when its android counterpart is removed
2017-02-22 17:42:17 +01:00
Simon Fels
fc49cc3895
Make our mounts private to our namespace
...
That way they don't end up in the host namespace in any case. Only the
loop device we're allocating remains visible as there is currently no
real separation between containers on loop device usage.
2017-02-20 08:46:01 +01:00
Simon Fels
5520dfac34
Terminate container on shutdown to get all our threads/connections stopped
2017-02-20 08:46:01 +01:00
Simon Fels
03acb32ece
Forward Android ready status through our app manager dbus object
2017-02-20 08:35:43 +01:00
Simon Fels
ce2f7e9928
Use GLESv2 as implementation for GLESv1
...
This may not apply on some systems but works well enough for the snap.
2017-02-19 12:16:48 +01:00
Simon Fels
589b40daf1
Correctly handle type reference flag values
2017-02-17 19:46:25 +01:00
Simon Fels
cd33d9f0fa
Release rename run command to session-manager
2017-02-17 19:30:20 +01:00
Simon Fels
bdcfbd47dd
Print detailed error message when SDL initialization fails
2017-02-17 16:44:30 +01:00
Simon Fels
53b8071e6a
On systems we run against Mir we also need to build against it
2017-02-17 16:44:30 +01:00
Simon Fels
6a62f75274
Allow privileged containers for systems without user namespace support
2017-02-17 16:44:30 +01:00
Simon Fels
b090f0a74d
Merge pull request #42 from morphis/feature/mount-setup
...
Setup Android rootfs mount on container manager startup
2017-02-17 16:43:11 +01:00
Simon Fels
6ce026bad4
Setup Android rootfs mount on container manager startup
2017-02-10 23:10:03 +01:00
Simon Fels
f5ec3d13ad
Add BoolSwitchFlag class to model boolean input parameters
2017-02-10 08:03:26 +01:00