197203 Commits

Author SHA1 Message Date
Jorim Jaggi
588932a53e Always wait for the main app window before starting a transition
When waiting for all the windows that belong to an activity, we
skipped the main window, in case it didn't had a surface yet. This
was a problem because with SurfaceViews: They set it's visibility
extremely early in the app visibility change cycle. Then, they use
another thread to draw content. Thus, they have drawn their first
frame pretty fast, where the main thread might still be in the
activity lifecycle phases. Then, we don't even have a surface for the
main window yet, but we start the app transition already because we
think the only interesting window for this app token is the
SurfaceView, which has already drawn.

Bug: 22207948
Change-Id: I708add3aab00575ae1707b25622b9b4614472892
2015-07-07 19:27:29 +00:00
Deepanshu Gupta
008e1fb9ed Update intellij project for tools-common sources.
Use the sources.jar for tools-common instead of the environment
variable.

Change-Id: Ia1a3e8c32f66610e761bacce08c7eb5915e7ed0f
2015-07-07 12:24:47 -07:00
Deepanshu Gupta
61f23e9bf7 Implement tools:list_item for RecyclerView.
It's now possible to use tools:list_item attribute for RecyclerView to
point to a default layout, rather than always using a TextView.

Change-Id: I5d522b2f0ca38b420fddfcb0f73a26d95707da79
2015-07-07 12:24:10 -07:00
Chris Craik
df134e8722 am 54d1f043: Merge "Simplify matrix copy constructor/load" into mnc-dev
* commit '54d1f0439eb0fef47e9e9c7ac3d6ec5b283c4793':
  Simplify matrix copy constructor/load
2015-07-07 19:22:34 +00:00
Selim Cinek
7e675645a9 Merge "Fixed keyguard affordances" into mnc-dev 2015-07-07 19:19:05 +00:00
Chien-Yu Chen
12a8385b7e Camera2: implement Key.toString()
Implement toString() for CameraCharacteristics.Key,
CaptureResult.Key, and CaptureRequest.Key.

Bug: 22279124
Change-Id: Ib1076e3f6d7bcbffbb148a7a01f72133daccebb8
2015-07-07 12:17:22 -07:00
Chris Craik
54d1f0439e Merge "Simplify matrix copy constructor/load" into mnc-dev 2015-07-07 19:09:43 +00:00
Alex Klyubin
eb9c86131e am 024bce82: Merge "Support loading AES keys with authorized digests." into mnc-dev
* commit '024bce82292786f9b71da488f06a0bb35d029bbf':
  Support loading AES keys with authorized digests.
2015-07-07 19:05:00 +00:00
Andrew Solovay
da2b00acfa am a5c82a6b: am 4357181d: am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
* commit 'a5c82a6b2adfbad7ac9009fa6feba3e02dad0c04':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions
2015-07-07 18:56:15 +00:00
Chris Craik
268ad521b3 am 6ef57e97: Merge "Don\'t update DisplayLists when dumping" into mnc-dev
* commit '6ef57e974144e05e83ee1bd00f705f0f409f48b3':
  Don't update DisplayLists when dumping
2015-07-07 18:56:11 +00:00
Alex Klyubin
024bce8229 Merge "Support loading AES keys with authorized digests." into mnc-dev 2015-07-07 18:54:33 +00:00
Robert Greenwalt
6e4a98f870 Fix permissions on TelephonyManager
bug:19257083
Change-Id: I063d36bbe7ece9d83aac7c490d1b44e55da2c286
2015-07-07 11:52:15 -07:00
Ajay Dudani
84dce3c9a8 UsbDeviceManager: Add back support for persistent property
Take into account the value of persist.sys.usb.config when updating
sys.usb.config. The persistent prop can hold information regarding
additional enumerations required for the device.

Bug: 21929369
Change-Id: Ic11ebf62ce114f2d0a097ad4405de71173b23139
2015-07-07 11:51:15 -07:00
Andrew Solovay
a5c82a6b2a am 4357181d: am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
* commit '4357181d236bf189ea7855755803275160447423':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions
2015-07-07 18:46:05 +00:00
Chris Craik
6ef57e9741 Merge "Don't update DisplayLists when dumping" into mnc-dev 2015-07-07 18:42:15 +00:00
Dongwon Kang
d2ed690187 MediaSessionManager: make the binder implementation static
Removing references to application resources on unregistering so that they
can be GCed as ealry as possible.

