Commit Graph

245370 Commits

Author SHA1 Message Date
TreeHugger Robot
34ccbe035a Merge "Update DisplayMetrics when resizing" into nyc-dev 2016-06-24 23:35:13 +00:00
TreeHugger Robot
119f1715b3 Merge "Fix layout issue after insets changed" into nyc-dev 2016-06-24 23:21:29 +00:00
TreeHugger Robot
8afc1f70f0 Merge "PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL." into nyc-dev 2016-06-24 22:43:32 +00:00
Adam Lesinski
ac3e0e590a Update DisplayMetrics when resizing
Previously the DisplayMetrics passed to a new ResourcesImpl
object would be generated from the default DisplayAdjustments.
We now use the correct DisplayAdjustments for the ResourcesImpl
and make sure to update them for things like rotation changes.

Bug:29619314
Change-Id: If2ba0d7670a4554dcd3fde9766e2337f20a191fd
(cherry picked from commit 8e8d23214a)
2016-06-24 22:11:27 +00:00
Yorke Lee
c63710ea48 Merge "Update documentation for View.startDragAndDrop" into nyc-dev 2016-06-24 22:10:47 +00:00
Adam Powell
76fdbb72c9 Fix layout issue after insets changed
Fix a regression where a change in insets would forceLayout on the
view hierarchy but not run the measure/layout as a result. This would
cause layout requests to become stalled until a window-level relayout
event.

Bug 29634368

Change-Id: Ia3f32f5891c8b32c06c13f95ebd0572233572b04
2016-06-24 14:47:06 -07:00
Robert Carr
489c39d2db PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL.
When we want the WindowManager to clip our requested width/height
to the display frame, we need to pass DISPLAY_CLIP_VERTICAL/HORIZONTAL.
It seems this behavior was unintentionally applied without this flag
in previous releases.

Bug: 29602363
Change-Id: Ib98060e36efde0dbaabb59a758da5374035dbb62
2016-06-24 14:07:20 -07:00
Min Yun
de383c75eb Reapply more strings for "more settings"
Fixes: 29620816

Change-Id: Iabfcb3b762e1d7d105d2b4c417fc0902d7e7ca16
2016-06-24 18:28:17 +00:00
Daniel Yu
aa67ac1817 resolve merge conflicts of ac5b340 to nyc-dev
Change-Id: I3a7af34cdf7656896a3895c61c8c58d6f8f094a0
2016-06-24 11:13:40 -07:00
Daniel Yu
ac5b340487 Merge \"docs: Fixing MediaSession note in PIP preview docs\" into mnc-io-docs
am: daaf8e7f1c

Change-Id: I310823425b0706bdf4221e266a87e9c9aa66dd95
2016-06-24 16:37:45 +00:00
Dan Yu
daaf8e7f1c Merge "docs: Fixing MediaSession note in PIP preview docs" into mnc-io-docs 2016-06-24 16:26:13 +00:00
Bill Yi
34f5924ca6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 29578243
Change-Id: Ibfcaf1dcbb2cc51dcec359edb8525a2a56ab1231
2016-06-24 08:33:56 -07:00
Julia Reynolds
9c0c3d8d8b Always reapply strings.
Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816
2016-06-24 12:49:29 +00:00
TreeHugger Robot
f1dc57ea63 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-24 05:44:42 +00:00
TreeHugger Robot
2bc13bcdad Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-24 05:44:10 +00:00
Adrian Roos
594c9cb356 Merge "Improve ANR dropbox reports" into nyc-dev 2016-06-24 01:57:43 +00:00
Adrian Roos
73d1ce85ac Improve ANR dropbox reports
Work towards better diagnosing b/29501073. Adds logic to ensure that the dropbox
entry generated for ANRs fits at least some part of the logcat before the MAX_DROPBOX_SIZE
mark. Also reduces the MAX_DROPBOX_SIZE to be better match size restrictions.

