237244 Commits

Author SHA1 Message Date
Rubin Xu
81a95700e5 Fix SecurityException in getStorageEncryptionStatus
Bug: 27892709
Change-Id: Ic6a3ccb8d266cfb04708413b767fe4f284219e57
2016-03-29 14:35:36 +01:00
Nicolas Prévot
82b1a68ed4 Merge "Update cross-profile intent resolver." into nyc-dev 2016-03-29 13:25:48 +00:00
Pierre Imai
bc9cc50947 Move connectivity events to frameworks/base.
Fixes a crash in bluetooth' DhcpClient due to Class(not)Loader.

Change-Id: I318c033aa8782c27a243104f85950adbf07d03a6
BUG: 27885860
BUG: 25691077
2016-03-29 22:07:09 +09:00
Andrei Stingaceanu
16187903b4 AfW custom lock screen message - API polish
DevicePolicyManager:
* getDeviceOwnerLockScreenInfo now returns CharSequence as it returns a string
  for display to a user
* setDeviceOwnerLockScreenInfo
** accepts CharSequence, not String as this is a string displayed to the user
** Returns void; throws an appropriate runtime exception on failure

Bug: 27531295
Change-Id: I30528569cfa66ee76f857fbee1c3196f821718fd
2016-03-29 13:04:29 +00:00
Gustav Sennton
79f1216eb1 Remove the system api method WebViewFactory.getWebViewPackageName
We no longer user this method and it doesn't return any useful
information.

Bug: 27719581

Change-Id: Id282f1501cde9a7d7cc1fe66016cfb54956686c5
2016-03-29 13:36:02 +01:00
Chris Banes
61d5070614 Re-dispatch nested scrolls if not implemented
Currently the default implementations just swallow
the calls. This CL fixes this by re-dispatching
them up the tree by default.

BUG: 27611756

Change-Id: Ib31938dca34cd956e78d746321716a51cbd9dcd6
2016-03-29 12:37:03 +01:00
Keisuke Kuroyanagi
1d0ca4b201 Merge "Disable testTextAppearanceInSuggestionsPopup" into nyc-dev 2016-03-29 11:36:47 +00:00
Andrei Stingaceanu
2298bb199c Keyboard shortcuts: RTL for KeyboardShortcutKeysLayout
Introduced RTL support for the KeyboardShortcutKeysLayout and
with another minor change to the dialog layout achived full
RTL support for the keyboard shortcuts UI.

Bug: 22776761
Bug: 27674152
Change-Id: I14e38dc4533208f6fd982a53a1d0305e003d926b
2016-03-29 11:55:16 +01:00
Keisuke Kuroyanagi
e5c431ccc0 Disable testTextAppearanceInSuggestionsPopup
Re-enable TextViewActivityMouseTest#testContextMenu that was disabled
by I459f1ab1c6d2d3119fc50166.

Bug: 27765262
Change-Id: I986ec239324d2d65a14be3fb2981777583471c68
2016-03-29 19:34:33 +09:00
Lorenzo Colitti
36e480cf8c Merge "Add a toString method to ApfCapabilities." into nyc-dev 2016-03-29 08:10:14 +00:00
Jaewan Kim
b5923b9b8c PIP: Fix NPE
Change-Id: I80f000fcb7fbac94e633796c07130c9a62001af7
2016-03-29 17:01:23 +09:00
Daichi Hirono
f4e7fa8038 Use AppFuse to write document.
Previously MtpDocumentsProvider used pipes to transfer bytes from an
application to the provider when writing a document.  The problem was
application could not ensure that the last chunk of bytes was
successfully written to MTP device, since pipes had been already closed
when the provider transferred bytes to MTP device. Though the provider
encountered an error, the provider could not report the error to an
application.

The CL switches the method to transfer bytes from pipes to AppFuse. Now
application can flush() bytes on the file descriptor, and flush will not
complete until the provider completes writing bytes to MTP device.

Fixed: 23093747
Change-Id: I4e28f8cbf19d6c97e591943349a7535241d768f7
2016-03-29 16:27:59 +09:00
Andrii Kulian
771f9e0a9c Add minimal width and height logging to AM dump.
Currently this is used in CTS to validate task and stack bounds.

