summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* AAPT emits error for res with no 'default' productAdam Lesinski2013-10-041-4/+65
| | | | | | | | | Rather than ignoring resources that do not match the specified product, we keep track of the ignored ones and make sure that some variant of the resource that matches the product was processed. bug:10860838 Change-Id: I804cd04a053269a35b7e1c1cc743b77493337bf9
* Merge "Fix layoutlib build" into klp-devMarco Nelissen2013-10-031-0/+6
|\
| * Fix layoutlib buildMarco Nelissen2013-10-031-0/+6
| | | | | | | | Change-Id: Ica9f506ae06311d9bcd98bc11e64a8699d4f88cb
* | Update liblayoutJohn Reck2013-10-021-2/+2
|/ | | | | | Fix build Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b
* Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-devJim Miller2013-09-281-5/+0
|\
| * Fix permissions on WindowManagerService.showAssistant()Jim Miller2013-09-271-5/+0
| | | | | | | | | | | | | | | | | | | | Since binder call permissions are not transitive by design, the proper way to fix this is to have the call talk directly to keyguard from the navigation bar. Fixes bug 9409008 Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
* | Add badging of Payment appsAdam Lesinski2013-09-271-11/+142
| | | | | | | | | | | | | | | | HCE apps that declare themselves as payment apps will receive that badge when running aapt dump badging. bug:10899864 Change-Id: I7c095214412465ad7a925285d6167e12de16b600
* | Add support for dumping new badgingAdam Lesinski2013-09-271-3/+68
|/ | | | | | | | APKs with AccessibilityServices, PrintServices, and or DeviceAdmin will have those services dumped when running 'aapt dump badging'. bug:10899864 Change-Id: I9c1f1f36c397b128dca802510368573a54977459
* am 31207780: am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ↵Deepanshu Gupta2013-09-134-129/+156
|\ | | | | | | | | | | | | ListView * commit '31207780338b97e396927701ca0da7a61d6d44b2': Fix ClassCastException when rendering ListView
| * am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListViewDeepanshu Gupta2013-09-134-129/+156
| |\ | | | | | | | | | | | | * commit '0ecfe3819269062805c4c56cdc1470c2fc3856c8': Fix ClassCastException when rendering ListView
| | * Fix ClassCastException when rendering ListViewDeepanshu Gupta2013-09-104-129/+156
| | | | | | | | | | | | | | | Bug: b.android.com/59300 Change-Id: Ia350adb3308daa8170bff755302760790163c811
* | | Merge "Preparation for deleting WebViewClassic" into klp-devJonathan Dixon2013-09-111-16/+0
|\ \ \
| * | | Preparation for deleting WebViewClassicJonathan Dixon2013-08-251-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10427705 - layoutlib has references to classes that no longer build into the host core JAR when WebViewClassic is removed. - preloaded-classes should not reference WebViewClassic classes. Change-Id: I4d6773a88ea2932982278127a3c96d38be54ddf5
* | | | Fix issue #10688644: Java crash in com.android.phone:Dianne Hackborn2013-09-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java.lang.SecurityException: Operation not allowed There was a situation I wasn't taking into account -- components declared by the system has a special ability to run in the processes of other uids. This means that if that code loaded into another process tries to do anything needing an app op verification, it will fail, because it will say it is calling as the system package name but it is not actually coming from the system uid. To fix this, we add a new Context.getOpPackageName() to go along-side getBasePackageName(). This is a special call for use by all app ops verification, which will be initialized with either the base package name, the actual package name, or now the default package name of the process if we are creating a context for system code being loaded into a non-system process. I had to update all of the code doing app ops checks to switch to this method to get the calling package name. Also improve the security exception throw to have a more descriptive error message. Change-Id: Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25
* | | | Merge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" into klp-devDeepanshu Gupta2013-09-092-14/+88
|\ \ \ \
| * | | | Add isPremultiplied option to Bitmap_Delegate in LayoutLibDeepanshu Gupta2013-09-042-14/+88
| | | | | | | | | | | | | | | | | | | | Change-Id: Id06921d8db2fe898fdc60ef9d05d05f8dfe3f94a
* | | | | Fix build.Dianne Hackborn2013-09-081-0/+10
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifeac5d09a654ee1183ae26519c8b44f560afd636
* | | | | Added support for supports-input manifest elementMichael Wright2013-09-051-50/+87
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifa7c87908081585c1940b5a47fdf5138a287d9ea
* | | | | am b50de495: am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into ↵Deepanshu Gupta2013-09-055-193/+300
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit 'b50de4951aaea6d6f01432dc17b7c5de778a2e71': Fix text rendering
| * | | | am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-devDeepanshu Gupta2013-09-055-193/+300
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | * commit 'dd4efc22c736973ecfa1b7b4af9e71f971dd48b3': Fix text rendering
| | * | | Fix text renderingDeepanshu Gupta2013-09-055-193/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are still some errors 1. Little vertical clippping for extra tall glyphs. 2. Breaking into scripts isn't perfect which results in incorrect layout of text. Change-Id: I54de3c05eca5e8affb1135c120eea24c3afe8a47
* | | | | am 97c88368: am c78d173b: am 68411471: Merge "Fix layout rendering for RTL ↵Deepanshu Gupta2013-09-0515-19/+81
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | locales" into jb-mr2-dev * commit '97c88368e0036665507c8cd84c71d26953784c85': Fix layout rendering for RTL locales
| * | | | am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into ↵Deepanshu Gupta2013-09-0515-19/+81
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit 'c78d173b730dcfdf107e6ac2bc959d459fe3eedd': Fix layout rendering for RTL locales
| | * | | Fix layout rendering for RTL localesDeepanshu Gupta2013-09-0415-19/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds the framework resources for RTL locales and mirrors the layout if the application is RTL aware. Use ICU to check the character orientation of the locale - right to left or left to right. Set the layout direction on the top level layout accordingly. Also, load the RTL resources for Nav Bar when the locale is RTL. Change-Id: I1ed0d516ab64120a0abca413ba678036661508f8
* | | | | Transition API changes from API council recommendationsChet Haase2013-09-041-26/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Issue #10460684 KLP API Review: android.view.transition and android.animation Issue #10570740 Transitions: inflate transition targets from xml Change-Id: I7a3f6d3aece2fcafc5efd555d033f79e86635c98
* | | | Merge "Better aidl generated dependency" into klp-devYing Wang2013-08-261-0/+10
|\ \ \ \ | |_|_|/ |/| | |
| * | | Better aidl generated dependencyYing Wang2013-08-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if an imported aidl file has been deleted or moved, the generated dependency file still contains the stale file name, and make will fail with "No rule to make target <the deleted/moved file>". This change uses technique described in section "Automatic Dependency Generation", Chapter 8 of "Managing Projects with GNU Make (3d Edition)". The same technique is used by the Android platform build system to generate C/C++ header dependencies. Bug: 10459179 Change-Id: Ib0c01a4234ef1af994487fdc846cdf8d13a675f6
* | | | Merge "Add CancellationSignal support to file operations." into klp-devJeff Sharkey2013-08-231-3/+5
|\ \ \ \ | |/ / / |/| | |
| * | | Add CancellationSignal support to file operations.Jeff Sharkey2013-08-231-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since ContentProvider file operations can end up doing substantial network I/O before returning the file, allow clients to cancel their file requests with CancellationSignal. Ideally this would only be needed for openFile(), but ContentResolver heavily relies on openAssetFile() and openTypedAssetFile() for common cases. Also improve documentation to mention reliable ParcelFileDescriptors and encourage developers to move away from "rw" combination modes, since they restrict provider flexibility. Mention more about places where pipes or socket pairs could be returned. Improve DocumentsContract documentation. Bug: 10329944 Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c
* | | | DO NOT MERGE. Fix test breakagesatok2013-08-231-0/+6
| | | | | | | | | | | | | | | | Change-Id: I0b2b7ce4b9f50910b4795cb480aa86a662b16f7d
* | | | Add inPremutiplied option to BitmapFactory.Options, functionality in BitmapChris Craik2013-08-201-2/+4
|/ / / | | | | | | | | | | | | | | | bug:2248948 Change-Id: I8fdd649332667598504a1076d5a447572bd53086
* | | Merge "Bring along BridgeContext for the ride." into klp-devJeff Sharkey2013-08-121-0/+18
|\ \ \
| * | | Bring along BridgeContext for the ride.Jeff Sharkey2013-08-111-0/+18
| | | | | | | | | | | | | | | | Change-Id: Ic11c0df447c82be3922d529f18a290cfdfec6b05
* | | | Refactor Canvas.drawPicture() to delegate to PictureJonathan Dixon2013-08-081-8/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 9814370 To allow WebView.capturePicture() to return a subclass, we need to ensure the subclass is always consulted when being drawn into a canvas. Change-Id: Ia0357f95b6fafb3ac81e6bcfaef05739e619897a
* | | Reduce the transaction fee of getEnabledInputMethodSubtypeListSatoshi Kataoka2013-08-081-1/+1
| | | | | | | | | | | | | | | Bug: 8467480 Change-Id: If18cce8fbe567df51f29adcdcedff3f743460b8b
* | | am 9516ed45: am cfc23ac6: Merge "Add support for MNC=00"Wink Saville2013-07-301-0/+3
|\ \ \ | |/ / | | | | | | | | | * commit '9516ed4598948eea5623c57e443bce08c1f48ab6': Add support for MNC=00
| * | am cfc23ac6: Merge "Add support for MNC=00"Wink Saville2013-07-301-0/+3
| |\ \ | | | | | | | | | | | | | | | | * commit 'cfc23ac688be9de1ecd2e659455ea1ebcceb63dc': Add support for MNC=00
| | * | Add support for MNC=00Mattias Petersson2013-07-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for operators with MNC (Mobile Network Code) zero to add customized resources. For example, it makes it possible to add a folder called "/res/values-mnc00/" in an application. This will cause resources in that folder to be used when MNC is zero. (There is a total of 14 countries that have an operator with MNC zero.) Without this fix, the resource framework gets confused, because MNC 0 is normally used when the MNC is undefined (not set). Bug: 7170488 Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
* | | | Exclude magic inner-class name from preloadKenny Root2013-07-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a magic subclass name that will exclude inner classes that are meant to prevent object instatiation but allow class preloading. This will allow classes that have undesired side-effects to delay initialization until the side-effects are no longer disruptive. Bug: 9984058 Change-Id: I46b0784760d84a2a2da1f9f41d87ee7f70a3fc16
* | | | Merge "Fix home activity and user switch interactions."Craig Mautner2013-07-191-1/+1
|\ \ \ \
| * | | | Fix home activity and user switch interactions.Craig Mautner2013-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make sure Home activity goes in the correct task and on the correct stack. - Do not allow different users to be in the same task. - Do not set stacks aside for each user. Fixes bug 9775492. Change-Id: I0e7954e917aac8482a1015a36923e02914e2b692
* | | | | am 388f85eb: am a2f41b23: am bf8be2ee: Merge "Add orientation to ↵Deepanshu Gupta2013-07-191-0/+18
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | configuration for layoutlib." into jb-mr2-dev * commit '388f85eb451bd0b61c8f48b500de5db6bca941f1': Add orientation to configuration for layoutlib.
| * | | | am a2f41b23: am bf8be2ee: Merge "Add orientation to configuration for ↵Deepanshu Gupta2013-07-191-0/+18
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/| | | | | | | | | layoutlib." into jb-mr2-dev * commit 'a2f41b23b6328b0ff3bb04d4a88ccf4a84a50375': Add orientation to configuration for layoutlib.
| | * | Add orientation to configuration for layoutlib.Deepanshu Gupta2013-07-121-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Update the configuration with the device orientation before rendering. Change-Id: Icd40901204fd13f90b18353e53a15e25e5b2176c
* | | | Fix build.Jeff Brown2013-07-181-2/+2
| |_|/ |/| | | | | | | | Change-Id: Ie83f51ab4b8fddceda8d4f0ac24c532eab7458b8
* | | Move input library code to frameworks/native.Jeff Brown2013-07-013-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | No longer compile libandroidfw as a static library on the device since it already exists as a shared library. Keeping the static library would force us to provide a static library version of libinput for the device as well which doesn't make sense. Change-Id: I3517881b87b47dcc209d80dbd0ac6b5cf29a766f
* | | Switch to shared libpng/libz dependency.Stephen Hines2013-06-261-3/+5
| | | | | | | | | | | | | | | Bug: 9593270 Change-Id: I1eec2590cca046d6e030c73d31a6b400019e1ebd
* | | Fix build.Craig Mautner2013-06-241-2/+2
| | | | | | | | | | | | Change-Id: Icdfc6bcbe8603cf9bd3f8982a595336c0407e7d6
* | | Remove concept of system bar from window manager.John Spurlock2013-06-142-10/+2
| | | | | | | | | | | | | | | | | | It was already hardcoded to false, this change removes the dead code. Change-Id: I5e543344e60f69cb9882a70ba29f7c09404ad9fc
* | | Fix a bug resolving the correct icon/logo in action barsAdam Powell2013-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove some abstraction-breaking magic in ActionBarView and replace it with proper resolution of the icon/logo when creating a window. The old implementation relied on the ActionBarView's context being an Activity. Bug 9171554 Change-Id: Idbbb1942622195dcb55e8119f2d64287b07bb509