Bug: 29501073
Change-Id: Ice5599582cbb536b7d81aa0c0340ff753ca86ebf
2016-06-23 18:28:37 -07:00
Brad Ebinger
dcbdc0df43 Access internal ringer mode to properly vibrate in DND
Currently, an incoming call will not vibrate properly in certain cases
in DND mode. Specifically, if Priority Only mode is set, but Calls from
anyone are allowed. We now get the internal ringer mode to detect if the
incoming call is ringing while in DND mode.

Bug: 29184073
Change-Id: I1e0e7cf384a2bc1df1378043cd3f7e9dec57a94c
2016-06-24 00:48:14 +00:00
Bill Yi
267c1c6260 Import translations. DO NOT MERGE
Change-Id: If580d6129a5e7b06ee111f866e42b708ebdc7c00
Auto-generated-cl: translation import
2016-06-23 17:07:49 -07:00
Bill Yi
a8ddc9381d Import translations. DO NOT MERGE
Change-Id: I097961ae9532f937a043293eef06ac0a87ea021c
Auto-generated-cl: translation import
2016-06-23 16:34:21 -07:00
Hemal Patel
391e0808d6 Docs: Fixed wrong link text am: 9e9d2c7fba
am: 1727bb369e

Change-Id: I655d77ccdc8586b348bd61309cd8cfba012113b8
2016-06-23 22:59:38 +00:00
Hemal Patel
1727bb369e Docs: Fixed wrong link text
am: 9e9d2c7fba

Change-Id: I0d66075bb75a2f4cc809d2df698c4acec5234187
2016-06-23 22:54:30 +00:00
Scott Main
fd0eeb0379 Merge "fix bad contrast in table links by switching to normal table cells instead of headings." into nyc-dev 2016-06-23 21:57:52 +00:00
TreeHugger Robot
9ea3916063 Merge "Fix guts are not bound properly." into nyc-dev 2016-06-23 21:45:59 +00:00
TreeHugger Robot
cdd43d7270 Merge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev 2016-06-23 21:26:34 +00:00
TreeHugger Robot
8fe82686ef Merge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev 2016-06-23 21:25:33 +00:00
Jason Monk
1427bb3dc0 Merge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev 2016-06-23 20:52:50 +00:00
Hemal Patel
9e9d2c7fba Docs: Fixed wrong link text
Fixed the link text of the
AnimatorInflater.loadStateListAnimator method to display the
correct name of the class.

Bug: 24599015
Change-Id: I914e4152a5999544ff167c54959276180a7a1003
2016-06-23 13:07:06 -07:00
Min Yun
175559a28b Fix guts are not bound properly.
When binding importance to guts, applying findViewById
to ExpandableNotificationRow of group's parents could
cause to return the reference of child notications's guts
which also has the same id. As a result guts are
not bound properly, and show weird guts.

Fixes: 29452827
Change-Id: Iaf8ee74b988bf41680857e9c3c3ae9e3bd8e4e1b
2016-06-23 19:53:11 +00:00
Adrian Roos
07215350f9 HUN: Close RemoteInputView when Home is pressed
CLOSE_SYSTEM_DIALOGS usually dismisses the notification shade,
but that's not the case for HUNs because the shade is not actually
open. However, CLOSE_SYSTEM_DIALOGS will now close the Direct Reply
even with HUNs.

