summaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
* Add liblogYing Wang2013-04-091-2/+3
| | | | | Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
* Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-devMichael Jurka2013-04-092-47/+155
|\
| * Fix janky icon fade-in animation in RecentsMichael Jurka2013-04-082-47/+155
| | | | | | Change-Id: I15d2274add8903820dac3da0fa47c9e54f6ec97d
* | Merge "Queues, queues, queues and input." into jb-mr2-devJeff Brown2013-04-081-1/+1
|\ \
| * | Queues, queues, queues and input.Jeff Brown2013-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redesigned how ViewRootImpl delivers input events to views, the IME and to native activities to fix several issues. The prior change to make IME input event delegation use InputChannels failed to take into account that InputMethodManager is a singleton attached to the main looper whereas UI may be attached to any looper. Consequently interactions with the InputChannel might occur on the wrong thread. Fixed this problem by checking the current thread and posting input events or callbacks to the correct looper when necessary. NativeActivity has also been broken for a while because the default event handling logic for joysticks and touch navigation was unable to dispatch events back into the native activity. In particular, this meant that DPad synthesis from touch navigation would not work in any native activity. The plan is to fix this problem by passing all events through ViewRootImpl as usual then forwarding them to native activity as needed. This should greatly simplify IME pre-dispatch and system key handling and make everything more robust overall. Fixed issues related to when input events are synthesized. In particular, added a more robust mechanism to ensure that synthetic events are canceled appropriately when we discover that events are no longer being resynthesized (because the application or IME is handling or dropping them). The new design is structured as a pipeline with a chain of responsibility consisting of InputStage objects. Each InputStage is responsible for some part of handling each input event such as dispatching to the view hierarchy or to the IME. As a stage processes an input event, it has the option of finishing the event, forwarding the event to the next stage or handling the event asynchronously. Some queueing logic takes care to ensure that events are forwarded downstream in the correct order even if they are handled out of order by a given stage. Cleaned up the InputMethodManager singleton initialization logic to make it clearer that it must be attached to the main looper. We don't actually need to pass this looper around. Deleted the LatencyTimer class since no one uses it and we have better ways of measuring latency these days using systrace. Added a hidden helper to Looper to determine whether the current thread is the indicated Looper thread. Note: NativeActivity's IME dispatch is broken by this patch. This will be fixed later in another patch. Bug: 8473020 Change-Id: Iac2a1277545195a7a0137bbbdf04514c29165c60
* | | Awaken dreams on home + recents.John Spurlock2013-04-081-0/+1
| |/ |/| | | | | | | | | | | | | | | | | Fixes the KEYCODE_HOME case, awakes when home is started for any reason. Also awaken when toggling recents (and not locked). Bug:8557212 Change-Id: I6578ae3971740a03c27596b838d27a5ab9b03752
* | New NotificationListenerService.Daniel Sandler2013-04-059-19/+8
|/ | | | | | | | | | | | | | | | | | | | | This is the best and only way for apps to listen for notifications: create a NotificationListenerService, wait for the NoMan to bind to you (as a result of the user checking a box somewhere in Settings and agreeing to a scary dialog box), and you'll start receiving notification posted and dismissed callbacks. Your service, while enabled, will also be able to clear one or all notifications. Use this power wisely. This change moves StatusBarNotification out of com.android.internal into android.service.notification. [Internal customers, including System UI and early users of the system-only listener binder API, will need to be updated.] Bug: 8199624 Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
* Fixing NPE on screenshot error. (Bug 8328886)Winson Chung2013-04-012-28/+6
| | | | Change-Id: Id47b8429c512c02e63d86de2ce37bd8e3ee02359
* Block access to accounts for limited users.Amith Yamasani2013-03-302-5/+3
| | | | | | | | Make sure that apps that have access to restricted accounts can see them. If they don't have access, they shouldn't be able to add a new account either. Show an error message in the account picker if the user/app is not authorized. Change-Id: I117c0b14d7d06c5ac4e66506df156b174567f5f3
* Merge "Apparently SystemUI no longer needs the carousel." into jb-mr2-devDianne Hackborn2013-03-291-3/+0
|\
| * Apparently SystemUI no longer needs the carousel.Dianne Hackborn2013-03-271-3/+0
| | | | | | | | Change-Id: Ib886b83fb096a8ef35b167e2727360353c020ec1
* | am 3ae30483: am a19647d3: Merge "Correct executable bit for source files ↵Elliott Hughes2013-03-281-0/+0
|\ \ | | | | | | | | | | | | | | | | | | [Take 2]" * commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30': Correct executable bit for source files [Take 2]
| * | Correct executable bit for source files [Take 2]Chirayu Desai2013-03-271-0/+0
| | | | | | | | | | | | | | | | | | | | | Change Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 left out some files, this fixes them. Change-Id: Ia949a8581668836ea0251602e048f09c852f5169
* | | Add user restrictions for bluetooth, sideloading, usb file transferMaggie Benthall2013-03-271-2/+2
| |/ |/| | | | | | | | | | | | | Created constants for these in UserManager and current.txt. Also created an accessor for individual user restrictions that takes the restriction key (removing individual methods for particular restrictions). Change-Id: Ibb5517cbcdffadd3925f52cbe67d7d525813faa9
* | Merge "Prevent Recents from doing a relayout" into jb-mr2-devJim Miller2013-03-207-34/+51
|\ \
| * | Prevent Recents from doing a relayoutMichael Jurka2013-03-207-34/+51
| | | | | | | | | | | | | | | Don't relayout Recents when going from a fullscreen app to Recents; set the proper flags to do the layout underneath the status bar
* | | Show notification ticker for finished bugreports.Jeff Sharkey2013-03-201-0/+1
|/ / | | | | | | Change-Id: I7d326b0da83c3ae334739cdb8cb4ca18f948c50f
* | Merge "Move deleteOlderFiles() to framework, tests." into jb-mr2-devJeff Sharkey2013-03-141-30/+12
|\ \
| * | Move deleteOlderFiles() to framework, tests.Jeff Sharkey2013-03-141-30/+12
| | | | | | | | | | | | | | | | | | | | | | | | Supports both age and count based constraints. Added light docs and tests to verify behavior. Bug: 8387555 Change-Id: If4d0dac8bc54ce705c2a339bc09a60ea748728b8
* | | Better fix for GL wallpaper creationChet Haase2013-03-141-14/+24
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous fix made initializing GL work better by calling eglMakeCurrent() prior to querying the max texture size. However, that fix worked by creating an eglSurface earlier than we did before, which for some reason causes problems later if wallpaper creation fails and we back off to a software solution. This new fix creates a temporary pbuffer surface instead, which still allows us to make the call to eglMakeCurrent() prior to querying the max texture size, but does not result in the later canvas lock failure if the wallpaper creation fails anyway. Issue #8319960 sluggish yakju animations over launcher Change-Id: I394d672549260a354f03ad9fd1b9e1f9a161a371
* | Merge "Handle finished bugreports, share from private." into jb-mr2-devJeff Sharkey2013-03-148-2/+399
|\ \
| * | Handle finished bugreports, share from private.Jeff Sharkey2013-03-138-2/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show notification when a bugreport is finished, letting the user launch a SEND_MULTIPLE intent to share them. Add dialog that warns user about contents before sharing. Since bugreports are now stored in private app data of the Shell app, use FileProvider to build Uris that we can grant others access to. Define BUGREPORT_FINISHED as being a protected broadcast. Delete older bugreports automatically to reclaim disk space. Migrate any Intent extras to ClipData when building PendingIntents. Add --receiver-permission support to am shell command. Bug: 7005318 Change-Id: If6c607dbcf137362d5887eac482ff7391563890f
* | | Merge "Ensure wallpaper creation succeeds" into jb-mr2-devChet Haase2013-03-141-13/+18
|\ \ \
| * | | Ensure wallpaper creation succeedsChet Haase2013-03-141-13/+18
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImageWallpaper was sometimes querying GL for a max texture size too early (before the first call to eglMakeCurrent()). This problem caused the wallpaper to then get created in software, resulting in noticeably slower performance when the wallpaper was visible. This fix ensures that the makeCurrent happens before the query, ensuring that wallpapers of the right size actually get created instead of failing due to this error at creation time. Issue #8319960 sluggish yakju animations over launcher Change-Id: I12a3eba9f1818bdf544691e0727fe12f7e820651
* | | am 39099fee: am 1bc1699c: Merge ""[+>" more icon was never shown in ↵Daniel Sandler2013-03-121-0/+1
|\ \ \ | |/ / |/| / | |/ | | | | | | PhoneStatusBar" * commit '39099feeece6d76b0c68727506609331e7a6b64c': "[+>" more icon was never shown in PhoneStatusBar
| * "[+>" more icon was never shown in PhoneStatusBarMats H Carlsson2013-03-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | "[+>" more icon was never show in status bar because the member variable for this icon was not initialized from resources. This fix enables "[+>" icon to appear in status bar when the number of indications in status bar becomes large. Bug: 8368569 Change-Id: Ieb3412eed831052d69c0cf63c9b4230c38171e4a
* | DO NOT MERGE - Full backup/restore now handles OBBs sensiblyChristopher Tate2013-03-083-0/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OBB backup/ restore is no longer handled within the target app process. This is done to avoid having to require that OBB-using apps have full read/write permission for external storage. The new OBB backup service is a new component running in the same app as the already-existing shared storage backup agent. The backup infrastructure delegates backup/restore of apps' OBB contents to this component (because the system process may not itself read/write external storage). From the command line, OBB backup is enabled by using new -obb / -noobb flags with adb backup. The default is noobb. Finally, a couple of nit fixes: - buffer-size mismatch between the writer and reader of chunked file data has been corrected; now the reading side won't be issuing an extra pipe read per chunk. - bu now explicitly closes the transport socket fd after adopting it. This was benign but triggered a logged warning about leaked fds. (Cherrypicked) Change-Id: I471f6348abcccb7bf1e1710b7beda9f23de53e14
* | Fix bug #8058390 Space is required after the battery sign in the RTL localesFabrice Di Meglio2013-03-0817-68/+68
| | | | | | | | | | | | - fix remaining left/right properties that needed to be start/end properties Change-Id: Iaa5090c2ad256e378313f164e2388f42428e5700
* | Merge "Fix bug where Recents wasn't always properly updated" into jb-mr2-devMichael Jurka2013-03-061-24/+36
|\ \
| * | Fix bug where Recents wasn't always properly updatedMichael Jurka2013-03-061-24/+36
| | | | | | | | | | | | | | | Also fix bug where icons were sometimes missing Change-Id: I98fb30242e0f1bbe4f3088b350bd808cd9c3ae67
* | | Merge "Fix Recents in RTL/landscape mode" into jb-mr2-devMichael Jurka2013-03-062-5/+7
|\ \ \
| * | | Fix Recents in RTL/landscape modeMichael Jurka2013-03-062-5/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | The normal LTR Recents interface in landscape actually scrolls/behaves like a RTL interface, so we hardcode the layout to stay the same in both modes Change-Id: I57e5e76de3260c6de1dd9e939797b7e1c23cca03
* | | Improve swipe performance in RecentsMichael Jurka2013-03-061-0/+6
|/ /
* | Defend against NaNs in panel animation code.Daniel Sandler2013-03-051-12/+34
| | | | | | | | | | | | | | | | Once these get into the Animators, they freeze up and disable the whole notification panel. Not cool. Bug: 7686690 Change-Id: I04567417b3840a82d9cfe071c601e3078b2e3fe3
* | Merge "Fix RTL layout in Recent Apps, landscape mode" into jb-mr2-devMichael Jurka2013-03-041-0/+1
|\ \
| * | Fix RTL layout in Recent Apps, landscape modeMichael Jurka2013-03-011-0/+1
| | | | | | | | | | | | Bug: 8067692
* | | Merge "Improve performance of storage measurement." into jb-mr2-devJeff Sharkey2013-03-022-8/+13
|\ \ \
| * | | Improve performance of storage measurement.Jeff Sharkey2013-03-012-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calculating directory sizes of data living on emulated external storage, translate the path to use the internal backing data, which avoids going through the emulation layer. It carefully retreats to the original path when it runs into trouble. Testing with a hierarchy of 10 directories deep and 2 directories and 10 files wide at each level, this change improves performance from 5900ms before to 250ms after; over 20 times faster (!). Bug: 8172425 Change-Id: Ia7365416f091e102bf7345a49f7d7209a22580a9
* | | | am bf53be46: am 09353f74: Merge "Check and fail early if requested wallpaper ↵Romain Guy2013-02-271-2/+16
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | size exceeds maximum texture size." * commit 'bf53be46d237866a9964a4f1fa960eb6ef4a70a6': Check and fail early if requested wallpaper size exceeds maximum texture size.
| * | Check and fail early if requested wallpaper size exceeds maximum texture size.Wim Vander Schelden2013-02-141-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where OpenGL initialization succeeds but buffer allocation fails because the requested wallpaper size is too large (or otherwise unsupported) by the graphics hardware. This fixes an issue where SystemUI crashes constantly on the PandaBoard when connected to a full HD display. Tested only on PandaBoard, no access to alternative hardware. Signed-off-by: Wim Vander Schelden <wim.vander.schelden@philips.com> Change-Id: I8d2e1ae9fd9772977c4e365f23f2f58bbca3787c
* | | Add location sharing toggle user restriction.Maggie Benthall2013-02-251-2/+7
| |/ |/| | | | | | | | | And add support for respecting it. Change-Id: Ia5cf9134c5f5741c3f55afadbe54f862da7bfe5b
* | Merge "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'"Derek Sollenberger2013-02-228-25/+25
|\ \
| * \ am 50c291b6: Merge "SystemUI optimization - rely on inheritance for layout ↵Fabrice Di Meglio2013-02-203-24/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | direction" * commit '50c291b653062e7356fd8764bf625a1e1f2c678d': SystemUI optimization - rely on inheritance for layout direction
| * \ \ am 1fd2ed58: Merge "Add brightness dialog to SystemUI"Michael Wright2013-02-2012-132/+390
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '1fd2ed58da3e578df0cd0c326c719cf1c282b793': Add brightness dialog to SystemUI
| * \ \ \ am 14bd8359: Merge "Wallpaper software rendering fallback Bug #8230579"Romain Guy2013-02-201-4/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '14bd8359a84c9b3f634d1fd816ddf5750d6539a9': Wallpaper software rendering fallback Bug #8230579
| * \ \ \ \ am 8983d11c: Merge "Looking for NaN values in status bar animations."Daniel Sandler2013-02-191-2/+23
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8983d11c4069bc136f496987f11df7dcd5771188': Looking for NaN values in status bar animations.
| * \ \ \ \ \ am 5b032429: Merge "Fix one cause of slow scrolling in Recents"Michael Jurka2013-02-191-12/+16
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5b0324299af1aa520792789549f4cc8ea8d1935d': Fix one cause of slow scrolling in Recents
| * \ \ \ \ \ \ am ccacb8e8: Merge "Add DUMP permission to SystemUI for bugreports."Jeff Sharkey2013-02-191-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ccacb8e88bb4369225e5a97bd64b8351fe04f1b5': Add DUMP permission to SystemUI for bugreports.
| * \ \ \ \ \ \ \ am afc43ed9: Merge "Full backup now saves getExternalFilesDir() content with ↵Christopher Tate2013-02-151-1/+10
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the app data" * commit 'afc43ed9a765766fc35477f42cbc6bfdad0b1067': Full backup now saves getExternalFilesDir() content with the app data
| * \ \ \ \ \ \ \ \ resolved conflicts for merge of 58a1ca66 to master-chromiumKristian Monsen2013-02-141-1/+2
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I06b61e6d7d52b584eae03a95220381475b8bff0e