Commit Graph

62549 Commits

Author SHA1 Message Date
Alan Viverette
8151f98949 Merge "Clean up popup window positioning" into nyc-dev
am: 69a3345

* commit '69a3345ed5ad46b99a32b96018492d2ebdb9514c':
  Clean up popup window positioning
2016-03-25 13:28:45 +00:00
Alan Viverette
69a3345ed5 Merge "Clean up popup window positioning" into nyc-dev 2016-03-25 13:22:49 +00:00
Paul Jensen
ebdf3f0068 Merge "Move ApfFilter from ConnectivityService to IpManager" into nyc-dev
am: 732340c

* commit '732340cacdfaf80fb133cd74d7d57c25486eac1e':
  Move ApfFilter from ConnectivityService to IpManager
2016-03-25 12:57:32 +00:00
Paul Jensen
f21b4dc1d6 Move ApfFilter from ConnectivityService to IpManager
There's a few advantages to having ApfFilter in IpManager:
1. If things go wrong, crashing a particular transport is less bad then
   crashing ConnectivityService.  We also don't want to use
   ConnectivityService as a dumping ground for transport-specific logic.
2. This makes implementing WifiManager.MulticastLock a lot simpler and
   safer because enabling/disabling it doesn't have to go through the
   NetworkAgent, which could risk various races (e.g. installing a filter
   into the wrong WiFi network).
3. IpManager is the ultimate source for LinkProperties for a particular
   transport and since ApfFilter uses the LinkProperties it's better to
   have it closely paired with the IpManager. Likewise, ApfFilter needs
   to know the APF capabilities of the transport, so having it in
   the transport avoids having to parcel this information through the
   NetworkAgent.

Bug: 26238573
Change-Id: I99b85f2b64972f0e7572170ec5d1926081aa3429
2016-03-25 07:46:07 -04:00
Winson
fccc7349aa Merge "Dont scale task thumbnails." into nyc-dev
am: 941a1f8

* commit '941a1f81b0f50ff219a38476ffdba062b81d2fc4':
  Don’t scale task thumbnails.
2016-03-25 03:56:48 +00:00
Winson Chung
941a1f81b0 Merge "Don’t scale task thumbnails." into nyc-dev 2016-03-25 03:51:09 +00:00
Winson
217009356e Don’t scale task thumbnails.
- Changing task view thumbnail layout.  In portrait, scale the thumbnail
  to width for portrait screenshots, and apply the same scale to 
  landscape screenshots.  In landscape, scale screenshots up to 1:1, and
  tweak the app transition to clip the sides instead of scaling.
  In both orientations, fill with the background color in the remaining
  space.
- Moving some resources related to the title bar to be calculated 
  programmatically so that we can have different header bar sizes which 
  completely overlap the action bar in the screenshot in each 
  orientation.
- Constraining the task stack width in landscape to portrait

Bug: 27504677
Change-Id: Ic9b6fdde6dd728d9f2d20a8b89c05b3a350edfbf
2016-03-24 20:03:02 -07:00
Dianne Hackborn
d6b6709b21 Merge "Fix issue #25817435: Batterystats missing UIDs for secondary users" into nyc-dev
am: 966f1c9

* commit '966f1c93487b8bc9e259de11e1aaf0fb35b11dc2':
  Fix issue #25817435: Batterystats missing UIDs for secondary users
2016-03-25 01:57:17 +00:00
Dianne Hackborn
966f1c9348 Merge "Fix issue #25817435: Batterystats missing UIDs for secondary users" into nyc-dev 2016-03-25 01:50:33 +00:00
sergeyv
cee94c72b5 Merge "Clean up setLayerType and setLayerPaint" into nyc-dev
am: 4ce5653

* commit '4ce5653555b3140f1e6190c7cfa44ce416ce3693':
  Clean up setLayerType and setLayerPaint
2016-03-25 01:49:03 +00:00
Sergei Vasilinetc
4ce5653555 Merge "Clean up setLayerType and setLayerPaint" into nyc-dev 2016-03-25 01:42:50 +00:00
Svetoslav Ganov
d46c5c77aa Merge "Guard against a NPE when using ParceledSliceList" into nyc-dev
am: d61a57f

* commit 'd61a57fdd035384870de275e36dfc3a2b58b8597':
  Guard against a NPE when using ParceledSliceList
2016-03-25 01:38:52 +00:00
Svetoslav Ganov
d61a57fdd0 Merge "Guard against a NPE when using ParceledSliceList" into nyc-dev 2016-03-25 01:33:38 +00:00
Ruben Brunk
328ca70753 Merge "Allow current VrListenerService to read thermal info." into nyc-dev
am: 41f02e5

* commit '41f02e5d50bd9d13e17f44939b9499eab9404e90':
  Allow current VrListenerService to read thermal info.
2016-03-25 01:11:21 +00:00
Ruben Brunk
41f02e5d50 Merge "Allow current VrListenerService to read thermal info." into nyc-dev 2016-03-25 01:08:18 +00:00
Svetoslav Ganov
b2c2e452e5 Guard against a NPE when using ParceledSliceList
bug:27558595