Change-Id: If8e5115e33f93db0f8b4e442331ea3d60fc0c63d
Fixes: 29583313
2016-06-23 12:51:38 -07:00
TreeHugger Robot
b3ad74eb46 Merge "QS: Fix hotspot refreshing state" into nyc-dev 2016-06-23 19:33:17 +00:00
Yorke Lee
d092e3a414 Update documentation for View.startDragAndDrop
Bug: 29606395
Change-Id: Ibbe1a20c998986c7afffac6f5f4b25769f56a8f2
2016-06-23 12:23:22 -07:00
smain@google.com
10e29b895e fix bad contrast in table links by switching to normal table cells instead of headings.
Change-Id: I91139ac2f01a9e099ffb5f65f4579a0b33ced5ab
2016-06-23 12:09:30 -07:00
Jason Monk
6edbefdd54 QS: Hacks to fix bigger problems in TileService binding
Bug: 29121793
Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999
2016-06-23 14:59:22 -04:00
Lajos Molnar
b28b99a425 media: update getAchievableFrameRatesFor javadoc
Bug: 28752802
Change-Id: I1c04ae7c3f9f15f84ff185af8d8f3c89958f5595
2016-06-23 18:47:54 +00:00
John Reck
db13dd41a9 Merge "Remove FD from the right Looper" into nyc-dev 2016-06-23 18:32:11 +00:00
TreeHugger Robot
060d5a0e0a Merge "When uninstalling, only kill the requested user." into nyc-dev 2016-06-23 18:03:27 +00:00
John Reck
ac04f4e69a Remove FD from the right Looper
Bug: 29586513

Also gives BackdropFrameRenderer a direct-destroy
of Choreographer since it's hammering on new Threads
and we don't want to wait for the GC to release
FDs.

Change-Id: Id2ec0af2ee4d5304961c4ab87a104ccb92f35fc2
2016-06-23 11:00:00 -07:00
Bert McMeen
f829cb954a Docs: Update Auth section of API Overview am: 480b523c8e
am: 773ad4f422

Change-Id: Iad796f9112ee003559ccfab899be75b0ab1734f4
2016-06-23 17:31:45 +00:00
Bert McMeen
773ad4f422 Docs: Update Auth section of API Overview
am: 480b523c8e

Change-Id: I847679daad0f69c196bc26661b49efd2548de87f
2016-06-23 17:26:46 +00:00
Jason Monk
94f682edd0 QS: Fix hotspot refreshing state
Change-Id: I40e693d154d5481959f63d555191d2c88f3d1b97
Fixes: 29518006
2016-06-23 13:23:01 -04:00
Bert McMeen
480b523c8e Docs: Update Auth section of API Overview
Bug: 28268899
Change-Id: I7e52ae0dd6ea189c28a177cd943b008dc75fda9c
2016-06-23 09:56:51 -07:00
Jeff Sharkey
85f449eaba When uninstalling, only kill the requested user.
When an app is being uninstalled for a specific user, only kill the
app under that user; leave the app running under other users.

Bug: 28875343
Change-Id: Ie60753cfd22df10a2b17d8c3732b6f19d2fe1fb9
2016-06-23 10:15:17 -06:00
TreeHugger Robot
7aac630f8e Merge "Don't loop forever on 0-length options." into nyc-dev 2016-06-23 08:10:17 +00:00
Lorenzo Colitti
8995d85b94 Don't loop forever on 0-length options.
A malformed RA could cause the Ra constructor in ApfFilter to
enter an infinite loop while holding the class lock. This blocks
IpManager until reboot and drains the battery.

Bug: 29586253
Change-Id: Idaa46b3bc50371db076630881883807c2fa21674
2016-06-23 15:43:34 +09:00
Greg Kaiser
94b61cb340 Merge "Sensor: Make getId() more varied" into nyc-dev 2016-06-23 03:25:46 +00:00
Dianne Hackborn
576e6d27bd Merge "Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)" into nyc-dev 2016-06-23 03:04:26 +00:00
TreeHugger Robot
42147f0ff3 Merge "Don't compare intent filters on singleTask adjacent launch" into nyc-dev 2016-06-23 02:17:24 +00:00
TreeHugger Robot
737be111cc Merge "Do not launch non exposed add printer activity" into nyc-dev 2016-06-23 01:51:08 +00:00
Andrii Kulian
354c8cde6c Merge "Show unsopported display size dialog on relaunch" into nyc-dev 2016-06-23 01:00:36 +00:00