Bug: https://code.google.com/p/android/issues/detail?id=161398
Change-Id: Icc083f4a58bb5e738aa662247dc83d021a9dc5c3
2015-07-07 11:40:51 -07:00
Andrew Solovay
4357181d23 am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
* commit 'e44b86b23bc15ccf2016e044bfa5d23c177a1d3b':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions
2015-07-07 18:29:08 +00:00
xin He
39f92a9355 am 053b407b: Merge "wifi: Fix softAP turn-ON issue in statically loaded driver" into mnc-dev
* commit '053b407b7487fef3f6e71019c1fbe36ef7a4de50':
  wifi: Fix softAP turn-ON issue in statically loaded driver
2015-07-07 18:28:42 +00:00
xin He
053b407b74 Merge "wifi: Fix softAP turn-ON issue in statically loaded driver" into mnc-dev 2015-07-07 18:13:58 +00:00
Alan Viverette
1638133b3f Never fully detach header or footer views in AbsListView
AbsListView has special handling of header and footer views that avoids
full attachment; however, we still need to fully detach and reattach
non-header/footer views that cannot be recycled.

Bug: 22239425
Bug: 22238597
Bug: 22214485
Change-Id: Iae5f954fc76522c0a52d0c25e19985ae0196efa2
2015-07-07 11:04:32 -07:00
Andrew Solovay
e44b86b23b docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions
Per communication from Ben, READ_EXTERNAL_STORAGE was incorrectly
marked as a 'normal' permission in preview 1, and is properly
changed to 'dangerous' for preview 2. Updating the docs accordingly.

See first comment for doc stage location.

Change-Id: I0f824fb9689d2e7323e505b0200fda23eaa71eed
2015-07-07 10:57:55 -07:00
Christopher Tate
2fe00adc02 Clean up obsolete pending timeout after restoring package metadata
Bug 22040047

Change-Id: I460dbcc50a45d794392beb9ff4a4358c05c87e07
2015-07-07 10:46:10 -07:00
Chris Craik
356b5fe086 Don't update DisplayLists when dumping
bug:22234438

Updating the displaylist is invalid since this debug method isn't
called on the UI thread, and it defeats the purpose of seeing what
the hierarchy is currently rendering.

Change-Id: I10c5cc6dbae8d304559dfc6e863b0ede158d554f
2015-07-07 10:39:39 -07:00
Chris Craik
d2bfcc74fc Simplify matrix copy constructor/load
bug:22208220

Change-Id: Id096eb8de8da0dd1687d6af9456b16ce2a1a589b
2015-07-07 10:09:35 -07:00
Zoltan Szatmary-Ban
72027d2e42 Expose time-interval detail query on INetworkStatsSession
Also, force polling when a session is opened for NetworkStatsManager.

Bug: 21864554
Bug: 21754685
Change-Id: I24ea822c2d5bc1421ec7ee65d0cfe27cf02dd69e
2015-07-07 17:36:54 +01:00
Robin Lee
5f95520cfd Use 'dp' paddings instead of 'mm' for VPN dialogs
The values had gradually shifted away from what they need to be to
line up with other UI elements (ie. title bar)

Bug: 22314161
Change-Id: I03fd15632db02b723348e42066f9e45158eae148
2015-07-07 09:26:24 -07:00
Etan Cohen
bbf40aeab3 Add ACCESS_IMS_CALL_SERVICE hidden permission.
Bug: 17361897
Change-Id: I2b3ef57c647204d981ada9c8bd4f92fbbd3fc748
2015-07-07 09:10:54 -07:00
Ian Pedowitz
13c2a4f53d am 937edac8: Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
* commit '937edac8e8583023019b625dd426ebf65169e30d':
  Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
2015-07-07 15:57:16 +00:00
Jason Monk
87b86a2d54 am 46c272d6: Merge "Don\'t dismiss volume during animation" into mnc-dev
* commit '46c272d6bfc0dd5bbeeb536a9057fa18b754f9ba':
  Don't dismiss volume during animation
2015-07-07 15:50:06 +00:00
Jason Monk
9dc0cc0056 am f18ed45f: Merge "Fix to work statusbar configs as mcc/mnc" into mnc-dev
* commit 'f18ed45faf24fdc45ce7c158d46d8ab25d39a6e3':
  Fix to work statusbar configs as mcc/mnc
2015-07-07 15:50:02 +00:00
John Reck
dfbae1f993 am 15b64099: Merge "Adjust for pipeline stalls" into mnc-dev
* commit '15b64099a440a5f6256f4c51c6d9ae13a754f94d':
  Adjust for pipeline stalls
2015-07-07 15:49:55 +00:00
Zoltan Szatmary-Ban
bf3079917a am 41df5bfc: Merge "Update javadoc on DPM.setGlobalSetting" into mnc-dev
* commit '41df5bfc0d50d36cb2c46d539043813bebbb1289':
  Update javadoc on DPM.setGlobalSetting