Bug: 27785974
Change-Id: I2dcf6d51dba5d1bf15037d333ff41dea8f5db1d3
2016-03-28 19:08:58 -07:00
Makoto Onuki
d99c6f04bb ShortcutManager: Fix work profile
- Pinned shortcuts need to know not only which package
has pinned them, but also on which user's, due to work profile.

- Launcher can always launch shortcuts that it has pinned.

Bug 27548047

Change-Id: I23b4e7dfbb6ecc42099d31008bcfd61d44e2c7fb
2016-03-28 18:47:39 -07:00
Lorenzo Colitti
f54aede6db Merge "Rename IpManager#dumpApf to #dump and change its signature." into nyc-dev 2016-03-29 01:44:19 +00:00
Winson Chung
9007136ee9 Merge "Fixing regression in recents entrance animation when docking app" into nyc-dev 2016-03-29 00:59:49 +00:00
Christopher Tate
d5f70b7483 Clean up a couple of bugs about transport init staging
Using the right names for things typically works better.

Bug 27794697

Change-Id: Ic8c3c2c978536545bd669c1c12aad9ee6783f38a
2016-03-28 17:57:51 -07:00
Tomasz Mikolajewski
21fece7a32 Merge "Add basic jank tests for DocumentsUI." into nyc-dev 2016-03-29 00:45:32 +00:00
Philip P. Moltmann
e54d79c4cd Add cancelation signal to OnRequestPrinterIcon.
Change-Id: I072d2c15e8df104a8b902c10d14d9f02040ace5f
2016-03-28 17:13:34 -07:00
Oren Blasberg
621fab8664 Make context menu titles a nicer color.
Use the accent color (i.e. teal) instead of gray. This results in
greater contrast between the menu title and the items in the menu
which looks much better.

Bug: 27293568
Change-Id: I8a3b75ca8dc08961fdde2611cd8a5899088109e1
2016-03-28 17:10:32 -07:00
Jungshik Shin
3b262793a0 Merge "Load hyphenator for 22 new languages" into nyc-dev 2016-03-29 00:06:36 +00:00
Suprabh Shukla
2810b694f5 Removing unused intent extra
Change-Id: If3904d0b3878390e6a49776aa8fcbd4d8592016d
2016-03-28 16:44:04 -07:00
Pirama Arumuga Nainar
66f9aace05 Merge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray" into nyc-dev 2016-03-28 23:28:16 +00:00
Siyamed Sinir
eb90e4406f Merge "Update get/setFontFeatureSettings JavaDoc" into nyc-dev 2016-03-28 23:16:20 +00:00
Siyamed Sinir
0925f40372 Update get/setFontFeatureSettings JavaDoc
Add CSS font-feature-settings URL to get/setFontFeatureSettings method
JavaDoc in both TextView and Paint.

Bug: 27857640
Change-Id: I8c20068801032407d493e4f4a15b89dcf35949d2
2016-03-28 16:14:46 -07:00
Rakesh Iyer
9a8386a803 Fix crash in CarNavigationBarController.
Typo resulted in the wrong key being used to query a map,
causing a NPE.

Bug: 27880811
Change-Id: I357f4869f4e212466d4eef16d5090e1c90a55b4c
2016-03-28 16:06:16 -07:00
Jungshik Shin
31445528c0 Load hyphenator for 22 new languages
In addition, all English locales other than those explicitly mapped
to en-US are mapped to en-GB.

BUG: 26405413
Change-Id: Ie5b77af164c95a6ed5639da5752ddf21f92181bc
2016-03-28 16:05:22 -07:00
Wei Liu
ada2c872fc Merge "Move ThermalObserver to frameworks/opt/wear" into nyc-dev 2016-03-28 22:45:24 +00:00
Phil Burk
9a95421c26 Merge "AudioTrack: document some throws" into nyc-dev 2016-03-28 22:31:25 +00:00
Jorim Jaggi
15d4b5aae8 Merge "Fix nav bar consuming" into nyc-dev 2016-03-28 22:16:44 +00:00
Jorim Jaggi
2eb62737af Merge "Cleanup window callbacks locking" into nyc-dev 2016-03-28 22:16:18 +00:00
Chris Tate
a3e8bf3b9f Merge "Don't back up / restore "we're in night mode"" into nyc-dev 2016-03-28 22:14:43 +00:00
Philip P. Moltmann
c7927cb648 Merge "Update printers even if there are no printers found." into nyc-dev 2016-03-28 21:59:40 +00:00
Jorim Jaggi
e5638a6f75 Fix nav bar consuming
- Cache shouldAlwaysConsumeNavbar so it doesn't get reset when
insets == null
- Remove logic with frame comparison when determining whether to
consume nav bar. Not sure how that ever worked.
- Make sure shouldAlwaysConsumeNavBar survives when consuming
insets.