Change-Id: Idaa3b37d1d3bbb10b93e08ef1976758fde0b0ce3
2016-03-24 18:01:22 -07:00
Dianne Hackborn
9cfba35020 Fix issue #25817435: Batterystats missing UIDs for secondary users
Change-Id: I9ad907571f04b5825d234758347659544a4de6ab
2016-03-24 17:31:28 -07:00
sergeyv
342a7e6a7c Clean up setLayerType and setLayerPaint
bug:21755299
Change-Id: I8f0953ccfc3d743abdecc8ec228ed3e1b6718c3c
2016-03-24 16:06:46 -07:00
Felipe Leme
8127d6f04f Merge "Removed obsolete @NonNull." into nyc-dev
am: 657c2fa

* commit '657c2fa5c6076ffc9bba855d647ce5f5fa9748d9':
  Removed obsolete @NonNull.
2016-03-24 22:55:20 +00:00
Felipe Leme
657c2fa5c6 Merge "Removed obsolete @NonNull." into nyc-dev 2016-03-24 22:14:38 +00:00
Alan Viverette
6acf2f909b Clean up popup window positioning
- Only move the popup above the anchor when necessary
- Adjust the y position when displaying the popup above the anchor
  rather than changing the popup gravity
- Reduce popup height if it's still too large after repositioning

Bug: 27819843
Change-Id: I1ecc235816a61b9431568a34d3116e286e092c11
2016-03-24 17:11:37 -04:00
Sharvil Nanavati
cb9453589e Merge "Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY." into nyc-dev
am: 32dd848

* commit '32dd84843615de6226ebcff81720599548203b60':
  Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY.
2016-03-24 21:07:25 +00:00
Sharvil Nanavati
32dd848436 Merge "Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY." into nyc-dev 2016-03-24 20:17:45 +00:00
Alex Klyubin
c860aecc2f Merge "Ignore signature stripping protection for preinstalled APKs." into nyc-dev
am: e60d72f

* commit 'e60d72f49a10ba8d51fd184ed5604ca4d8225552':
  Ignore signature stripping protection for preinstalled APKs.
2016-03-24 19:51:30 +00:00
Alex Klyubin
e60d72f49a Merge "Ignore signature stripping protection for preinstalled APKs." into nyc-dev 2016-03-24 19:46:44 +00:00
Alex Klyubin
9b59bc459b Ignore signature stripping protection for preinstalled APKs.
The current build process may currently strip APK Signature Scheme v2
signatures from prebuilt APKs to be installed on the system or vendor
partitions. However, it leaves intact the signature scheme rollback
protections introduced by APK Signature Scheme v2. Due to a bug, when
the system extracts signer certificates from preinstalled APKs, it
encounters the rollback protection and aborts the extraction process.
This manifests itself as some preinstalled packages not appearing as
installed.

This change makes the system ignore signature scheme rollback
protections when extracting certificates from preinstalled APKs. This
is fine because the process of extracting certificates from
preinstalled APKs does not care about validity/integrity of signatures
and the APKs. It only cares about extracting signer certificates.

Bug: 27829513
Change-Id: I3bed463e776b057e93a0fce915db4014946be1f9
2016-03-24 12:02:20 -07:00
Alan Viverette
6d00e8f61a Merge "Ensure correct width and height are used during popup positioning" into nyc-dev
am: 4a2f985

* commit '4a2f9857c2759661a54d8705fb65e1ce500d1907':
  Ensure correct width and height are used during popup positioning
2016-03-24 18:39:48 +00:00
Robin Lee
9148d2f74d Merge "Declare provider.Settings intent for VPN fragment" into nyc-dev
am: 363e70d

* commit '363e70dd004e08d43f9908e913e48f2ae4fe1a28':
  Declare provider.Settings intent for VPN fragment
2016-03-24 18:37:19 +00:00
Alan Viverette
4a2f9857c2 Merge "Ensure correct width and height are used during popup positioning" into nyc-dev 2016-03-24 18:33:57 +00:00
Robin Lee
363e70dd00 Merge "Declare provider.Settings intent for VPN fragment" into nyc-dev 2016-03-24 18:32:52 +00:00
Joe LaPenna
248b40bfac Merge "Allow setting doze timeouts based on system feature" into nyc-dev
am: 23c63dd

* commit '23c63dd65f304d554bc6cbf2f6016e6e9c8e4f4e':
  Allow setting doze timeouts based on system feature
2016-03-24 18:24:34 +00:00
Joe LaPenna
23c63dd65f Merge "Allow setting doze timeouts based on system feature" into nyc-dev 2016-03-24 18:18:26 +00:00
Alan Viverette
f50df4362a Ensure correct width and height are used during popup positioning
Passes the width and height into findDropDownPosition() rather than
relying on global state. Ensures that an update is forced if any
aspects of the LayoutParams are changed during drop down position
computetion. Cleans up method and argument naming.

Bug: 27819843
Change-Id: Id85e2a0e81e0ea6a754dadf7c1d1c2493a5979b0
2016-03-24 14:08:24 -04:00
Yohei Yukawa
a4700fe435 Merge changes I16312592,Iadfc226e into nyc-dev
am: cdf90bb

