summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Include InputMethodSubtypeSwitchingController in state dump.Yohei Yukawa2015-06-042-0/+35
| | | | | | | | | | | | In order to diagnose IME issues in multi-user / multi-profile environment, internal state of InputMethodSubtypeSwitchingController needs to be included in the bugreport. Bug: 19340792 Bug: 19587437 Bug: 21612582 Change-Id: I34aca2c1a4330ec08b5e40441e631809a8bb844e
* Show more logs when switching users and IMMS#DEBUG==true.Yohei Yukawa2015-06-031-3/+10
| | | | | | | | | | | | This CL changes nothing but adds more logging points in IMMS when switching users and IMMS#DEBUG==true. No impact in production code. Bug: 19340792 Bug: 19587437 Bug: 21612582 Change-Id: Ibaeb77ae50d246fc322cb023da7750d7415a58ab
* Merge "Properly restore RTL state in HorizontalScrollView" into mnc-devAdam Powell2015-06-031-15/+9
|\
| * Properly restore RTL state in HorizontalScrollViewAdam Powell2015-06-031-15/+9
| | | | | | | | | | | | | | | | | | | | Fix an incorrect unparceling of the previous saved state in HorizontalScrollView. Remove an unneeded field in the saved state by storing scroll offset from start instead of scrollX + isRtl. Bug 20666194 Change-Id: I1ec45b3e3bd0846b5f659356df7ff94f42e61055
* | Merge "Import translations. DO NOT MERGE" into mnc-devGeoff Mendal2015-06-0377-169/+323
|\ \
| * | Import translations. DO NOT MERGEGeoff Mendal2015-06-0377-169/+323
| | | | | | | | | | | | | | | Change-Id: I8ad8251f4d867e6f2a64782541d7afba1b2bf4a7 Auto-generated-cl: translation import
* | | Merge "make WiFi No Network Periodic Scans Interval to 5 minutes" into mnc-devVinit Deshpande2015-06-032-0/+4
|\ \ \
| * | | make WiFi No Network Periodic Scans Interval to 5 minutesPierre Vandwalle2015-06-032-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:21274132 Change-Id: I751319e82deca1e40a3926fd210dd71a55a785f7 (cherry picked from commit 5fcff4ed7db9f0897d8fdae78c05cbdefe258455)
* | | | Merge "Fix build" into mnc-devDmitriy Ivanov2015-06-031-1/+1
|\ \ \ \
| * | | | Fix buildDmitriy Ivanov2015-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21602590 Change-Id: Iffb9a7b74dc97bf30aea2014b0e3d2a96097291b
* | | | | Merge "media Utils: remove parse integer logspam" into mnc-devRobert Shih2015-06-031-0/+3
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | media Utils: remove parse integer logspamRobert Shih2015-06-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21569707 Change-Id: I808ce760f55cf6aad8376bc7ca3b3c5a88cb6b01
* | | | | Merge "Fix finding views by accessibility id." into mnc-devSvetoslav2015-06-032-1/+11
|\ \ \ \ \
| * | | | | Fix finding views by accessibility id.Svetoslav2015-06-032-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. If a view has a node provider, then the latter takes over representation of the view tree. Hence, find by accessibility id should not return children of a view with a provider. 2. Views can change their importantce for accessibility, so an accessibility service may get a node and try to act on it but the node became not important in the meantime. Hence, find by accessibility id should respect importance. Change-Id: Ib4d738c00f46c91300605a2928550f40705ea47b
* | | | | | Merge "Call dispatchFinishTemporaryDetach before returning a transient view" ↵Alan Viverette2015-06-031-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into mnc-dev
| * | | | | | Call dispatchFinishTemporaryDetach before returning a transient viewAlan Viverette2015-06-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ListView caches transient state views for reuse during layout, which calls dispatchStartTemporaryDetach() before caching the view. This should always be followed by a corresponding dispatchFinishTemporaryDetach() before removing the view from the cache and returning it for reuse. While this was the case for other types of cached views, we missed this call for views placed in one of the two transient view caches. Bug: 17387206 Change-Id: I360945006558b2783c098183a7cc9bc28d05d9ab
* | | | | | | Fix logic error in CarrierService.Jonathan Basseri2015-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CarrierService is supposed to filter intents in onBind and only accept valid actions. The logic was off so that it rejected all bind attempts. This was tricky to track down because clients get no clear signal that onBind is returning null. Bug: 21571360 Change-Id: Id82fce8dfa73a75fae1ce69f73b922addc7daa3e
* | | | | | | Merge "Fix logic error in CarrierService." into mnc-devJonathan Basseri2015-06-031-4/+6
|\ \ \ \ \ \ \
| * | | | | | | Fix logic error in CarrierService.Jonathan Basseri2015-06-031-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CarrierService is supposed to filter intents in onBind and only accept valid actions. The logic was off so that it rejected all bind attempts. This was tricky to track down because clients get no clear signal that onBind is returning null. Bug: 21571360 Change-Id: If37a52e30d0c7fd0205f23595f39be3d55db69d4
* | | | | | | | Continuous brightness sliderAdrian Roos2015-06-032-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the brightness slider to have no visible steps when in auto brightness mode. Also changes mirror logic to dispatching touches instead of forwarding values. Bug: 19516826 Change-Id: Ib0233c2dcc6807da96a71d1f5619a117ca2a73bd
* | | | | | | | Merge "Lower the priority of the LazyTaskWriter thread." into mnc-devRiley Andrews2015-06-031-0/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Lower the priority of the LazyTaskWriter thread.Riley Andrews2015-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This worker thread shouldn't be prioritized at the same level as user tasks, preemptions of ui threads may result. Additionally, if we lower its priority level, it will be scheduled on more efficient cores in big little systems. Change-Id: I49a7df6fb43d6c067aeacf9ff0cbd5477cb42f7d
* | | | | | | | | Merge "SettingsLib/Wifi: Run pause/resumes on main thread" into mnc-devJason Monk2015-06-031-12/+22
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | SettingsLib/Wifi: Run pause/resumes on main threadJason Monk2015-06-031-12/+22
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid our objects from disappearing out from under us. Bug: 21581533 Change-Id: Ia6fc9e56271f79c7d8b0f86f9c35351c39c35d29
* | | | | | | | Merge "Apply contextStart consistently in getRunAdvance" into mnc-devRaph Levien2015-06-031-1/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Apply contextStart consistently in getRunAdvanceRaph Levien2015-06-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The contextStart needs to be applied to all offsets relative to the actual start of context. The code was missing "offset", which caused mischief especially in mixed LTR and RTL text. Bug: 21573666 Change-Id: I47a1b6cde5862442b9c7236ee72b2ceb0df9b2e9
* | | | | | | | | Merge "Fix NPE when requesting outsets for detached view." into mnc-devFilip Gruszczynski2015-06-031-2/+6
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix NPE when requesting outsets for detached view.Filip Gruszczynski2015-06-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Outsets are used during measure/layout pass, but this can be called on a view that is not currently attached. Bug: 21602590 Change-Id: I23e3acc45ca4bf7684d8913f839e29e8e9e94d78
* | | | | | | | | | Merge "Fix FloatingToolbar positioning for RTL." into mnc-devAbodunrinwa Toki2015-06-031-14/+19
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix FloatingToolbar positioning for RTL.Abodunrinwa Toki2015-06-031-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -The position of the toolbar was forced to the left side in an attempt to fix an RTL bug. This led to wrong positioning in LTR. This is now fixed by using a dynamic "show" animation that takes into consideration already set positions. -The correct position of the toolbar wasn't recalculated on updates for RTL. This is now fixed. Bug:21455067 Change-Id: I0b31a8fd3c95549f5f10133a47a4d3ef27689010
* | | | | | | | | | | Merge "Convert subtypes whose locale is "tl" to "fil"." into mnc-devYohei Yukawa2015-06-033-2/+28
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Convert subtypes whose locale is "tl" to "fil".Yohei Yukawa2015-06-023-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Android, "tl" is a historic hack for what should really be "fil". Now that we properly support 3-letter language codes, we should be using "fil" throughout. Given this historical usage, IMEs that really want to support Tagalog (and not Filipino) should use the ISO-639-3 code for Tagalog, which is "tgl". For backward compatibility reasons, this CL uses the similar approach to I26e3aa0333aa3c76c80a3c1c9090cc2b368c8e10. InputMethodSubtype.getLocale() continues to return the "locale" string parameter passed to the constructor as is, but in the Android framework we do normalizations/conversions whenever we need a valid ISO-639-3 code. In I26e3aa0333aa3c76c80a3c1c9090cc2b368c8e10, we rely on the conversion in the Locale constructor. In this CL, we do replace "tl" with "fil" by ourselves. This CL also adds InputMethodSubtype#getLocaleObject() a hidden API so that we can start relying on the Locale object at least in the framework. This CL is based on the investigation by Narayan Kamath and his patch. Bug: 20696126 Change-Id: I94f203bddceb9c87710cb187cc3cc0ee6d9092a5
* | | | | | | | | | | | Merge "Fix block mode numbering (CTR got added as 4 rather than 3)" into mnc-devAlex Klyubin2015-06-031-5/+3
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix block mode numbering (CTR got added as 4 rather than 3)Alex Klyubin2015-06-031-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8c886c67ba081255ef18eb0f99ca1e6003fabb33
* | | | | | | | | | | | | Merge "Import translations. DO NOT MERGE" into mnc-devGeoff Mendal2015-06-0377-899/+1072
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-06-0377-899/+1072
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I885d3ce3321af31b87a4817037557914d9679a4e Auto-generated-cl: translation import
* | | | | | | | | | | | Merge "Import translations. DO NOT MERGE" into mnc-devGeoff Mendal2015-06-0310-18/+18
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-06-0310-18/+18
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7855e24fc4715b1bf7cf978dd40b3bd66f242427 Auto-generated-cl: translation import
* | | | | | | | | | | | Merge "Import translations. DO NOT MERGE" into mnc-devGeoff Mendal2015-06-0377-0/+462
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-06-0377-0/+462
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8cb4cb369c064d934e671d9ae8086f9d079d79f3 Auto-generated-cl: translation import
* | | | | | | | | | | | Merge "Fix warning" into mnc-devJohn Reck2015-06-033-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix warningJohn Reck2015-06-033-3/+3
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21608208 Change-Id: I1d1cf1fbc8c0a4561bf76e307c56be580fb4baef
* | | | | | | | | | | | Merge "Use config.xml parameters instead of System properties." into mnc-devArunesh Mishra2015-06-033-15/+17
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Use config.xml parameters instead of System properties.Arunesh Mishra2015-06-023-15/+17
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For 'near-ultrasound' support (mic/speaker). Refer b/21072209 for details. Bug: 21072209 Change-Id: Id7131cd38288d74af8102487b2c6b03048b4ae3b
* | | | | | | | | | | | Merge "API Cleanup: Remove VideoState class." into mnc-devTyler Gunn2015-06-039-163/+123
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | API Cleanup: Remove VideoState class.Tyler Gunn2015-06-039-163/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove VideoState class. - Replace references to VideoState constants with VideoProfile equivalent. - Push VideoState static methods into VideoProfile. Bug: 21573551 Change-Id: I1bca02772b5b7d86643f612824b07faef7618725
* | | | | | | | | | | | | Merge "UsbDeviceManager: Don't unnecessarily touch properties" into mnc-devNick Kralevich2015-06-031-3/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | UsbDeviceManager: Don't unnecessarily touch propertiesNick Kralevich2015-06-021-3/+16
| | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before setting the properties persist.sys.usb.config or sys.usb.config, check the existing values. If the values are the same as what we'd set it to, don't perform the set. Any USB property set, even if setting the property to the value it already has, triggers one of the "on property" triggers in system/core/rootdir/init.usb.rc . The script then reconfigures the driver unnecessarily, which causes instability and dropped connections when trying to use ADB. Avoid this instability by not performing property sets which would have no effect. Bug: 21404762 Bug: 18905620 Change-Id: Id3c2543308df994a0114a0661e20ca799c2dc0e8
* | | | | | | | | | | | | Merge "Fix calls to Rect.intersect(Rect)" into mnc-devDoris Liu2015-06-032-5/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fix calls to Rect.intersect(Rect)Doris Liu2015-06-022-5/+5
| | |_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL checks for the return value for Rect.intersect(Rect) for whether there is actually an intersection before taking the calling rect as the intersection. In the case of no intersection (Rect.intersect(Rect) returns false), the calling rect would not have been changed, so here in this CL it will be manually set empty. Bug: 7368679 Change-Id: I7494c1a1649eca09e34412f0a59b795e8b3a82aa