|
89ac8a44
|
2021-05-19T10:48:40
|
|
Fix Loading ANGLE.apk in Android
The recent CL to remove the Settings GUI from the Android-built APK went
a little too far removing Java code and emptying the
AndroidManifest.xml. This resulted in ANGLE being unable to be loaded
from the APK, since ANGLE was not able to respond to the intent
android.app.action.ANGLE_FOR_ANDROID which indicates it contains ANGLE
libraries.
The AndroidManifest.xml requires various flags like
android:forceQueryable="true" so the APK can be accessed by the
framework.
The assets/ directory was removed, which contains 'a4a_rules.json' and
is required by GraphicsEnvironment. This is added back.
Bug: b/187342779
Change-Id: Ic7b758c92ed12750972c7e313729276a13f76032
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2906632
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
|
|
e815afbf
|
2020-09-07T22:09:22
|
|
First pass at increasing inclusivity
Link to the inclusivity rules
https://source.android.com/setup/contribute/respectful-code
Bug: b/162834212
Bug: chromium:1097198
Change-Id: Ied5a9e3879d72bff3f77ea6fcda9b82f30c32c2f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2396737
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Trevor Black <vantablack@google.com>
|
|
2296e7af
|
2020-09-11T11:50:03
|
|
Android: Add forceQueryable="true" to AndroidManifest.xml
ANGLE needs to set the attribute forceQueryable="true" to the
AndroidManifest.xml to allow the Android framework to find the ANGLE
package.
Bug: angleproject:5035
Test: Manual verification
Change-Id: I5ac1c18a584b72d3384978592065853f0a9456de
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2406131
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
|
|
555e11e3
|
2020-06-04T13:02:31
|
|
Add android:exported to AndroidManifest.xml
Any app that targets S+ will need to have an explicit android:exported
defined if intent filters are present for an activity/service/receiver.
Apps failing this requirement will fail to install.
While ANGLE doesn't explicitly target S, to prevent hitting this in the
future we should add android:exported to its AndroidManifest.xml since
we use several receiver intent-filters.
Bug: b/158221251
Test: CQ
Change-Id: I565c6ff5aaf25380d7e6ad2418612ab10f4c185f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2231249
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
|
|
03de11ac
|
2020-03-13T13:25:24
|
|
Add ANGLE_FOR_ANDROID_TOAST_MESSAGE to AndroidManifest.xml
The AndroidManifest.xml is missing the intent
android.app.action.ANGLE_FOR_ANDROID_TOAST_MESSAGE which causes a crash
when enabling the Toast message when an app uses ANGLE.
Bug: b:142320172
Change-Id: Iac69136fbf9ff753a3bad9e393ad62b0bf0918b5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2103173
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
|
|
cf80f252
|
2020-03-12T11:33:10
|
|
Remove android:forceQueryable from the ANGLE.apk manifest
This property is not part of AOSP yet.
BUG=b:142320172
Change-Id: I73b0481872096053c6b4b709d15376d82a1a7b02
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2099421
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
|
|
27f310da
|
2020-03-11T16:07:18
|
|
Fix SearchProvider
The SearchProvider was attempting to launch ANGLE's MainActivity class
with the wrong fully qualified class name when Google's version
(com.google.android.angle) was installed on the device:
com.google.android.angle/.MainActivity
Instead, the AndroidManifest.xml and SearchProvider need to use the
fully qualified class name for com.android.angle.MainActivity since the
package name will differ between the AOSP (com.android.angle) and Google
(com.google.android.angle) versions.
Bug: b:142320172
Change-Id: Iab6883736be2a21dff64993bcaedbcc4c0cfecf8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2099443
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
|
|
14aaa1eb
|
2020-03-11T17:40:35
|
|
Refactor ANGLE target to allow GoogleANGLE to override it.
GoogleANGLE will be signed in a different part of Android so it needs to
be able to reference ANGLE's target and defaults to override certain
properties.
Update the manifests to request the needed permissions to use the
developer options.
Bug: b:142320172
Change-Id: Ia47815ab53f8de66332412efa2cc0fca3175e2cc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2096815
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
|
|
54bc3dab
|
2020-02-27T15:52:04
|
|
Add the ANGLE Android developer options to the ANGLE repository.
The ANGLE repository will house all the scripts needed to build
ANGLE.apk and the developer options are packaged in the APK.
BUG=angleproject:2344
Change-Id: I29090bd91a07546a1d2ccc03a6af19f45ffa3d90
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2079194
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
|