summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue #5173952: Opening a Notification From Lock Screen...Dianne Hackborn2011-09-236-19/+87
| | | | | | | | | | ...Should Skip Unsecure Lockscreen (ICS) Also while I am in there, clean up logging of intent objects to include even less sensitive information, while showing the true Intent in dump output (since apps can't get to that). Change-Id: I35fed714645b21e4304ba38a11ebb9c4c963538e
* Merge "Remove unnecessary parameter"Adam Powell2011-09-231-3/+3
|\
| * Remove unnecessary parameterAdam Powell2011-09-231-3/+3
| | | | | | | | Change-Id: I32810a31140263a996d4f600fa53db5f29e60f42
* | Merge "Fix leaky view tags"Adam Powell2011-09-231-33/+8
|\ \ | |/
| * Fix leaky view tagsAdam Powell2011-09-221-33/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of the method View#setTag(int, Object) stored tag objects as entries in a static WeakHashMap associated with the View as a key. This was problematic for any tag object that stored a hard reference back to the View the tag was placed on, as it would cause the WeakReference key to never be collected and the entry to persist forever. This was particularly nasty if an app used a keyed tag to store a ViewHolder object referencing child views for use in the Adapter implementaion for an AdapterView, since child views will always have hard references leading back to the parent. Change-Id: Ia17840a301ba0e0c928861405388fb2f625dac2c
* | am 3d9a9e55: Merge "Update camera javadoc about AE and AWB lock." into ↵Wei Huang2011-09-231-68/+23
|\ \ | | | | | | | | | | | | | | | | | | ics-factoryrom * commit '3d9a9e55df85c720573e69ec3062efc331ea69bb': Update camera javadoc about AE and AWB lock.
| * \ Merge "Update camera javadoc about AE and AWB lock." into ics-factoryromWei Huang2011-09-231-68/+23
| |\ \
| | * | Update camera javadoc about AE and AWB lock.Wu-cheng Li2011-09-221-68/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Autofocus does not lock AE and AWB. - stopPreview and takePicture do not clear AE and AWB locks. bug:5356404 Change-Id: I55d9b35f4ff746ecd2bff112c2674f1aa2543aca
* | | | am 5d87227b: Merge "Clear callbacks in camera stopPreview." into ics-factoryromWei Huang2011-09-231-0/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '5d87227bad8126d701145cd07c3ac2a365e8480e': Clear callbacks in camera stopPreview.
| * | | Clear callbacks in camera stopPreview.Chih-yu Huang2011-09-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear those callbacks to remove the references so the memory can be recycled. bug:5358774 Change-Id: I3b6034a1891126b3437a6744013f38a64f5bb03b
* | | | Merge "Make LockScreen ping() on a miss."Brandon Keely2011-09-231-1/+8
|\ \ \ \
| * | | | Make LockScreen ping() on a miss.Brandon Keely2011-09-211-1/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib0cd12f40a6027e8c950dd4bdd3d5a5210b049ac
* | | | | am dd33bf0e: Merge "Fix 5355659: Minor tweak to wave ping radius in ↵Peter Ng2011-09-221-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | MultiWaveView." into ics-factoryrom * commit 'dd33bf0ebbde9aa702d039b6b9d5f06ac0a69dfb': Fix 5355659: Minor tweak to wave ping radius in MultiWaveView.
| * | | | Merge "Fix 5355659: Minor tweak to wave ping radius in MultiWaveView." into ↵Peter Ng2011-09-221-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | ics-factoryrom
| | * | | | Fix 5355659: Minor tweak to wave ping radius in MultiWaveView.Jim Miller2011-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib85c9d375e26897ce87b41addfaba503d9430f18
* | | | | | am 4dfe8695: Merge "CAB assets" into ics-factoryromJustin Ho2011-09-2224-0/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '4dfe869520b83b79cc5912f5bd0061b0ec33aa11': CAB assets
| * | | | | Merge "CAB assets" into ics-factoryromJustin Ho2011-09-2224-0/+0
| |\ \ \ \ \
| | * | | | | CAB assetsJustin Ho2011-09-2224-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I40e979a57173220586aafa6cb76d7431c8bbd91f
* | | | | | | am 777163e0: Merge "Updated emergency icon on lockscreen" into ics-factoryromJustin Ho2011-09-223-0/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '777163e0466bda76d64809b5fd6a1a688de67099': Updated emergency icon on lockscreen
| * | | | | | Merge "Updated emergency icon on lockscreen" into ics-factoryromJustin Ho2011-09-223-0/+0
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| | * | | | | Updated emergency icon on lockscreenJustin Ho2011-09-223-0/+0
| | |/ / / / | | | | | | | | | | | | | | | | | | Change-Id: Idd4dc679c45aedce627a5be0991879d83758650e
* | | | | | am dd6d1bbd: Merge "Update PUK unlock screen." into ics-factoryromJohn Wang2011-09-221-26/+11
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'dd6d1bbd15c4e5cf1b3e0ac34c96f29fb04863c6': Update PUK unlock screen.
| * | | | | Merge "Update PUK unlock screen." into ics-factoryromJohn Wang2011-09-221-27/+12
| |\ \ \ \ \
| | * | | | | Update PUK unlock screen.John Wang2011-09-221-27/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Make Pin and Puk focusable EditText. 2. Add hint text for pin and puk. 3. Update focusEntry logic. bug:5243771 Change-Id: I65bd52510bbbf0ebd7830ecac7e31159ae750c6c
* | | | | | | am 08ee7fa4: Merge "Fixing emergency dialer flicker on lock screen (issue ↵Adam Cohen2011-09-222-3/+6
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5314293)" into ics-factoryrom * commit '08ee7fa463aee5e83f77789e9a99f17a34ab68b4': Fixing emergency dialer flicker on lock screen (issue 5314293)
| * | | | | | Merge "Fixing emergency dialer flicker on lock screen (issue 5314293)" into ↵Adam Cohen2011-09-222-3/+6
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ics-factoryrom
| | * | | | | | Fixing emergency dialer flicker on lock screen (issue 5314293)Adam Cohen2011-09-212-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia9bf4acb84923e200b89ee55fc53bc92877001cf
* | | | | | | | am 31b638d4: Merge "Fix 5355659: Change chevron visuals, timing, and ↵Justin Ho2011-09-2213-2/+6
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | animated positioning" into ics-factoryrom * commit '31b638d40342fc9e3198f9e7f8dffaf55049c9e1': Fix 5355659: Change chevron visuals, timing, and animated positioning
| * | | | | | | Merge "Fix 5355659: Change chevron visuals, timing, and animated ↵Justin Ho2011-09-2213-2/+6
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | positioning" into ics-factoryrom
| | * | | | | | | Fix 5355659: Change chevron visuals, timing, and animated positioningJim Miller2011-09-2113-2/+6
| | | |_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | Change-Id: I55e34496cc1eb4ace60b6d1ccbdb894035bca6e2
* | | | | | | | Merge "ActivityChooserView not showing "Show all" properly if the default ↵Svetoslav Ganov2011-09-221-3/+5
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | target button not shown."
| * | | | | | | ActivityChooserView not showing "Show all" properly if the default target ↵Svetoslav Ganov2011-09-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | button not shown. If the default target button is hidden all activities are shown in the list from which to choose. In this case due to off by one error the list was not showing the option to expand it if the activities are one more than the initially shown. bug:5358475 Change-Id: I8c3db37dab008637d78330f8de830cec92720264
* | | | | | | | am cc22b992: Merge "Revert "Allow views to setSystemUiVisibility() with the ↵Daniel Sandler2011-09-221-7/+5
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | same value and have it work."" into ics-factoryrom * commit 'cc22b99249ac80891af99be941862edc9569fc4b': Revert "Allow views to setSystemUiVisibility() with the same value and have it work."
| * | | | | | | Merge "Revert "Allow views to setSystemUiVisibility() with the same value ↵Daniel Sandler2011-09-221-7/+5
| |\ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | and have it work."" into ics-factoryrom
| | * | | | | | Revert "Allow views to setSystemUiVisibility() with the same value and have ↵Daniel Sandler2011-09-211-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it work." This reverts commit fad9555217ce3a657ffc7cba458a0d2622f7a379. Because it just didn't work. (The views kept aggressively re-applying their preferred flags every time view attributes were aggregated.) We'll pursue the original strategy, like lights out mode in HC: if you want to tickle this mode, un-set and re-set the flags (preferably synchronized with the global SystemUI visibility state as reported by onSystemUiVisibilityChanged callbacks). Bug: 5052456
* | | | | | | | Merge "Bug 5279842: mis alignment after scroll"Fabrice Di Meglio2011-09-221-24/+19
|\ \ \ \ \ \ \ \
| * | | | | | | | Bug 5279842: mis alignment after scrollGilles Debunne2011-09-211-24/+19
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored. Original problem was the ALIGN_RIGHT case that was not handled. Change-Id: Id01b75ac404b7ee92143e8cf6e3a3a838b794da8
* | | | | | | | Merge "Fix 5335993, calculate correct size of lockscreen buttons"Chet Haase2011-09-224-4/+49
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix 5335993, calculate correct size of lockscreen buttonsChet Haase2011-09-194-4/+49
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The buttons on the lockscreen were sized at startup time, before the actual size of the keyboard's container (KeyboardView) was known. Also, horizontal/vertical gaps were not taken into account in calculating perecent sizes of the keys. This change causes resize events (including the first one where the container size is finally known) to recalculate the keys' sizes and positions according to correct sizing of the container and the keyboard's gaps. Change-Id: I5ba7a401226ed4b100e5739f3405388955d97997
* | | | | | | | Fix commentKen Wakasa2011-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic0fd15d0b1b4d2c24eb177a6b22e0cc08ec1de99
* | | | | | | | Merge "Disallow 180 rotation for phones. Bug: 4981385"Jeff Brown2011-09-212-1/+4
|\ \ \ \ \ \ \ \
| * | | | | | | | Disallow 180 rotation for phones.Jeff Brown2011-09-212-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4981385 Change-Id: Icaed9cfe4ee9771ca5951abcd1173024d87a024b
* | | | | | | | | Merge "Handle orientation changes more systematically. Bug: 4981385"Jeff Brown2011-09-214-35/+31
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Handle orientation changes more systematically.Jeff Brown2011-09-214-35/+31
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4981385 Simplify the orientation changing code path in the WindowManager. Instead of the policy calling setRotation() when the sensor determined orientation changes, it calls updateRotation(), which figures everything out. For the most part, the rotation actually passed to setRotation() was more or less ignored and just added confusion, particularly when handling deferred orientation changes. Ensure that 180 degree rotations are disallowed even when the application specifies SCREEN_ORIENTATION_SENSOR_*. These rotations are only enabled when docked upside-down for some reason or when the application specifies SCREEN_ORIENTATION_FULL_SENSOR. Ensure that special modes like HDMI connected, lid switch, dock and rotation lock all cause the sensor to be ignored even when the application asks for sensor-based orientation changes. The sensor is not relevant in these modes because some external factor (or the user) is determining the preferred rotation. Currently, applications can still override the preferred rotation even when there are special modes in play that might say otherwise. We could tweak this so that some special modes trump application choices completely (resulting in a letter-boxed application, perhaps). I tested this sort of tweak (not included in the patch) and it seems to work fine, including transitions between applications with varying orientation. Delete dead code related to animFlags. Handle pausing/resuming orientation changes more precisely. Ensure that a deferred orientation change is performed when a drag completes, even if endDragLw() is not called because the drag was aborted before the drop happened. We pause the orientation change in register() and resume in unregister() because those methods appear to always be called as needed. Change-Id: If0a31de3d057251e581fdee64819f2b19e676e9a
* | | | | | | | am 624181af: Merge "Settings are restored in alphabetical order rather in ↵Svetoslav Ganov2011-09-211-1/+12
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | order of dependency." into ics-factoryrom * commit '624181af38f7f9e4fe4a18ca3e15204f30609312': Settings are restored in alphabetical order rather in order of dependency.
| * | | | | | | Merge "Settings are restored in alphabetical order rather in order of ↵Svetoslav Ganov2011-09-211-1/+12
| |\ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | dependency." into ics-factoryrom
| | * | | | | | Settings are restored in alphabetical order rather in order of dependency.Svetoslav Ganov2011-09-211-1/+12
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Settings were restore in alphabetical order and capturing dependency among them required keys to be chosen in such a way that after sorting they apprear in dependency order. Now settings are exported and restored in the order they are declared in the arrays of settings to backup. Hence, the order in this array will capture the dependency order. bug:5343351 Change-Id: I93a40bcdd194943cd6f85aa18f1557d546e38274
* | | | | | | am 90fb9aa9: Merge "Make Bluetooth Health constant public." into ics-factoryromJaikumar Ganesh2011-09-211-1/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '90fb9aa93a350d5571a378923c2566f48e44ad3e': Make Bluetooth Health constant public.
| * | | | | | Merge "Make Bluetooth Health constant public." into ics-factoryromJaikumar Ganesh2011-09-211-1/+0
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| | * | | | | Make Bluetooth Health constant public.Jaikumar Ganesh2011-09-211-1/+0
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | Change-Id: I366f1231056fe978d85ee80c773d5911badb22e2