Commit Graph

62403 Commits

Author SHA1 Message Date
Erik Kline
e96834c583 Merge "Support registering a request for the default network" into nyc-dev
am: d36ba73

* commit 'd36ba73ffc88cf20f5cd70e21271ce0ee35c838f':
  Support registering a request for the default network
2016-03-22 07:30:50 +00:00
Erik Kline
a2d29407d0 Support registering a request for the default network
Change-Id: I079f5be97b585cf5692dd4c7a144b993d168a9a5
2016-03-22 15:44:16 +09:00
Lorenzo Colitti
7ceb8f5382 Merge "Remove framework code that calls SIOCKILLADDR" into nyc-dev
am: e6109dd

* commit 'e6109ddd3ee52f22c95e5284c325602fbdd5159f':
  Remove framework code that calls SIOCKILLADDR
2016-03-22 05:44:26 +00:00
Lorenzo Colitti
e6109ddd3e Merge "Remove framework code that calls SIOCKILLADDR" into nyc-dev 2016-03-22 05:37:09 +00:00
Lorenzo Colitti
ed7bf2e04e Remove framework code that calls SIOCKILLADDR
Bug: 26976388
Change-Id: I652361d9e650a77085070d6c26b28b7638ba2dfe
2016-03-22 12:54:32 +09:00
Jakub Pawlowski
c9d13c3e3e Use handles to identify GATT attributes (4/4)
Bug: 27778668
Change-Id: I01e095939df2f8dc433f14b473957c815ecade74
2016-03-21 20:10:54 -07:00
Jakub Pawlowski
bf0faed359 Change how services are passed up to the stack
Right now we pass all services, characteristics and descriptors one by one.
This patch changes that - now we pass whole GATT database at once.

Bug: 27455533
Change-Id: Ie42cd80072538e411904b9c9b011a978f26158b9
2016-03-21 19:58:27 -07:00
Jakub Pawlowski
ee5f0694f5 Merge "Use handles to identify GATT attributes (4/4)" am: f8cba89
am: 9ab424a

* commit '9ab424a9fb8e72c4f1e0cbd8f67eb351e8731ef4':
  Use handles to identify GATT attributes (4/4)
2016-03-22 02:45:12 +00:00
Jakub Pawlowski
9ab424a9fb Merge "Use handles to identify GATT attributes (4/4)"
am: f8cba89

* commit 'f8cba89883b8fecb2d392444daa97703c2840874':
  Use handles to identify GATT attributes (4/4)
2016-03-22 02:42:29 +00:00
Daichi Hirono
87d445b958 Merge "Add USB_HOST_CONNECTED extra to ACTION_USB_STATE sticky intent." into nyc-dev
am: fe39386

* commit 'fe39386a967976c6e9dd06af03be72c6b88544b6':
  Add USB_HOST_CONNECTED extra to ACTION_USB_STATE sticky intent.
2016-03-22 01:57:00 +00:00
Daichi Hirono
fe39386a96 Merge "Add USB_HOST_CONNECTED extra to ACTION_USB_STATE sticky intent." into nyc-dev 2016-03-22 01:21:13 +00:00
Jakub Pawlowski
a9e27ec0ab Use handles to identify GATT attributes (4/4)
Bug: 27778668
Change-Id: I01e095939df2f8dc433f14b473957c815ecade74
2016-03-22 00:39:28 +00:00
Christopher Tate
924f6d87da Merge "Add API to read the current wallpaper\'s ID" into nyc-dev
am: c823df1

* commit 'c823df1435b6e660a2ed2f345a28b1f391378f0f':
  Add API to read the current wallpaper's ID
2016-03-22 00:07:23 +00:00
Chris Tate
c823df1435 Merge "Add API to read the current wallpaper's ID" into nyc-dev 2016-03-22 00:03:14 +00:00
Wale Ogunwale
acd060d6cb Merge "Don\'t finish resolver activity onStop if it is for home intent" into nyc-dev
am: b2303dd

* commit 'b2303ddd0516881342067114d141bb8493997776':
  Don't finish resolver activity onStop if it is for home intent
2016-03-21 22:58:45 +00:00
Yohei Yukawa
1b817b668c Merge "Add a comment about ResultReceiver lifetime." into nyc-dev
am: b8a95d2

* commit 'b8a95d2c9a69c39b7a74bdfea243526b7087db63':
  Add a comment about ResultReceiver lifetime.
2016-03-21 22:53:19 +00:00
Wale Ogunwale
b2303ddd05 Merge "Don't finish resolver activity onStop if it is for home intent" into nyc-dev 2016-03-21 22:53:10 +00:00
Yohei Yukawa
b8a95d2c9a Merge "Add a comment about ResultReceiver lifetime." into nyc-dev 2016-03-21 22:45:21 +00:00
Christopher Tate
e409f0e462 Add API to read the current wallpaper's ID
Also regularize cross-user call handling throughout.

