summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Exit boot animation cleanly.Kevin Hester2012-06-192-5/+38
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The desc.txt file can now mark parts as 'must finish cleanly' by using 'c' as the part line prefix rather than 'p'. If so indicated, if the bootanimation is asked to quit it will do so only after waiting to finish that part. I considered either making init.c service killing smarter or promoting bootanim to be a bindable service with a requestExit method. However, these changes are probably too big/risky given our ship date. So I used a property as a mailbox between SurfaceFlinger and bootanim. Bug: 6679877 Change-Id: I1f8dd9e7da1ea80a483b31fa14c4a5645922d774
* | | | | | | Merge "Workaround: Never reset the default IME if the system is not ready" ↵satok2012-06-201-1/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into jb-dev
| * | | | | | | Workaround: Never reset the default IME if the system is not readysatok2012-06-211-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6685037 Change-Id: Ifb311f85154beadd4787ec73669bedfdf1f5172d
* | | | | | | | Merge "Import translations. DO NOT MERGE" into jb-devYing Wang2012-06-209-25/+25
|\ \ \ \ \ \ \ \
| * | | | | | | | Import translations. DO NOT MERGEYing Wang2012-06-209-25/+25
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: If50ab67d8bc4570a07cb2e9dba0c22ed4f7d7592
* | | | | | | | Merge "Fixing gesture recognition configuration in TouchExplorer." into jb-devCharles Chen2012-06-201-1/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Fixing gesture recognition configuration in TouchExplorer.Casey Burkhardt2012-06-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix adjusts the sensitivity of the gesture recognizer by eliminating gesture rotation in the recognition process. Bug:6697119 Change-Id: Ic767f513c05210b27e583338c4f0adcaa1c4c625
* | | | | | | | | Merge "Fix issue #6686339: 2 taps required to launch notification..." into ↵Dianne Hackborn2012-06-204-20/+46
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-dev
| * | | | | | | | | Fix issue #6686339: 2 taps required to launch notification...Dianne Hackborn2012-06-194-20/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...or settings from lock screen When a window is drawn, the code to determine whether it should now be shown was calling WindowState.isReadyForDisplay(). Part of the condition of this function is that it is not ready if a policy is forcing the window to be hidden -- which is the case when the lock screen is shown. As a result, we wouldn't show the window at that point, so wouldn't tell the activity manager that the token's windows are visibible, and wouldn't tell the lock screen to go away. This adds a new variation WindowState.isReadyForDisplayIgnoringKeyguard(), which is the same as the original method but ignores the policy visibility for app windows. This allows windows to be go through the complete path of handling when the window is finally drawn and telling the activity manager about it, even if behind the lock screen. By making it a separate function, we don't impact any other code that is calling the old function and may be relying on its behavior. Also cleaned up a little of the dumpsys output. Most important, the new ANR section is now moved to the top, since we want "adb shell dumpsys window" to still give a nice summary of what we normally care about -- the window stack and important global state. Change-Id: Ica3ea85ce46f3f5f5cd2cc30fbd9de13d3885a57
* | | | | | | | | | Merge "Fix issue #6675499: java.lang.RuntimeException: Unable to start..." ↵Dianne Hackborn2012-06-201-12/+23
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-dev
| * | | | | | | | | | Fix issue #6675499: java.lang.RuntimeException: Unable to start...Dianne Hackborn2012-06-191-12/+23
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...activity ComponentInfo{com.google.android.gm/ com.google.android.gm.ui.MailActivityGmail}: java.lang.NullPointerException There were a number of places in FragmentManagerImpl where we were not dealing with mAdded being null. In the original implementation, mAdded would almost always be null if mActive is null. As we have added features, this has become a less strong guarantee (and it actually was never completely guaranteed), but there are a lot of places where we would check for mActive being non-null and assume this meant mAdded is non-null. Fix these to correctly check for mAdded. Bug: 6675499 Change-Id: I2a6a801d8bc89550fc73e12c9c3f8bb0ad6c7fa4
* | | | | | | | | | Fixing typography typo and iconography typoPeter Ng2012-06-202-1/+1
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5836343 Bug: 5831156 Change-Id: I2801002a20645d1cbf7d548a1a7c280796457adb
* | | | | | | | | Merge "Remote volume handling in MediaRouter" into jb-devJean-Michel Trivi2012-06-207-60/+352
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Remote volume handling in MediaRouterJean-Michel Trivi2012-06-197-60/+352
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend MediaRouter.UserRouteInfo to enable setting playback information, which includes volume. When the user route instance has a RemoteControlClient, forward any playback information to it. Enable specifying a callback to be notified of volume events on the route. Extend MediaRouter.RouteInfo to enable retrieving playback information. Update RemoteControlClient javadoc to reflect which parts of the API are not intended to be made public. Change-Id: I59d728eb61747af6c8c89d53f0faeb07940594c3
* | | | | | | | Merge "Clone the list of listeners before notifing any event." into jb-devLuca Zanolin2012-06-201-16/+36
|\ \ \ \ \ \ \ \
| * | | | | | | | Clone the list of listeners before notifing any event.Luca Zanolin2012-06-191-16/+36
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required, otherwise the listener cannot remove it-self from the list of listeners during the notification. Bug: 6692355 Change-Id: I07762feb4f9b97ec4b6148d2f604d53e266b84d7
* | | | | | | | Merge "Add an XML attribute for controlling which route types a ↵Adam Powell2012-06-194-0/+16
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | MediaRouteButton in a layout will alter." into jb-dev
| * | | | | | | | Add an XML attribute for controlling which route types aAdam Powell2012-06-194-0/+16
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MediaRouteButton in a layout will alter. Change-Id: I897a68188fa87e4c2dbc88794117a3ef87ffaab0
* | | | | | | | Merge "Add extra systrace tracing" into jb-devRomain Guy2012-06-191-12/+43
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | |
| * | | | | | | Add extra systrace tracingRomain Guy2012-06-191-12/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change shows how much time is spent updating and executing framework display lists within a frame. This change also fixes a crash that happnes if you attempt to perform a dumpsys gfxinfo while the app is drawing (we are telling developers to use this new tool.) Change-Id: Ia4047a78a42b545ab77176ef4f371c300686548c
* | | | | | | | Merge "Fix 6656710: center dot pattern in GlowPadView" into jb-devJim Miller2012-06-191-6/+6
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix 6656710: center dot pattern in GlowPadViewJim Miller2012-06-191-6/+6
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where the dots weren't aligned with the center of the view. The matrix should not contain the offset of the image itself since we really want to scale about the abstract points. The code now subtracts the image centering positions (cx,cy) from the point to be scaled. Change-Id: I1d46a5d51b1fd1d39944c64baf86c306c2d5e923
* | | | | | | | Merge "Disable debug output in SDK layoutlib." into jb-devXavier Ducrohet2012-06-191-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Disable debug output in SDK layoutlib.Xavier Ducrohet2012-06-191-1/+1
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6697442 Change-Id: I9741761342ea220c158aa124089430b0db80bf7e
* | | | | | | Merge "Permit MediaRouteButton to select system routes in toggle mode." into ↵Adam Powell2012-06-191-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | jb-dev
| * | | | | | | Permit MediaRouteButton to select system routes in toggle mode.Adam Powell2012-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6694917 Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
* | | | | | | | Merge "Fix 6693743: update animation ring for keyguard and search panel" ↵Jim Miller2012-06-197-13/+8
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | into jb-dev
| * | | | | | | Fix 6693743: update animation ring for keyguard and search panelJim Miller2012-06-197-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a partial revert of change Ibce96f45eb6a94582c694108b99e243fd57b1955. This change: - shows the expanding ring animation on keyguard and navbar search - disables the first ping wave animation on both. - restores the outer ring Change-Id: I429d23a49ca2868dc00872b8b8fde000d6a53a6d
* | | | | | | | Merge "DO NOT MERGE Engineer-asset light-theme findonpage prev/next buttons" ↵Victoria Lease2012-06-199-2/+16
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-dev
| * | | | | | | | DO NOT MERGE Engineer-asset light-theme findonpage prev/next buttonsVictoria Lease2012-06-199-2/+16
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a cherrypick of Iae2795da from master. These are provided with the expectation that they will be replaced with more professional assets as soon as available. Bug: 6685279 Change-Id: Iae2795dafaffcc337b74f4a178f68de4a96b96bf
* | | | | | | | Merge "Handle non-started LayoutTransition animations correctly" into jb-devChet Haase2012-06-191-6/+6
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Handle non-started LayoutTransition animations correctlyChet Haase2012-06-191-6/+6
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent change to LayoutTransition noop'd animations in non-visible parents, to avoid artifacts like scaling/moving from (0,0,0,0). But there was logic in ViewGroup that didn't account for transitions that didn't actually run an animation, causing a disconnect between the state of a parent (getting ready to remove an item later) and the state of the transition (not running, therefore not needing the child to be removed later). The fix was to detect when the transition did not start and avoid adding the view to the list of children to be removed later. Issue #6602502 Playing video through crackle application only audio is heard no video is displayed Change-Id: Id5260580ab0d6dd165c62006c7bd579fd821a5f5
* | | | | | | Merge "Fix 6667238: allow market apps to support ACTION_ASSIST" into jb-devJim Miller2012-06-1917-116/+254
|\ \ \ \ \ \ \
| * | | | | | | Fix 6667238: allow market apps to support ACTION_ASSISTJim Miller2012-06-1917-116/+254
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows market apps and 3rd parties to supply an activity that responds to ACTION_ASSIST (e.g. market apps). It also adds a test app to respond to the ASSIST intent and force the intent disambiguation dialog to appear. Change-Id: I5a78863c6a9546d18c66275187d178f6a1c9ee17
* | | | | | | Merge "Clear sendingToBottom when animation is complete." into jb-devCraig Mautner2012-06-191-0/+5
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Clear sendingToBottom when animation is complete.Craig Mautner2012-06-191-0/+5
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was counting on moving the app to the top to clear the flag indicating that the app was being sent to the bottom. Since this did not always happen the sendingToBottom flag was occasionally left set. In this case the focus was skipped for that app and consequently input was never propagated to it. This fix clears the sendingToBottom flag each time the app animations are completed. Fixes bug 6691421. Change-Id: I6f851dc5bedca95182db8490d87c876a71ad5fde
* | | | | | Merge "Import translations. DO NOT MERGE" into jb-devEric Fischer2012-06-1929-78/+39
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Import translations. DO NOT MERGEEric Fischer2012-06-1929-78/+39
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I050bc722a5a06acc49fc519d57bf16b14158e97a
* | | | | Handle SCREEN_ON/OFF broadcasts without blocking.Jeff Sharkey2012-06-191-2/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NetworkPolicy currently uses a single background thread to process various broadcasts. When processing other broadcasts, this thread can block our handling of SCREEN_ON/OFF, which are sent as ordered broadcasts. This change moves SCREEN_ON/OFF handling to the main thread, and dispatches a one-way message to the background thread, allowing the ordered broadcast to always proceed. Bug: 6677047 Change-Id: I52de2c7b75beb8059bb87e123689ba4a9c4ae349
* | | | Merge "Docs only: DENSITY_TV, not just for TVs any more!" into jb-devDianne Hackborn2012-06-191-5/+15
|\ \ \ \
| * | | | Docs only: DENSITY_TV, not just for TVs any more!Dianne Hackborn2012-06-181-5/+15
| | | | | | | | | | | | | | | | | | | | Change-Id: Id70e0bc179ab405fbb7f3b2cda7b75f44ff30b57
* | | | | Merge "Remote volume handling" into jb-devJean-Michel Trivi2012-06-198-53/+939
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Remote volume handlingJean-Michel Trivi2012-06-188-53/+939
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend RemoteControlClient class to enable an applicaton to specify more information about how it's playing media, now covering usecases where media playback happens "remotely". This playback information can be used to set the volume and maximum volume used remotely. Declare a new intent and associated extras in Intent, ACTION_VOLUME_UPDATE, so an application can be notified that the volume it handles should be updated. It can then use the new RemoteControlClient.setPlaybackInformation() method to notify AudioService what the volume is. Extend AudioService to maintain playback information associated with the RemoteControlClient information in the stack of media button event receivers (mRCStack). The information about the active remote is cached so the stack doesn't have to be iterated over in order to retrieve remote playback info. Events to "adjust" the remote volume based on hardware key presses cause the client application to be notified of volume updates, and the volume panel to display the volume set by the app. Revise which stream type is controlled when none is specified according to latest guidelines for remote playback. Update VolumePanel class to support a new pseudo stream type, AudioService.STREAM_REMOTE_MUSIC, that corresponds to the remote playback volume, and uses the new "media route" icon. Enable it to receive asynchronously new volume values for the remote that will be displayed if the UI is still up, and ignored otherwise. Now supports hiding/showing sliders dynamically so remote volume only appears when AudioService has a remote control client handling remote volume. Define new java symbols for the two media route icons. Modify lockscreen behavior: don't automatically control music volume when music is active, consider also remote playback. Still to do: - playback information set by RemoteControlClient should post a message for AudioService to update playback information instead of updating it synchronously Change-Id: I557aa687239f9acfe33a609f05876c67fa7eb967
* | | | | Merge "MediaRouter bluetooth a2dp selection" into jb-devAdam Powell2012-06-182-6/+19
|\ \ \ \ \
| * | | | | MediaRouter bluetooth a2dp selectionAdam Powell2012-06-182-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove bluetooth permission check from internal AudioService method setBluetoothA2dpOn Manage BT A2DP state in MediaRouter. A2DP is only enabled or disabled when either the system built-in audio route or the A2DP audio route is selected; when selecting any other route the current state is left alone. Change-Id: Ib14274e206e79bd8762edca1205ecfa87b7a94cf
* | | | | | Merge "Fixed text rendering issue with spans." into jb-devGilles Debunne2012-06-182-33/+32
|\ \ \ \ \ \
| * | | | | | Fixed text rendering issue with spans.Gilles Debunne2012-06-152-33/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6598784 The algorithm uses three imbricated loops: - paragraphs - span regions (called "blocks" in that description) in these - characters in these We can ignore the paragraphs and assume paraStart==0. The span region loop cuts the text into blocks of text which share the same set of MetricAffectingSpan spans applied to them. Note that spanStart and spanEnd represent such a range, and not necessarily an actual span range. The third loop then iterates over the characters of these blocks, and creates a new line (calling out() as soon as the width has been reached. The core of the problem comes from the 'nextSpanStart' variable. It is used to restart the block loop from a previous position in case a line has been created that does not intersect with the current block. However, in case the current block is larger than the width of the text, the character loop is going to create other lines of text before we exit the j-loop. Going back to the block loop, we reset spanStart to the nextSpanStart, which may be too far back in the text. As a result, the same range of characters is measured again. The (spanStart == spanEnd) test was used to handle the case where nextSpanStart was indeed assigned to a value different than spanEnd. This fix simplifies this logic and removes the nextSpanStart variable: When the created line ends before the current block (here < spanStart), we immediately exit the character loop, re-starting the block loop from the current position. Patch 4: added a fix in measured to handle overlapping character ranges. Change-Id: Ie71b3cf4018b332e335ea916fef08acb43a6679e
* | | | | | | Merge "More paths for turning on screen immediately." into jb-devCraig Mautner2012-06-181-1/+10
|\ \ \ \ \ \ \
| * | | | | | | More paths for turning on screen immediately.Craig Mautner2012-06-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix forces the path through the updateLightsLocked method to turn the screen on immediately if mWaitingForFirstLightSensor is true. Also do not clear mWaitingForFirstLightSensor if mPreparingForScreenOn is true. Wait until it turns false. Fixes bug 6612418. Change-Id: I03407e748cce4906a73de1f15df1654649b133c4
* | | | | | | | Merge "Added or fixed doctrings for required permissions." into jb-devNicolas Falliere2012-06-188-1/+79
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |