f2de2f0641d341cd5b50e076c4cab2cc08dc4732 |
|
09-Oct-2017 |
markdr <markdr@google.com> |
Prevents an SL4A crash from NotificationManagers being initialized too late. Out of order onCreate() calls made createNotification() called before the objects own onCreate() could initialize the NotificationManager. Bug: 67585830 Test: act.py -c <config> -tc BleApiScanTest Test: Ran commands through the UI Change-Id: I2f4dd4eb597141ede94fa0a5698002aead48eb4f
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|
836dd12a1e9d347e3893fdb7fdce047ea6f62903 |
|
06-Oct-2017 |
markdr <markdr@google.com> |
Removed outdated API call so icon is no longer null The notification was reusing the old notification's icon through mNotification.icon but the old notification's icon was set with setSmallIcon(). This function call sets the private mSmallIcon Icon object, and not the icon public int. This means mNotification.icon always returned 0, even though the icon was set. It has been likely doing this for years. Bug: 67412835 Test: act.py -c <config> -tc BleScapApiTest Test: opening SL4A from the icon does not crash the app. Change-Id: I581888c4f73da7c278ebe78f817cf2c9887b3b9e (cherry picked from commit 3aecf203f91eb069ddf9b21745a2b0cab894a58c)
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|
c44ed200617f71a9fe319a54f934f73ee6848652 |
|
05-Oct-2017 |
markdr <markdr@google.com> |
Added Notification Channels to SL4A Prevents crashing on O+ devices. Bug: 67412835 Bug: 62952223 Test: act.py -c <config> -tc BleScanApiTest Change-Id: I412786ddd82d8fb32b987eccd85c6fb825d2ec3a (cherry picked from commit b3f8e1d6263717fa6e058cbc50deeaddadd9c3f7)
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|
f04335f899f2cce69f843692a3cb9cec229683c2 |
|
29-Dec-2016 |
tturney <tturney@google.com> |
Update Copyright values for 2017 Also ran google-java-format to remove unused imports from affected files. Bug: 33965425 Test: Build SL4A Change-Id: Ied5d1427eaa400469212ca58544c7aec925a4379
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|
b3a2a85cfa37a83cf06e42fa6c50e4766e3afb09 |
|
19-Oct-2016 |
Nathan Harold <nharold@google.com> |
Move Service and Interpreter Initialization to Separate Thread Strict Mode requires that disk and network IO not be performed on the main activity thread. This CL moves the initialization of SL4A services off the main thread into the background. In addition, the initialization is refactored to reduce the nesting of conditionals and simplify the logic. Bug: 26538940 Test: none Change-Id: I1f40001bec0fae886a7ae3696d85b96103755ed6
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|
19e46debdc6461262495ba6f3593b653d7c81f9b |
|
13-Jul-2016 |
tturney <tturney@google.com> |
Remove authorship tags to match Android style. In keeping with other code in AOSP, and to avoid confusion, we are removing the legacy author tags from this project. Contributors who have questions or wish to upload code for review should instead look at recent git history for authorship information. Bug: 30117386 Change-Id: I05a314851da27e7e267b91733cbc8df857280950
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|
429f652a6b17ebfe3a3ae93e008367a40cd211ba |
|
17-Mar-2016 |
Nathan Harold <nharold@google.com> |
Removing the now-unusable HtmlInterpreter -Because Webview security was increased in API level 21, views can no longer be launched external to apps. Thus this capability no longer works. Leaving it in will cause SL4A to throw security exceptions. Bug: 26984426 Bug: 27706712 Change-Id: I1b4ead84eb0fcbd9a192e419f9a87562984d2188
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|
9f32db87b486c93a0ea71eb1781ee45676b8bf8b |
|
09-Feb-2016 |
Xin Li <delphij@google.com> |
Move sl4a to its own project. BUG: 26914381
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ScriptingLayerService.java
|