Bug 27743435

Change-Id: Ibc530d0576d657723a613888357a6ea71b482763
2016-03-21 15:32:57 -07:00
Jeff Sharkey
61b1040c9e Merge "Ignore wildcard network policies." into nyc-dev
am: c57fc47

* commit 'c57fc4787f5aadb129686e904b86d343c8ae3541':
  Ignore wildcard network policies.
2016-03-21 21:19:15 +00:00
Jeff Sharkey
c57fc4787f Merge "Ignore wildcard network policies." into nyc-dev 2016-03-21 21:11:57 +00:00
doheon1.lee
2969a453f0 Merge "Changes of root storage space unmounting time on Zygote Process"
am: 2a87493

* commit '2a8749354a7d9759e91bf0885f58cfc40081d846':
  Changes of root storage space unmounting time on Zygote Process
2016-03-21 21:11:56 +00:00
Elliott Hughes
2a8749354a Merge "Changes of root storage space unmounting time on Zygote Process" 2016-03-21 21:06:09 +00:00
Alan Viverette
d9d5cd32ab Merge "Set drawable callbacks last" into nyc-dev
am: f2e6a10

* commit 'f2e6a10b3816111353a88d1588cc7edcb1e90d08':
  Set drawable callbacks last
2016-03-21 20:28:48 +00:00
Alan Viverette
f2e6a10b38 Merge "Set drawable callbacks last" into nyc-dev 2016-03-21 20:25:14 +00:00
Wale Ogunwale
99ef1dbbe9 Merge "Added support to specify animation duration when resizing stack" into nyc-dev
am: 85941cf

* commit '85941cff0c65bc023e4ca29c0eac8548c8f61be6':
  Added support to specify animation duration when resizing stack
2016-03-21 20:11:03 +00:00
Wale Ogunwale
85941cff0c Merge "Added support to specify animation duration when resizing stack" into nyc-dev 2016-03-21 20:04:20 +00:00
Alan Viverette
61ae04ff4a Merge "Account for top and bottom padding in ListPopupWindow" into nyc-dev
am: aa43b15

* commit 'aa43b1563c99a5ae98dc96066911bb26627b38a1':
  Account for top and bottom padding in ListPopupWindow
2016-03-21 19:35:49 +00:00
Alan Viverette
aa43b1563c Merge "Account for top and bottom padding in ListPopupWindow" into nyc-dev 2016-03-21 19:30:15 +00:00
Jeff Sharkey
7474fe7b42 Ignore wildcard network policies.
They never should have been persisted to disk in the first place.

Bug: 24972775
Change-Id: If9254f74455823f9fda9545fdf543fc7250a4016
2016-03-21 13:13:28 -06:00
Adrian Roos
a335e0a6aa Merge "Don\'t copy Bitmaps when cloning RemoteViews" into nyc-dev
am: 6f54b22

* commit '6f54b224afa6913d46a4ae07b1973eced0d51916':
  Don't copy Bitmaps when cloning RemoteViews
2016-03-21 19:11:35 +00:00
Adrian Roos
6f54b224af Merge "Don't copy Bitmaps when cloning RemoteViews" into nyc-dev 2016-03-21 19:03:51 +00:00
Teng-Hui Zhu
a9c417e87e Merge "API review: Hide ComplexColor and GradientColor" into nyc-dev
am: 68e5b96

* commit '68e5b9601a9730dfccc5ce8412be3fbe087a3bfc':
  API review: Hide ComplexColor and GradientColor
2016-03-21 18:25:22 +00:00
Tenghui Zhu
68e5b9601a Merge "API review: Hide ComplexColor and GradientColor" into nyc-dev 2016-03-21 18:19:54 +00:00
Wale Ogunwale
e75a9adfbd Added support to specify animation duration when resizing stack
Needed for sys-ui to control the duration of various Pip transitions.

Bug: 27674339
Change-Id: I7bad27aaa19755a73c594e88b88b56db033e1a45
2016-03-21 11:17:19 -07:00
Phil Weaver
2ae6ed53ec Merge "Clarify docs about event recycling." into nyc-dev
am: 1041381

* commit '104138198feffc8ef5069c16c210eb8684bf8662':
  Clarify docs about event recycling.
2016-03-21 18:16:05 +00:00
Phil Weaver
104138198f Merge "Clarify docs about event recycling." into nyc-dev 2016-03-21 18:11:27 +00:00
Teng-Hui Zhu
e03c469fd4 API review: Hide ComplexColor and GradientColor
b/27532267