* commit 'cdf90bb6747aa100305def66a7984522600d803e':
  Revert "Remove redundant IMM#mServedInputConnection."
  Revert "Make sure to call back reportFinish() on the desired Handler."
2016-03-24 18:00:11 +00:00
Yohei Yukawa
cdf90bb674 Merge changes I16312592,Iadfc226e into nyc-dev
* changes:
  Revert "Remove redundant IMM#mServedInputConnection."
  Revert "Make sure to call back reportFinish() on the desired Handler."
2016-03-24 17:54:21 +00:00
Abhijith Shastry
ef68f23ef6 Merge "Add an unblock API to BlockedNumberContract." into nyc-dev
am: d1ceef0

* commit 'd1ceef09a70f490bb4c56e55f83e3f9a1f40378e':
  Add an unblock API to BlockedNumberContract.
2016-03-24 17:37:39 +00:00
Abhijith Shastry
d1ceef09a7 Merge "Add an unblock API to BlockedNumberContract." into nyc-dev 2016-03-24 17:33:58 +00:00
Yohei Yukawa
223db8b6f5 Revert "Remove redundant IMM#mServedInputConnection."
This reverts commit afb6558c8f.

It turns out that this CL caused a serious regression Bug 27824691.

Bug: 25332806
Bug: 27824691
Change-Id: I16312592743a6673449c492ee5ba533256d343ea
2016-03-24 10:26:19 -07:00
Robin Lee
a249aee10b Declare provider.Settings intent for VPN fragment
Currently used for a number of tests. May also be useful for 3rd-party
apps using VPN in some manner or another.

Bug: 27700919
Bug: 26887434
Change-Id: I4d269954265a2590499e20150f009fe437c8078f
2016-03-24 17:25:06 +00:00
Yohei Yukawa
1fa5f594a2 Revert "Make sure to call back reportFinish() on the desired Handler."
This reverts commit 16e2c7b59a.

It turns out that I1181e067aa5bedbdf0c7ec1bcec479257aea511c caused
a serious regression Bug 27824691.  To revert that CL, we have to revert
this one first.

Bug: 25332806
Bug: 27824691
Change-Id: Iadfc226eb91cc969b77c9d98e04ec3c76fe86ead
2016-03-24 10:24:23 -07:00
George Mount
015651fa55 Merge "Invalidate entire scene root when executing the transition." into nyc-dev
am: f189c2f

* commit 'f189c2ffa250d4da27b18263c6876d79610ce6e3':
  Invalidate entire scene root when executing the transition.
2016-03-24 14:50:11 +00:00
George Mount
f189c2ffa2 Merge "Invalidate entire scene root when executing the transition." into nyc-dev 2016-03-24 14:45:22 +00:00
Clara Bayarri
c84e36b7ec Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev
am: 3e5bf78

* commit '3e5bf786b7ca36fa0cc150fcd8d0e7a69ecb9db0':
  Keyboard Shortcuts: plumb deviceId through
2016-03-24 13:37:26 +00:00
Clara Bayarri
3e5bf786b7 Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev 2016-03-24 13:30:48 +00:00
Clara Bayarri
322e4d23ea Merge "Keyboard Shortcuts: Add Keycodes for shortcut representation" into nyc-dev
am: bfd996f

* commit 'bfd996f5cd89d8c94fb23489ba62f3cab4b36f1c':
  Keyboard Shortcuts: Add Keycodes for shortcut representation
2016-03-24 11:57:26 +00:00
Clara Bayarri
bfd996f5cd Merge "Keyboard Shortcuts: Add Keycodes for shortcut representation" into nyc-dev 2016-03-24 11:49:05 +00:00
Clara Bayarri
fcd7e80b21 Keyboard Shortcuts: plumb deviceId through
Bug: 27673736
Change-Id: Ie72807aa8c2bfd142b081a6a915e101c16d31473
2016-03-24 11:47:32 +00:00
Clara Bayarri
4e850ffaa7 Keyboard Shortcuts: Add Keycodes for shortcut representation
This changes the current API given app feedback received. In order to use
keycodes as well as chars we also must implement a mapping of Keycodes to
Display labels as only keys with a single char representation are provided
by KeyCharacterMap.

Bug: 27409783
Change-Id: I3da653adc4b8cbc66a4d1aa24a5f9181f71e83c3
2016-03-24 11:47:23 +00:00
Abhijith Shastry
cdc2a4c737 Add an unblock API to BlockedNumberContract.
The delete API need not unblock a number if there are multiple copies of a single number.

BUG: 27790536

Change-Id: I6391b0c095827afe85f2ee5d1756741e144c8c26
2016-03-23 19:29:59 -07:00
Andreas Gampe
31e9eec4ea Merge "Frameworks/base: Refactor package manager" into nyc-dev
am: a7f2bcc

* commit 'a7f2bccca3f27a2ad12397ffb52d47fceea76018':
  Frameworks/base: Refactor package manager
2016-03-24 02:08:01 +00:00