| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add @UnsupportedAppUsage annotations | Mathew Inwood | 2018-08-06 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | For packages: android.renderscript This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I016f6e720e79c48afe44f4690b5dd99fc81ae780 Merged-In: I1aa8ebca448547031b426a7b305c5c3d6fcf2652 | ||||
| * | Added CloseGuard for BaseObj | Yang Ni | 2016-03-31 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 27719830 To turn on warnings, apps have to add to their Activity.onCreate() method the following code. StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() .detectLeakedClosableObjects() .penaltyLog() .build()); For Slang generated ScriptC derived classes, we assume their constructors won't throw exceptions after calling the ScriptC constructor. In addition, ScriptIntrinsic derived classes do not seem to throw exceptions in their constructors either. Therefore, we can leave the guard.open() call in the Script constructor. This may be only an approximation, but allows us to add CloseGuard for script objects without making changes to slang. Change-Id: I77ed45239a60b85af5c811dee6c124fb53da9060 | ||||
| * | Move RenderScript from graphics/ to new fw/base subdirectory rs. | Tim Murray | 2013-12-17 | 1 | -0/+370 |
| Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d | |||||