Change-Id: I01582e067ec8f4897c34dcec0f7c14700c40e02b
2016-03-21 11:09:16 -07:00
Alan Viverette
1e2c2d4509 Account for top and bottom padding in ListPopupWindow
Bug: 27550635
Change-Id: Icbd3190c35dfeb915cfb9f0b08a2f9d2b1307b24
2016-03-21 13:45:33 -04:00
Adrian Roos
7da889d81d Don't copy Bitmaps when cloning RemoteViews
Bug: 27385859
Fixes: 27385859

Change-Id: I9f0768b20e6e71d5366eb21df76c984bfe6989b1
2016-03-21 10:39:16 -07:00
Siyamed Sinir
bb30fbb565 New Linkify.addLinks function with set of known schemes
am: 6eccafd

* commit '6eccafd3394f977d44c329dc75eb12739a818f4b':
  New Linkify.addLinks function with set of known schemes
2016-03-21 17:35:40 +00:00
Alan Viverette
43a21c0500 Set drawable callbacks last
Bug: 27554777
Change-Id: I3ef9981bfafcb2a674304c9da10e4f5b1e66f932
2016-03-21 13:35:39 -04:00
Siyamed Sinir
6eccafd339 New Linkify.addLinks function with set of known schemes
A new addLinks function is added that accepts a default scheme and a
set of known schemes. Default scheme is applied whenever the link found
does not start with one of the given known schemes.

Moreover, previously JavaDoc for addLinks functions with a single scheme
parameter described that the scheme attribute will be prepended to the
links that do not have 'a' scheme. The code actually checks if the link
starts with the given scheme and prepends if not. JavaDoc updated
accordingly.

Bug: 26985901
Change-Id: I94ea81dcf83ba7a6b6cd47c10fe8fb277964eb15
2016-03-21 10:27:31 -07:00
Phil Weaver
96fea022f2 Clarify docs about event recycling.
Bug: 27454838
Change-Id: I65d0ced3198dc6ad45b99e4932a0d6e32306cf10
2016-03-21 10:05:49 -07:00
Tony Mak
9e634ad25d Merge "Show launcher when profile is locked immediately" into nyc-dev
am: 03bdd9f

* commit '03bdd9fa0e79aa7d4da5bc3704c74f575ab1bfa6':
  Show launcher when profile is locked immediately
2016-03-21 14:24:50 +00:00
Tony Mak
03bdd9fa0e Merge "Show launcher when profile is locked immediately" into nyc-dev 2016-03-21 14:20:45 +00:00
Tony Mak
9c6e8ced9b Show launcher when profile is locked immediately
Previously, we show launcher when keyguard is dismissed.
It introduces these issues:
1. There can be no device lock
2. user could take a quick peek of the work app

Current behavior:
1. We now show launcher once the work profile is locked.
2. Lock profile immediately if there is no device lock
3. Add cancel "lockProfileLater" logic

Bug: 27241680
Bug: 27673460
Change-Id: I765aa22d4c8ae5017c1611f5a340a4b33d463b1e
2016-03-21 13:54:32 +00:00
Victor Chang
6918dbc871 Merge "Api change of DPM.setApplicationRestrictionsManagingPackage()" into nyc-dev
am: d3c0cf5

* commit 'd3c0cf50b6c8e71c0c409abcd3b8c32f98f7cb71':
  Api change of DPM.setApplicationRestrictionsManagingPackage()
2016-03-21 13:12:47 +00:00
Victor Chang
d3c0cf50b6 Merge "Api change of DPM.setApplicationRestrictionsManagingPackage()" into nyc-dev 2016-03-21 13:08:14 +00:00
Yohei Yukawa
d552a52305 Add a comment about ResultReceiver lifetime.
The root cause of memory leak crbug.com/595613 was that Chromium and
WebView have called InputMethodManager#showSoftInput() with
ResultReceiver thta has a strong reference to application logic class
named ContentViewCore.  In this particular case, ResultReceiver in
question will be copied to InputMethodManagerService and the current
InputMethodService, which means the original receiver object will not be
collected until the copied objects in other processes are GCed.

Probably there might be several ways to oprimize the performance in
Framework side because the corresponding ResultReceiver objects will be
always handled within the Android Framework unless IME developers
explicitly override the following method.
  InputMethodService#onCreateInputMethodInterface()

Anyway, it is probably a bit too late to do such an optimization in N,
and application developers need to support existing versions of Android
anyway.  For N, probably making it clear in JavaDoc would be the only
realistic improvement we can do.

Bug: 27658034
Bug: 27727645
Change-Id: I6fc6b88c91a4b1e0a29e94b99a9f0e35605c01b2
2016-03-20 15:08:31 -07:00