234218 Commits

Author SHA1 Message Date
Chong Zhang
bcb8d82513 Do not apply stack bounds if the window is above lockscreen
bug: 27208572
Change-Id: I4cd3af47474c93180d95a2f51ac7b52a21ddd999
2016-02-26 16:23:04 -08:00
Felipe Leme
bb6939e42a Merge "Add pre-defined apps to the restrict background whitelist." into nyc-dev 2016-02-27 00:21:58 +00:00
Adam Lesinski
09c09fd345 Merge "BatteryStats: Fix issue where network traffic accounting might be lost" into nyc-dev 2016-02-27 00:15:11 +00:00
Adam Lesinski
afc79be228 AAPT: Allow duplicate attribute definitions if identical
This allows libraries to coexist a bit easier, since a lot of them
declare the same attribute. When used together they cause errors.
Bug:27101533

Change-Id: I649cf17bc587c4814f849d5ac522daf74495adcf
2016-02-26 15:57:59 -08:00
John Reck
db0fd9dfb2 Merge "Switch to pbuffer surface sooner" into nyc-dev 2016-02-26 23:53:47 +00:00
John Reck
a24b5d4811 Merge "Always swap buffers if using partial update extension" into nyc-dev 2016-02-26 23:53:23 +00:00
Aga Wronska
868c846b91 Merge "Fix SearchView background too high" into nyc-dev 2016-02-26 23:47:16 +00:00
Julia Reynolds
361e82d399 Api review: AutomaticZenRule
Bug: 27364144
Change-Id: I17fec34d7a277173820bed7829baf5bf905f327a
2016-02-26 18:44:32 -05:00
John Reck
fc736869ac Switch to pbuffer surface sooner
Bug: 27286867

If the system/app is slow, it might take too long to
stop drawing. Switch the ordering of destroying stuff so
that we switch to the pbuffer surface first, then do
cleanup

Change-Id: If64a3dbb71bb9fd53567231590436a89b2f1a09e
2016-02-26 15:43:09 -08:00
Chris Craik
83b28c0e67 Merge "Clip buffer damage to viewport bounds" into nyc-dev 2016-02-26 23:43:01 +00:00
Ruben Brunk
cfa66a2a45 DO NOT SUBMIT: Hide VR features for preview.
Bug: 26945446
Change-Id: I37e2f9f6ffc65be60bcbef4bdf87da89561ef313
2016-02-26 15:32:40 -08:00
Steve McKay
327c31383f Mark Recents as supporting CREATE.
Allows Recents as copy/move destination.
Allows Recents (create fragment) for CREATE actions.

Change-Id: I46c4792470d2361c62b26e4a66521d56ce3da474
2016-02-26 15:31:15 -08:00
Aurimas Liutikas
7849a3d785 Fix crash when restoring SearchView.
I forgot to include Parcelable.Creator when I added SearchView
iconified state saving.

Bug: 27357167
Change-Id: Ia96490aa9c12c4042f50ba4b1aeb7422b37a1d4c
2016-02-26 15:27:31 -08:00
Chris Craik
64db2bf111 Clip buffer damage to viewport bounds
bug:27287946

Change-Id: Ief3ae9c2dd92196b7d09f1b9fadf009eb228d80a
2016-02-26 15:01:25 -08:00
John Reck
c96955d9bb Always swap buffers if using partial update extension
Bug: 27379093
Change-Id: Ifda18287248e4ae07d4bf2ae9642a9d23039e81f
2016-02-26 14:58:13 -08:00
Andreas Gampe
06f0e41ebd Frameworks/base: Remove unused field
Remove an unused field in BoringLayout. This has also the positive
side effect of allowing static initialization in the boot image.