Bug: 27157904
Change-Id: I35f209ab27cc12240038da7efa9e79c95f70c6ce
2016-03-28 21:58:30 +00:00
Arunesh Mishra
03aa651407 Merge "Fix permission string typo for test app." into nyc-dev 2016-03-28 21:57:53 +00:00
Dianne Hackborn
cba3279697 Merge "Fix issue #27776639: Background Check: Conn_Change..." into nyc-dev 2016-03-28 21:46:46 +00:00
Winson
c69249fd6f Fixing regression in recents entrance animation when docking app
- Merged the two identical launch state flags
- Only relaying out task views if the bounds have changed
- Always setting the task transform instead of the view properties 
  directly

Bug: 27859626
Change-Id: I2571c1660820e21fde87ef82808098809b4d3c24
2016-03-28 14:39:14 -07:00
Christopher Tate
009938c984 Don't back up / restore "we're in night mode"
Bug 27880039

Change-Id: Ida59c9e602b939038e4bb3f55a6bf96db8897348
2016-03-28 14:32:15 -07:00
Sergei Vasilinetc
4edfdd55cf Merge "Fix NPE while using mLayerPaint" into nyc-dev 2016-03-28 21:21:45 +00:00
Phil Burk
eeecfa4401 AudioTrack: document some throws
For setBufferSizeInFrames() and related methods.

Bug: 27384290
Change-Id: Ie5decb39d7945f304f57163c5da540cfd01903c7
Signed-off-by: Phil Burk <philburk@google.com>
2016-03-28 14:19:17 -07:00
Jorim Jaggi
16b631923d Cleanup window callbacks locking
- Also get rid of USE_MT_RENDERER, because there is no point in
having a flag if the other path never gets tested.

Bug: 27738239
Change-Id: Ic76115962940e72f2c59b8d291d078d15f8d493c
2016-03-28 21:19:17 +00:00
Jorim Jaggi
22a869f51b Intersect task with stack bounds for dimming
Bug: 27240436
Change-Id: I9aba4a476d81b219e4d361d606a4339b0ebc5395
2016-03-28 14:19:00 -07:00
Felipe Leme
12bf75f354 Merge "Removed FLAG_ADVANCED." into nyc-dev 2016-03-28 21:11:26 +00:00
Wale Ogunwale
5e3801ab35 Merge "Don't show home activity when exiting split-screen with recents visible" into nyc-dev 2016-03-28 21:04:51 +00:00
Arunesh Mishra
73db9c2eb2 Fix permission string typo for test app.
Bug: 27875640
Change-Id: I2052e40d86ffcfbbcdef15ab3bec68ce1bdfa736
2016-03-28 13:58:07 -07:00
Joe Onorato
0caf007b3f Merge "Refactor ProcessStats." into nyc-dev 2016-03-28 20:52:39 +00:00
Jason Monk
d964a9f4d7 Merge "Update the data saver assets" into nyc-dev 2016-03-28 20:40:39 +00:00
Jason Monk
67477d9c1b Update the data saver assets
Bug: 27588223
Change-Id: Ic25a7a695fb2df019b861ef1547da3fca5cd96f9
2016-03-28 16:36:35 -04:00
sergeyv
e66be622f6 Fix NPE while using mLayerPaint
bug:27873847
Change-Id: I9bfae72dfa9bda45fdeb94544b7656e2584f29f6
2016-03-28 13:23:28 -07:00
Wale Ogunwale
ddfc6f7dc9 Merge "Show non-top tasks in the docked stack in recents." into nyc-dev 2016-03-28 20:22:35 +00:00