2015-07-07 15:49:49 +00:00
Richard Coles
2bb6828839 am fad2e49c: Merge "Add WebView permission MIDI sysex" into mnc-dev
* commit 'fad2e49c425e2cae88c297cb6cf2ac42e5f6fdd8':
  Add WebView permission MIDI sysex
2015-07-07 15:49:44 +00:00
Esteban Talavera
0e9ffff458 am 5a81b61e: Merge "Notify the profile when cloned settings are changed." into mnc-dev
* commit '5a81b61e879d7f6031c28d0d89d4b785654d2a00':
  Notify the profile when cloned settings are changed.
2015-07-07 15:49:39 +00:00
Andrei Stingaceanu
bb09a7cd09 am bc687f96: Merge "Drag handles persist after lost focus in extracted mode" into mnc-dev
* commit 'bc687f96c74bd164f5d030cebe80d38274ca336c':
  Drag handles persist after lost focus in extracted mode
2015-07-07 15:49:34 +00:00
Ian Pedowitz
6d45f2793e am 5bc88b9f: Merge "Final resource IDs." into mnc-dev
* commit '5bc88b9f46a17d6578d8f8a8b93c7c607d06e063':
  Final resource IDs.
2015-07-07 15:48:57 +00:00
Abodunrinwa Toki
0bb0e22619 am 4603bd34: Merge "FloatingToolbar: Offset visible rect by the rootview\'s offset" into mnc-dev
* commit '4603bd34ce8a5557729e3912a081ec9f8c0d7ab5':
  FloatingToolbar: Offset visible rect by the rootview's offset
2015-07-07 15:48:48 +00:00
Wale Ogunwale
35a57f81a9 Cleaned-up logic for determining clip rect for transitions animations.
Previous logic led to several edge cases which fixes sometimes broke
other edge cases. New logic uses the clip rect provided by the
transformation as-is and doesn't try to adjust it based on window
flags. Correct clip rect is set in
WindowManagerService#applyAnimationLock using the content insets
before the animation is loaded.

Bug: 21727851
Bug: 20652683
Bug: 19523205
Bug: 15046646
https://code.google.com/p/android/issues/detail?id=161362
Change-Id: I2d4ed6196edb8ee8c401fe9a242aec70d3494574
2015-07-07 08:40:43 -07:00
Ian Pedowitz
937edac8e8 Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
This reverts commit d6b404c72da7e2475508c7d5948494b2e9b1a262.

This CL seems to have broken the build, causing GMSCore to continuously
crash.

Bug: 22313634
Bug: 22312938
Bug: 22314605
Bug: 22308392
Bug: 22307889
2015-07-07 08:32:44 -07:00
Dirk Dougherty
8bfd82c538 Doc change -- update trade practices link.
Change-Id: I40cc12831a9ae75289434aa2fc23a5001f87e619
2015-07-07 08:26:11 -07:00
Jason Monk
46c272d6bf Merge "Don't dismiss volume during animation" into mnc-dev 2015-07-07 14:34:59 +00:00
Jason Monk
f18ed45faf Merge "Fix to work statusbar configs as mcc/mnc" into mnc-dev 2015-07-07 14:34:47 +00:00
John Reck
15b64099a4 Merge "Adjust for pipeline stalls" into mnc-dev 2015-07-07 14:08:49 +00:00
Sungmin Choi
6be4f6b18d Fix to work statusbar configs as mcc/mnc
Call handleConfigurationChanged() at the end of
PhoneStatusBar#onConfigurationChanged to update statusbar configs.

BUG: 22215928
Change-Id: I7329d4949a8a47717ea037cf007ef0baa63507bd
2015-07-07 09:35:36 -04:00
Zoltan Szatmary-Ban
b2eb6b9049 Prevent accidental unlocking of USB data transfer.
When DISALLOW_USB_FILE_TRANSFER is in effect, there must be no chance to
unlock data transfer over USB.

Bug: 22291579
Change-Id: I990fedbfeecd90e7dd26981034d0352b83dc694e
2015-07-07 13:24:59 +01:00
Zoltan Szatmary-Ban
41df5bfc0d Merge "Update javadoc on DPM.setGlobalSetting" into mnc-dev 2015-07-07 10:17:07 +00:00
Richard Coles
fad2e49c42 Merge "Add WebView permission MIDI sysex" into mnc-dev 2015-07-07 10:15:17 +00:00
Esteban Talavera
5a81b61e87 Merge "Notify the profile when cloned settings are changed." into mnc-dev 2015-07-07 09:27:27 +00:00
Andrei Stingaceanu
bc687f96c7 Merge "Drag handles persist after lost focus in extracted mode" into mnc-dev 2015-07-07 09:14:37 +00:00
Ian Pedowitz
5bc88b9f46 Merge "Final resource IDs." into mnc-dev 2015-07-07 06:13:14 +00:00