Bug: 27248115
Change-Id: I9d6beec5f5e045ef899e8979ece96e0239f82076
2016-02-26 14:47:39 -08:00
Muyuan Li
187b9b9e5b Merge "Allows components to register shortcut key." into nyc-dev 2016-02-26 22:40:36 +00:00
Jean-Michel Trivi
768d81374b Merge "Audio record notification: report audio device information" into nyc-dev 2016-02-26 22:37:34 +00:00
Muyuan Li
94ce94e960 Allows components to register shortcut key.
The registered shortcut will be called from PhoneWindowManager,
before dispatching

Change-Id: If26128939b45a639c8895719a7a23ca433f39fd9
(cherry picked from commit 4da863c5a8872dcabb179a978a2b2157d9081679)
2016-02-26 22:30:34 +00:00
Oren Blasberg
203b353018 Merge "WallpaperManager: support custom default cropper." into nyc-dev 2016-02-26 22:09:54 +00:00
Selim Cinek
df5bf6147c Decorated media notifications now also animate their actions
Bug: 24866646
Change-Id: I271be0d55270043dfc41c621911d802b37d4690f
2016-02-26 21:58:08 +00:00
Selim Cinek
b88b98477a Fixed a bug where notifications could stay dark
The check whether dark changed was always done
on the notification itself, ignoring that the
contentviews actually also have a check whether it
changed, leading to potential problems that this state
became out of date. In addition did we assume that whenever
an update comes in the text becomes normal, which is
not true for an inline update. This hopefully fixes things once
and for all! I said once and for all!

Bug: 27147160
Change-Id: Idd68be8da0f648cf79102544b038065618c1d0ff
2016-02-26 21:57:40 +00:00
Sandra Kwan
6fe181abd2 Merge "AccountManager: fix residue data when authenticator is uninstalled." into nyc-dev 2016-02-26 21:51:49 +00:00
Felipe Leme
a9505cc39b Add pre-defined apps to the restrict background whitelist.
System config can defined apps to be automatically whitelisted for
restricted background data, but the user can remove the whitelist.

Implementation-wise, NPMS now keeps a list of
<revoked-restrict-background> UIDs in the netpolicy.xml file, and when
it starts it compares the UIDs returned by SystemConfig against this
list, and only whitelist them if they are not revoked. The
revoked-restrict-background is then updated as users change the
whitelist status of UIDs.

BUG: 27366993

Change-Id: I427024fd058924fc9831e409da6636e1bf8e4219
2016-02-26 13:37:21 -08:00
Aga Wronska
95f44e8f8e Merge "Clear selection mode when changing root" into nyc-dev 2016-02-26 21:32:27 +00:00
Aga Wronska
d559743a0d Clear selection mode when changing root
Bug: 27364691, 27142316
Change-Id: I961f3eef67b51a2de999d34edbacd21e4b51c2a4
2016-02-26 13:26:35 -08:00
Ronghua Wu
f2615b8b33 media: define HEVCProfileMain10HDR10
Bug: 25684127
Change-Id: I9679eaab9b02aeede3e488d33279477a45887b63
2016-02-26 13:22:52 -08:00
Wale Ogunwale
503d1ccce9 Merge "Clear starting window request if remove is requested before it is added" into nyc-dev 2016-02-26 21:22:11 +00:00
Oren Blasberg
60598ea0aa WallpaperManager: support custom default cropper.
If the component name is specified by the OEM, that component is used
as the default (fallback) cropper rather than
com.android.wallpapercropper.

