summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
Commit message (Collapse)AuthorAgeFilesLines
* Clean host static libaaptChirayu Desai2015-10-271-0/+1
| | | | Change-Id: I4b00f171577b85ad02e7e7e398425a46bdfc5466
* Themes: Port to CM13 [1/3]Andy Mast2015-10-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Themes: Aapt port Id: I106d447daf7935bada65e78911d8973ce0ca27ae Themes: Port our additions to idmap Id: I2e47cc23de4e7c0b884cccbd87c7d77079ac6824 Themes: remove legacy theme support from idmap Id: I17dfe35f9985d8cef790b26a8bcda738ea65917c Themes: Forward port changes to Installer.java Id: If64e856773e50f5ed74f2358e0c590abad724689 Themes: Add clean spec for aapt Id: I68f5f63f7e83b99230860dd2d8646e96da484b62 androidfw: Port CM overlay contributions Id: Id7b7f5f35011922c668fcea3a8aec5b42bd28653 androidfw: Port addOverlayPath and removeOverlayPath Id: I279db083af28fd8941f3227f2a7512ff094742c1 androidfw: Port addCommonOverlayPath Id: I12d2fe05a04f6a7e553c330505a475346374b507 androidfw: Port addIconPath Id: Ide3db28cde0c7f93edd9e7ad626ebace8d4105cc androidfw: Allow package ID to be overriden at runtime Id: Ieca3a0ae070a6c0ad0cf2b73b5944d83397d08b9 Aapt: Zip Parsing Test Cases w/ Refactoring Id: I28f9115700e186136432138d228111ebcfbd0480 Themes: Update tests for idmap Id: I3dae5bd376d122eab397863378599ae0ac7c6734 androidfw: Add test case for overriding package id Id: I2668c529e24a55cd6bc8437406fc284b853a75e7 androidfw: Add tests for bags The overlayOverridesStyleAttribute will currently fail since our changes to allow theming styles is not currently implemented. Id: Idfacc4382baf4152c839799a22b6cbe015ef2197 androidfw: Don't consider package ids 0x60 and 0x61 as dynamic Package IDs that are not 0x01 (system) or 0x7f (app) are treated as dynamic references. Overlays are assigned specific package ids that fall within the region of shared libraries. This patch treats them the same as system and app resource packages. Id: Ieecaa889bed50490796351302405a38f77c84f4e Theme Parsing & Info Id: I3583d7e8ca704402e3d8c6e1c7cea1645b91c06f Port ThemeUtils and its dependencies This is pretty much copy/paste from cm-11.0 Id: I406860a259136ccca107b981aca0369851df445e Themes: AndroidManifest and Intent port Id: Ib97e8539301d20d120fd8b49891fdaae8205fe42 ComposedIconInfo Port (w/ stubbed IconPackHelper) IconPackHelper is stubbed out so that PMService can reference it, we'll need to port the Resource stack before porting the implementation. Id: I59b680511de525e1d375a4f3be04347686b5e81b Port PackageManagerService and other dependencies Id: I11629d1e5eee21e01c060bc6c0393aae96034b69 Themes: Add in ThemeService See also: external/selinux. The policy must be added in order for the service to start without a security exception. Change-Id: Ic6f64796b264e430e9706a17a3fd2a35085fd1ca TODO: ThemeService / Keyguard interaction TODO: SystemServer - AppsLaunchFailure Add AppsLaunchFailure Id: I09a3826f89c62cb898866408e807f269616f48fc androidfw: Update bags tests The overlayOverridesStyleAttribute was updated such that it does not check the attribute of the theme before adding the overlay. The bag is cached on the first call and the next call, after the overlay is attached, returns that pre-computed bag so the test would always fail. We now simply check that the attribute matches the one in the overlay, and if so then the test passes. This patch also adds a new test to check that an overlay can reference and access resources that are unique to the overlay. Currently this test fails. Id: I3892df3f0d9443a73eaa11b3d5e97cfe86620a73 androidfw: Add test for referencing overlay styles as parents Id: I4fa3bd447c888e96176955924ebe7ee5c784ab55 androidfw: Allow referencing and retrieving overlay resources This patch allows a theme to reference it's own resources. Overlays get their own group which contains those resources that are not idmapped. Idmapped resources end up in the target's group. Id: Ibc119ddcdb35d44a8afec3c6152bcab2909cda18 androidfw: Fill in missing attributes from overlay style Id: I74051b379b73c728c6a2aa4bc62f3cd268a40b53 Protect windowNoTitle and windowActionBar attributes This patch creates a new method to define "protected" attributes. These are attributes like windowActionBar which should not be modified by a theme. Some apps (eg gmail) use the appcompat library which has its own Actionbar classes. When an app uses its own Actionbar it must not include the default actionbar which is achieved through the windowActionBar attribute. Some themes may try to change these attributes, which can will cause the app to crash. Id: Ie3bb7285eed09f3f13facf9d142ea9eb83796eec Themes: Use SYSTEM_DEFAULT in ThemeService Id: I52794dd98ca2f64aa50046ecdd7f79f27c21dd98 androidfw: Test missing parent attributes are merged in This test checks that an overlaid style contains any attributes that were in the original style but omitted in the overlaid style. Id: I6b496ef2eb0a7ef27b4fafdfda5bdf7ccffad989 androidfw: Add test case for protected attributes For this test to pass a protected attribute, such as windowNoTitle, must be equal to the original and not the value specified in the overlay. Id: Ic03f11214a1fc4139e3c48d7e72694a80f819023 Themes: Attach theme and icon resources from java Id: I9ffa0ce96a4af603b78b32d6b190f9698d3e4b4f Themes: Icons, icons, icons! Let there be icons. Legacy icons and composed icons are included in this patch. Id: I9fedafa270f1c4dc30c9c8ffd4cf619895e688e6 Themes: Retrieve explicitly themed context and resources Id: I4e41c251aee47361b183b60089bf5666540f653e Themes: Add themeChange config change to manifest Id: Ia84c0089a79637906e4f75fa38a56e8ff3b21a2b Themes: Register THEME_SERVICE in ContextImpl Id: I608a0b65c7e2ff0d69bae7bf343916f2b985f4a0 Themes: Remove legacy theme support Id: I25887843d31f705425aa40f9a23482fd2cafaef8 androidfw: correctly index paths in idmap Since we added the mtime values for the target and overlay, the indices are increased by two. Id: Ie0f5474d425945d58a12021cd2739240d2e98c0a androidfw: Fix opening assets from theme resources Id: Iedb51163a62b046cdf7fda1ad1b55cc1ee409047 Themes: Consider overlaid resource as "best fit" Id: Ife8342a49eb9502be52f085f88161b113332e9e6 Themes: Save and restore theme config Id: I3fcd445fb458aa6ed09397c05df6eb66d9be7235 Themes: Let ThemeService process additional themes Id: I45837f26948367d5cc6c520e8c53f9da60bd1fda AAPT: Don't applyVersionForCompatibility on android When compiling themes with aapt, we do not want aapt to call applyVersionForCompatibility as this causes the entries in the resource table to have an incorrect path. Id: Ie2c69533b3659c7b7458d6e4b7bdc84946d1be8e androidfw: Don't consider package id 0x5f as dynamic Package id 0x5f is reserved for common overlay resources and needs to be reserved so that it is not considered a dynamic. Id: Id27b8e0e2231ee8541365274d512e347afcfd05b AAPT: Include resources.arsc in apk Common resources needs the resources.arsc in the resources.apk so that it can be included when processing other overlays. Without it, common resources cannot be referenced. Id: I4aee29f660e4a0aa1909240dc0ca5680f0a2d135 Themes: Add keyguard wallpaper support to theme service Id: Ib8f8acd55ab4d2b6ef06ee0a630dc50c4f870beb Themes: Don't pre-process non .9.png images When creating a resources.apk we do not need to pre-process the normal .png images as those can be referenced directly from the theme's apk. Id: Iaf846a03ead9ecb1e68c040eac6e0ecbfc6e5875 Themes: Adjust offsets for idmap hashes Idmap now has a header so the indices to the hashes need to be incremented by one. Id: If1fb183cc116ef9e3ad6cb4e17b6e44763e9e72a Themes: Use single ThemeInfo instead of an array We only ever used the first index so there is no need to use an array of ThemeInfo(s) Id: I9e2af076bc17396a0c978be3c0d31c41277db3df New converter for Kitkat -> L fonts.xml L introduced a new fonts xml format. Its great, but our themes will keep using hte old format. This provides a converter and test cases. The parser was taken from the chooser and remains mostly unchanged with the exception of a getName() helper method. Id: Ia1d42c9e50eb7b52d2d98fe6dbeee530bef3adc2 Themes: Port theme bootanimation support to CM12 Id: Ie016884b0e3b77e08732308923ac44e0975e0116 Resources: Clear drawable cache Id: I04b5b78cce703194a2baeff9c51d2e4733b8ccc9 Font switching Id: Ia43060a7db624102cdcd9b0d9dc7148441401584 Zygote changes Id: Ie3681cf0d2b9929661cf1214e899cef9a5f37471 Recreate String Blocks Id: I4747ebd1a0908b76ae7214b0584948353d426fc5 add a getter for the x and y offsets of the wallpaper window Id: I35294bcac664e85cc5d344b50b5c4335a60d3f37 Themes: Don't spam logcat with CREATING STRING CACHE When processing resources with AAPT on the device, it spams the logcat with warning messages about CREATING STRING CACHE. Change ALOGW to ALOGV so it will only show when verbose logging is enabled. Id: I5b591c3336e176dd71cebe672d60721c29651b00 SystemUI: Audio Volume Panel Id: I78c471864af401b274597339b8451e65931fdb32 AmService uiContext port Id: Ida251d7f80797b0ec78b3d20cf60a795d6c4c1f0 Cleanly detach theme assets Types from an overlay are added to the target group's TypeList and need to be removed when the overlay assets are detached. Failing to remove these types results in resources not being retieved due to the erroneous types. Id: I4a9c624e30309e61fce905ced45c55acd3ac4845 Themes: GlobalAction Port Id: Ifd87e04f94a284e77f1c48bec9fd75d69c45c47e Themes: Do not store forward locked themes in ASEC containers If a theme is in a asec container and is applied, when the device is rebooted the device will get stuck in a nasty boot loop since the theme resources must be read and the asec container is not ready yet. Id: I1d93d8175d5c40b34c222974960c43352012a5ad Use systemui's applied theme for notifications. Notifications contain RemoteViews which are inflated using the application's context for which this notification belongs to. This can look out of place if SystemUI is using a different theme than the rest of the system. This patch will use SystemUIs theme when inflating the RemoteViews, giving us a more consistent look in the notification drawer. Id: I9514ce7fcc4858bad3d3c4190f55c1f5a1441d7c SysUI: Add theme support This ports over the changes needed to facilitate a theme change in SystemUI. Id: I673fb79db90994371a9c0627746a97414132f0ba Themes: Allow composing of VectorDrawable Base icons can be vector drawables. This patch allows them to be composed. Currently, VectorDrawables cannot have filters applied since they do not have a method to get the Paint object like BitmapDrawable and PaintDrawable. Id: I762c8e1f4d1c945b8ebc164bbd7944120324bd42 Themes: Add target api to ThemesContract This will allow the ThemesProvider to track the api a theme was built for. We may want to let the user know when a theme may not be designed for the version of CM installed on their device. Id: Idf0e6cef0ce9ac5e221ce5ff7e0b155ae0258d5f Access Themed ResTables from compiled theme apk [1/2] Before this patch the ResTable for a theme/app was created and accessed seperate from the compiled APK. Since the compiled APK has its own copy of the resources.arsc, we can just reuse the table in the APK instead. Id: I106a2434e74784bc04014831098f49fe128bc7e2 Themes: Port AppsLaunchFailureReceiver to CM12 Id: I5c3265e64aef1536ba5fceed0ec89082e786b686 Themes: Bump idmap hash version to 3 Due to changes in idmap, we need to force the recreation of resource cache when upgrading from CM11 to CM12. Id: I25c1e2c598bca889818e2d685651e3214c30ab3c Remove debug logs Id: Ia5cfa83ddf6da195e20526a94ba154864b8d0ecb Send target sdk version to aapt [1/2] If vector drawables are used in a theme we must have a minSdkVersion of 21 passed to aapt or else aapt will Segfault. Id: I687ee146f9f80543bbcdd06d93891cb3b23001c4 Add missing imports to ActivityThread Id: I09fe07807ed824ccb938e0e174b06653c613c403 Themes: Dynamically add/remove content from StatusBarWindow StatusBarWindowView has logic for resizing and fading content which doesn't always behave correctly if this view is not the root. Rather than create a container, this patch uses the existing StatusBarWindowView as the container and the inflated status bar is then added to this view. Id: Ia93d25a589419145f95d75b1b56eb3c2f300f935 Themes: don't use preloaded drawables when themed If we have themed assets we should try and load those rather than pulling from the preloaded drawables. This allows us to continue and preload drawables in ZygoteInit while maintaining the ability to theme those preloaded assets. Id: I68cfc099d328ece0791b6d0e5cf11d07097fd1fd CM11 -> CM12 Upgrade [1/3] - Introduce a new secure setting "THEME_PREV_BOOT_API_LEVEL". This field will always be set to the previous api level for themes. So if we upgrade from CM11 to CM12 this value will differ from the current API causing an upgrade to trigger - When moving from CM11 -> CM12, unapply incompatible overlays - Rename "holo" to "system" in secure settings themeConfig - Provide a testing downgrade script to put the secure settings db into a state similiar to CM11 (at least for themes) Id: I71be2c0ad83e60ffe8c574f913e5eaecb9700045 Themes: Add constant for system target API Id: I0a6caf65c9e8b0feeef1ae848ba4683235304e8c Change-Id: Ide6d4e1daf535a54efb1ec7cf39ef8b2fb8cf272
* Remove device initializer status messagesCraig Lafayette2015-06-021-0/+1
| | | | | | | | | | | | | - Remove ManagedProvision Bluetooth extras from DevicePolicyManager - Remove ManagedProvisioning device initializer status action and extras from DevicePolicyManager. - Remove DIA status update protected-broadcast and permission - Remove DPM.sendDeviceInitializerStatus method Bug: 21559093 Change-Id: Ibb651ebb2772ace6a16a5830f82f75465150e6e3
* Revert "Initial draft of new MediaRouter APIs."Jeff Brown2015-05-061-0/+1
| | | | | | | This reverts commit 1a937b04e63539cb1fab1bde601031d415c7156f. Bug: 20641986 Change-Id: I035d945d1561e5fc7c914aa9362635f763c83cfd
* Clean-up stale inputflinger binaries and associated libs.Michael Wright2015-02-241-0/+5
| | | | Change-Id: I7ea2591e701140430ab2060ae0ce51af114c3acf
* Split up android.policy into framework.jar and services.jar 1/3Jorim Jaggi2015-02-101-0/+1
| | | | Change-Id: Ifd69f1f3dd308a7e17a1442e2f3950da8b03cec4
* Remove dead code #7: Remove unused SysUI resourcesJorim Jaggi2015-01-071-0/+2
| | | | Change-Id: I6e338dee76063d7d200967bef0ed1122c2769d42
* Obliterate LockPatternUtilsCacheAdrian Roos2014-11-121-0/+1
| | | | | | | | It is disabled dead code already and not useful anymore with the new caching in LockSettingsService. Bug: 18163444 Change-Id: Icc184e923e0fbeab31ed128336c01f835b24c6f2
* Renaming Telecomm to Telecom.Tyler Gunn2014-09-121-1/+2
| | | | | | | | | | - Changing package from android.telecomm to android.telecom - Changing package from com.android.telecomm to com.android.server.telecomm. - Renaming TelecommManager to TelecomManager. Bug: 17364651 Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
* Clean up RsFountainFbo_intermediates.Stephen Hines2014-08-211-0/+1
| | | | Change-Id: I5c041bac357466d918d3dd209f36b505fd000852
* Add cleanspec for inputflinger removalMichael Wright2014-08-201-0/+1
| | | | Change-Id: I4fe5ca7f8024d3a8d68eea6070d8c508501da280
* Remove system_server classes from the boot image.Narayan Kamath2014-08-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | We set the system_server classpath in the environment (like we do with BOOTCLASSPATH). After the zygote forks the system_server, we dexopt the classpath (if needed) and then launch the system server with the correct PathClassLoader. This needed several small / medium refactorings : - The logic for connecting to installd is now in a separate class and belongs in the system_server. - SystemService / SystemServiceManager have now moved to classes.jar. They are only used from there, and since they use Class.forName, we want them to be loaded by the system_server classloader, and not the bootclassloader. - BootReceiver now moves to frameworks.jar, because it is used by ActivityThread and friends. bug: 16555230 Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
* CleanSpec!Jeff Sharkey2014-08-061-0/+4
| | | | Change-Id: I0f2375c281ed24615604abf41aad6e976a5d5427
* Add getPackageName to MediaControllerRoboErik2014-07-251-0/+1
| | | | | | | | | This removes the MediaSessionInfo class and adds a method on the controller to get the package name. This also converts code that depended on the session's UUID to use the token for comparison or the Tag in the case of test code that needs a string identifier. Change-Id: Icb8dc76c70e23e897da8fd07651c524b96372bf9
* Add clean step to remove old framework intermediatesRoboErik2014-07-251-0/+1
| | | | | | | | The framework intermediates path moved. Failing to notice this will cause your classpath to be wrong and you'll get red on new aidl methods. This removes the old path which makes it more obvious that it's moved. Change-Id: If1a36fefc703b7899e09687e2de598c3830fa72e
* Build framework.jar with multidex support.Ying Wang2014-07-211-0/+2
| | | | | | | We don't need the framework/framework2 split now with the multidex support. Change-Id: I30ee5c7e24df87b2c54e854f17fbf0b5adef4c60
* Move ICallService.aidl to IConnectionService.aidlSailesh Nepal2014-07-081-0/+1
| | | | Change-Id: I5a082e50dafea0104174cb97d3ae8af168944fc3
* CleanSpec to fix build.Jeff Sharkey2014-07-021-0/+3
| | | | Change-Id: I3995214498d22fa1bdb82eb44cda2e5ca6ba02a4
* Use cached thumbnails in Recent tasks.Craig Mautner2014-07-021-0/+1
| | | | | | | | | | | | | | | | The thumbnail returned from ActivityManager.getTaskThumbnail() now contains either a Bitmap or a ParcelFileDescriptor that points to a file containing a compressed Bitmap. The Recent tasks list is now responsible for all thumbnail Bitmap caching as the activity manager keeps only the most recent 5. This also permits low memory devices to have many more tasks in the Recent tasks list. As part of this CL the concept of subtasks is removed eliminating code supporting the TaskAccessInfo and IThumbnailRetriever classes. Fixes bug 15828934. Change-Id: I0fd0320a1a04e3c78d79357899b83a2fff97abf2
* Fix lpdk build.Wink Saville2014-06-261-0/+2
| | | | | | | | | | Move aidl files from frameworks/opt/net/ims to frameworks/base so lpdk compiles. The reason is lpdk doesn't have frameworks/base sources so references to Pending and Bundle in aidl files breaks the pdk build. I had to move all of them and the ims/*java files for dependency reasons. Change-Id: I92452562591b157cecdfc01bcd892c4f35f5965c
* Mobile_radio in battery history is not accurateWink Saville2014-06-221-0/+1
| | | | | | | | Invoke TelephonyManager#listen to connect mPhoneStateListener to receive the notifications. Bug: 15568103 Change-Id: I5a3fa6347704e96ceb34289f74ba6e3157bbb333
* Switch everything to scheduled jobsChristopher Tate2014-06-171-7/+12
| | | | | | | | | | | | Everything that used the IdleMaintenance APIs/broadcasts gets to use the spiffy new JobScheduler instead. Hooray! On top of that, the now-obsolete "idle maintenance" APIs are now gone entirely. Double hooray! Bug 14993295 Change-Id: I5fb67c296ca8cd0ba8a2c8760a0f0d9d962d813b
* Merge kwd to masterWink Saville2014-06-131-0/+1
| | | | | | Add initial IMS and MSIM support from klp-wireless-dev-mirror Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
* Out with the old; in with the newChristopher Tate2014-06-101-0/+3
| | | | | | | | Switch to the official "JobScheduler" etc naming. Bug 14997851 Change-Id: I73a61aaa9af0740c114d08188bd97c52f3ac86b7
* Put TV Input Framework under android.media.tv, including TvContractJae Seo2014-06-021-0/+1
| | | | | Bug: 15345342 Change-Id: I665ca23f0f074ce29cb2e047109b209178532107
* DO NOT MERGE Cherry-pick: Fix build: CheckBuild line for removed wearable ↵Griff Hazen2014-05-251-0/+1
| | | | | | package Change-Id: I26e39dc11add182e07bcc13456a166c86c911210
* Make GET_TASKS signature|system.Dianne Hackborn2014-05-021-0/+1
| | | | | | | | | | | Normal apps can't hold it now. If they try to use getRecentTasks() or getRunningTasks() without the permission, they will only see their own tasks and home in the list. Also took this opportunity to eradicate all of the old pending thumbnail stuff. Change-Id: I6dc52a06221c78097162e4a8b482027b798bf3ee
* Add cleanspec for media Session apis.RoboErik2014-04-181-0/+1
| | | | Change-Id: I58b0acda2a91b3afe6febc3bc00e26fbe27dd431
* Initial round of Television Input FrameworkJae Seo2014-04-081-0/+1
| | | | | | | This provides APIs to control and create individual television inputs on the system which will later be hosted by television applications. Change-Id: I6866d28e78175a1bff2c32a85c5d77e94d0cd60c
* Added accessibility APIs for introspecting interactive windows.Svetoslav2014-03-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The old introspection model was allowing querying only the active window which is the one the user is touching or the focused one if no window is touched. This was limiting as auto completion drop downs were not inspectable, there was not way to know when the IME toggles, non-focusable windows were not inspectable if the user taps them as until a screen-reader starts introspecting the users finger is up, accessibility focus was limited to only one window and the user couldn't use gestures to visit the whole UI, and other things I can't remember right now. The new APIs allow getting all interactive windows, i.e. ones that a sighted user can interact with. This prevents an accessibility service from interacting with content a sighter user cannot. The list of windows can be obtained from an accessibility service or the host window from an accessibility node info. Introspecting windows obey the same rules for introspecting node, i.e. the service has to declare this capability in its manifest. When some windows change accessibility services receive a new type of event. Initially the types of windows is very limited. We provide the bounds in screen, layer, and some other properties which are enough for a client to determined the spacial and hierarchical relationship of the windows. 2. Update the documentation in AccessibilityService for newer event types. 3. LongArray was not removing elements properly. 4. Composite accessibility node ids were not properly constructed as they are composed of two ints, each taking 32 bits. However, the values for undefined were -1 so composing a 64 long from -1, -1 prevents from getting back these values when unpacking. 5. Some apps were generating inconsistent AccessibilityNodeInfo tree. Added a check that enforces such trees to be well formed on dev builds. 6. Removed an necessary code for piping the touch exploration state to the policy as it should just use the AccessibilityManager from context. 7. When view's visibility changed it was not firing an event to notify clients it disappeared/appeared. Also ViewGroup was sending accessibility events for changes if the view is included for accessibility but this is wrong as there may be a service that want all nodes, hence events from them. The accessibility manager service takes care of delivering events from not important for accessibility nodes only to services that want such. 8. Several places were asking for prefetching of sibling but not predecessor nodes which resulted in prefetching of unconnected subtrees. 9. The local AccessibilityManager implementation was relying on the backing service being ready when it is created but it can be fetched from a context before that. If that happens the local manager was in a broken state forever. Now it is more robust and starts working properly once the backing service is up. Several places were lacking locking. bug:13331285 Change-Id: Ie51166d4875d5f3def8d29d77973da4b9251f5c8
* Move Session apis to android.media.sessionRoboErik2014-02-251-0/+1
| | | | | | | This is to make it easier to distinguish the new apis from the old ones. Change-Id: Ic5eaf65e8bd054a844f87b9118c4bb18f30ac8a7
* am 9158825f: Move some system services to separate directoriesAmith Yamasani2013-12-191-1/+1
|\ | | | | | | | | * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
| * Move some system services to separate directoriesAmith Yamasani2013-12-191-1/+1
| | | | | | | | | | | | | | | | Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
* | am 5c880d0d: am 6f688e87: am 8f34715b: Merge "Refactor how the print dialog ↵Svetoslav2013-10-111-0/+2
|\ \ | |/ | | | | | | | | | | activity is started." into klp-dev * commit '5c880d0d1551603dcc4366406ec9ee3b812a8fc4': Refactor how the print dialog activity is started.
| * Refactor how the print dialog activity is started.Svetoslav2013-10-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Before the print job activity was started asyncronously with respect to the print call on to the print manager. This was creating a situation where the starting activity may finish before the print dialog appears which may lead to an orphaned print document adapter with no data to print (as the UI is is gone), or strange behaviors where the print dialog starts on as a separate task. To address this the pending intent for starting the print dialog is not started by the print spooler since we cannot call into it synchronously as we have to start its process and bind to the spooler service which leads to jankyness in the client app. Now the pending intent is created by the print manager service in the synchronous print call so from an app's perspective calling print starts the activity. The side effect of this design is that the print dialog activity may start before the system is bound to the spooler service. In such a case the print activity cannot start poking the print spooler state as the system registers callback to observe the spooler state. To address this the print spooler activity disables the UI and also binds to the spooler service which happenes immediately after it is started. As soon as the print dialog binds to the service it starts the UI. 2. Fixed an bug in the printer adapter of the print dialog that was leading to a crash if the only item in the adater is the all pritners option and it is selected. 3. Piping the package name that started the printing so we can pass it to the storage UI as a hint to open the last location the app used. bug:11127269 Change-Id: Ia93820bdae0b0e7600a0930b1f10d9708bd86b68
* | am 66c8aa74: am c9a4349a: am 8a9b694d: Merge "Revert "Headphones volume ↵Eric Laurent2013-10-101-0/+1
|\ \ | |/ | | | | | | | | | | warning disabled by default"" into klp-dev * commit '66c8aa7413f6bbd4ecd14048ea03267cd5d96fba': Revert "Headphones volume warning disabled by default"
| * Revert "Headphones volume warning disabled by default"Eric Laurent2013-10-101-0/+1
| | | | | | | | | | | | | | This reverts commit 7cf06209dcdbadd41fabd7e4e7229832aa8ffff2. Bug: 10297243. Change-Id: I95b9b34bb38550af493f9a585b6940c4e18e39cc
* | am 0cc92983: am 4e6f752f: Put soundpooled sounds in the right place.Daniel Sandler2013-09-201-0/+1
|\ \ | |/ | | | | | | * commit '0cc9298320fa6f018f0a2b7292057be46964c15c': Put soundpooled sounds in the right place.
| * Put soundpooled sounds in the right place.Daniel Sandler2013-09-201-0/+1
| | | | | | | | | | Bug: 10846839 Change-Id: I5318c2d54ea0e25fa74bbafc35fb4f7a2883b351
* | am 5bb7cefa: am 1816375f: Merge "New sounds for K." into klp-devDaniel Sandler2013-09-191-0/+1
|\ \ | |/ | | | | | | * commit '5bb7cefa6f4e068057065c9090a4bb09972487f0': New sounds for K.
| * New sounds for K.Daniel Sandler2013-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | AudioPackage12 uses the new sounds (specifically the default versions at 44.1kHz); device-specific makefiles can elect to use the 48k versions instead by including AudioPackage12_48.mk. Bug: 9454760 Change-Id: If714fc4b98f6700163f08c92a6376f28f9616382
* | am edc538a7: am 0f3e1487: Merge "Remove obsolete assets from target ↵Glenn Kasten2013-09-131-0/+1
|\ \ | |/ | | | | | | | | | | /system/media/video/" into klp-dev * commit 'edc538a7936925edb9767148dee39f3e78b9ef08': Remove obsolete assets from target /system/media/video/
| * Remove obsolete assets from target /system/media/video/Glenn Kasten2013-09-131-0/+1
| | | | | | | | | | | | | | These were previously used for background replacement effect, but it seems like they aren't needed any more and just take up space in filesystem. Change-Id: I0782ac0c8f109e4f28e9f43c20d30dc6ccd82ef7
* | am add9898c: am 7314eb08: Merge "Fix broken copy of kl/kcm/idc files to ↵Michael Wright2013-09-051-0/+3
|\ \ | |/ | | | | | | | | | | system image" into klp-dev * commit 'add9898c7258563888dfda98e5de0faaaf32a201': Fix broken copy of kl/kcm/idc files to system image
| * Fix broken copy of kl/kcm/idc files to system imageMichael Wright2013-09-051-0/+3
| | | | | | | | | | Bug: 10633915 Change-Id: I244b85dc92d50bf8bdcfdf0fe32556eff8c5d279
* | resolved conflicts for merge of 09ed0720 to masterChet Haase2013-09-041-0/+1
|\ \ | |/ | | | | Change-Id: I1ce1b48a9fb954caf4fd15237f2f608ac9c478fe
| * Transition API changes from API council recommendationsChet Haase2013-09-041-0/+1
| | | | | | | | | | | | | | Issue #10460684 KLP API Review: android.view.transition and android.animation Issue #10570740 Transitions: inflate transition targets from xml Change-Id: I7a3f6d3aece2fcafc5efd555d033f79e86635c98
* | am 5d73148d: am c78f39d8: Merge "Add cleanspec for bitmap jni issue" into ↵Chris Craik2013-08-231-0/+1
|\ \ | |/ | | | | | | | | | | klp-dev * commit '5d73148d4269dce9ce716f022df3a69fc9813195': Add cleanspec for bitmap jni issue
| * Add cleanspec for bitmap jni issueChris Craik2013-08-221-0/+1
| | | | | | | | Change-Id: I0b270a8c1edd28a305e014ad7b0039f56787b25a
* | am 8a57aac9: am 490ca9c7: Fix incremental builds.Ben Murdoch2013-08-221-0/+1
|\ \ | |/ | | | | | | * commit '8a57aac9ad63e97b507b2fd2e4c4b0b62ddf11a1': Fix incremental builds.