Bug: 26084319
Change-Id: I5c79beb8e84721944e752bda637cdf0377b8d826
2016-02-26 13:19:30 -08:00
John Reck
79722c27c6 Merge "Don't lose mInitialized in onStop()" into nyc-dev 2016-02-26 21:00:27 +00:00
John Reck
f4db3d253e Don't lose mInitialized in onStop()
Bug: 27350647
Change-Id: I74e6427ac4030645c416efb24948efdbdc90fa1c
2016-02-26 12:58:17 -08:00
Phil Weaver
8c8e55904a Merge "Control magnification only with the setting." into nyc-dev 2016-02-26 20:57:46 +00:00
Julia Reynolds
01e81117a9 Merge "Api review: NotificationManager" into nyc-dev 2016-02-26 20:56:27 +00:00
Julia Reynolds
1adc816f2d Merge "Api review: Notification.Builder" into nyc-dev 2016-02-26 20:52:21 +00:00
Chong Zhang
fd3d5e92ea Merge "Do not stop window if preserving the window" into nyc-dev 2016-02-26 20:52:17 +00:00
Jorim Jaggi
a8914a0096 Merge "App transition delay tracking" into nyc-dev 2016-02-26 20:51:40 +00:00
Julia Reynolds
0edb50c4bf Api review: NotificationManager
Bug: 27365672
Change-Id: Ic0fd82fb9442d10d6b308182a3859497aa882d07
2016-02-26 15:44:41 -05:00
Julia Reynolds
3b84812271 Api review: Notification.Builder
Bug: 27364889
Change-Id: I95cee3336f1adb64e37e71a9ab40e68feb1d9c5b
2016-02-26 15:44:02 -05:00
Doris Liu
77df9cba77 Merge "DrawVectorDrawableOp for old rendering pipeline" into nyc-dev 2016-02-26 20:40:36 +00:00
Chong Zhang
7687f25e58 Do not stop window if preserving the window
bug: 27350647
Change-Id: I670d2641ee7e600a6ea46f7b329afd4df10a3862
2016-02-26 12:37:00 -08:00
Paul Mclean
c3f6a8e066 Merge "Fix unitialized member/init-parameter in AudioTrack(long) and AudioRecord(long)." into nyc-dev 2016-02-26 20:24:38 +00:00
Paul McLean
c707966397 Fix unitialized member/init-parameter in AudioTrack(long) and AudioRecord(long).
Bug: 27381351

Change-Id: Ia11c13bde978dbf1707439b82a18abf22fe23f2f
2016-02-26 13:13:02 -07:00
Doris Liu
14b56a514c DrawVectorDrawableOp for old rendering pipeline
Bug: 27371430
Change-Id: I068d8023812173526ac98d11b903f82e0a66d9c2
2016-02-26 11:39:12 -08:00
Phil Weaver
6cb67af65f Control magnification only with the setting.
Don't turn off magnification if gestures are enabled.

Bug: 26571116
Change-Id: I8dafcd4eef50bfa8f9474bf98637f8e54f3527e1
2016-02-26 11:34:35 -08:00
Aga Wronska
f6fde7e044 Merge "Don't translate our trusted quick view package val." into nyc-dev 2016-02-26 19:30:00 +00:00
Steve McKay
0a544d5aeb Don't translate our trusted quick view package val.
Change-Id: I74574e38705940b72be8afc8e3ec163fb6ccdef4
2016-02-26 11:27:09 -08:00
Steve McKay
9e6fb96f8f Don't translate our trusted quick view package val.
Change-Id: I74574e38705940b72be8afc8e3ec163fb6ccdef4
2016-02-26 11:21:56 -08:00
Jorim Jaggi
275561a746 App transition delay tracking
Add TRON logging for all kinds aspects when we execute an app transition.

Bug: 27295491
Change-Id: Icb0cbdb92d4d5fbfedadd40a017a50eb217058aa
2016-02-26 14:15:00 -05:00
Jean-Michel Trivi
8ab728093e Audio record notification: report audio device information
Support querying the AudioDeviceInfo in AudioRecordConfiguration.
When AudioService (through RecordingActivityMonitor) receives
  a recording event on an existing session, report it as an
  update if the recording configuration has changed.

Bug 22876530

Change-Id: I1b72c08aa0589077fe8ad254087965e6384ce50a
2016-02-26 11:11:30 -08:00
Selim Cinek
a94742c7f9 Merge "Added convenience methods to use chronometer countdown methods" into nyc-dev 2016-02-26 19:05:04 +00:00