234314 Commits

Author SHA1 Message Date
Jakub Pawlowski
b73ebc88d9 Hide android.bluetooth.OobData
Bug: 27385555
Change-Id: I1767909ca17b1b23a2f23ea4a5b4a02cc52eecde
2016-03-01 11:00:33 -08:00
Felipe Leme
c50bf8e33e Merge "Created metric events for scoped directory access API." into nyc-dev 2016-03-01 18:58:28 +00:00
Santos Cordon
3041048a0a Merge "Adding toStrings() to the API." into nyc-dev 2016-03-01 18:57:03 +00:00
Julia Reynolds
9e65739c19 Merge "Protect against a lack of metadata." into nyc-dev 2016-03-01 18:56:16 +00:00
Robin Lee
e4487ea288 More sensible return code for Credentials.deleteAll
Was: result = True iff nDeleted != 0
Now: result = True iff nDeleted == nExisted

The most common reason you'd want to delete all credentials under an
alias is to be sure they no longer exist. The new contract gives a
way to do this without multiple IPCs to the same service.

Bug: 27335182
Change-Id: I8762b9b4fcc48037387dd805dbd0dbbe141d5b24
2016-03-01 18:56:14 +00:00
Julia Reynolds
1c7cd0a882 Merge "Fix app icon in notification guts." into nyc-dev 2016-03-01 18:54:53 +00:00
Andreas Gampe
4f655de3de Merge "Frameworks/base: Refactor TextView initialization" into nyc-dev 2016-03-01 18:38:09 +00:00
Keun-young Park
63f2c9b0cb Merge "make isUiModeLocked, isNightModeLocked test api" into nyc-dev 2016-03-01 18:37:57 +00:00
Felipe Leme
3e166b27fc Created metric events for scoped directory access API.
BUG: 27334821
Change-Id: I8a1bfc328dcd26b42bb66884d14b34ad11aa232f
2016-03-01 10:12:58 -08:00
Clara Bayarri
78f335e753 Merge "Fix Fingerprint confusing personal and work fingerprints when unified" into nyc-dev 2016-03-01 18:07:05 +00:00
Winson
3f3d744d5c Skip animation in error case, log for further investigation.
Bug: 27389156
Change-Id: Idc2ebdf04ab72d326f68a47627b27d6e61315d1e
2016-03-01 10:07:04 -08:00
Dongwon Kang
b55c7517ba TIF: Address API review comments
Bug: 27386052
Change-Id: I242819e0817723e247b8fe646d534899ab50af76
2016-03-01 10:03:58 -08:00
Calin Juravle
e1ac71fe99 Merge "Restrict the cases when we profile guided compile an apk" into nyc-dev 2016-03-01 17:59:20 +00:00
Chong Zhang
168d5e4e2e Merge "Check task.isResizeable() instead of the resize mode directly" into nyc-dev 2016-03-01 17:58:17 +00:00
Yorke Lee
810252ad47 Merge "Add setAlwaysOpaque and setTint to BarTransitions" into nyc-dev 2016-03-01 17:50:33 +00:00
Dimitry Ivanov
1984d78330 Merge "Display Toast with linker warnings after Activity.onStart()" into nyc-dev 2016-03-01 17:50:02 +00:00
Fyodor Kupolov
c453905afc Merge "Fixed handling of blockUninstall setting" into nyc-dev 2016-03-01 17:39:13 +00:00
Julia Reynolds
7f2f441783 Protect against a lack of metadata.
Change-Id: Idc28ac451567e8ee4772d9db3009102d781e6331
2016-03-01 12:33:48 -05:00
Adam Powell
55fc649368 Merge "Correct state loss tracking for FragmentTransaction.commitNow" into nyc-dev 2016-03-01 17:33:40 +00:00
Julia Reynolds
be0184662d Fix app icon in notification guts.
Bug: 27408961
Change-Id: Iafae86dff611eb5c00b283452b5fcbc65f314c9e
2016-03-01 12:23:21 -05:00
Przemyslaw Szczepaniak
933c1d48bc Track change 02072325e0133d78cc575732a0762ed3da0242a7
Bug: 27404545
Change-Id: I51b1e7239d456f0ec1d0bdc6b54761aeb44368d9
2016-03-01 17:22:07 +00:00
Narayan Kamath
6839f4c5f4 Merge "Regenerate API after b8f53ee812b75b526c3b481b62334e45609fa70e." into nyc-dev 2016-03-01 17:21:52 +00:00
Narayan Kamath
24825ff421 Regenerate API after b8f53ee812b75b526c3b481b62334e45609fa70e.
bug: 26704777
Change-Id: Ib448d90fdf0200d77df9cbb8930a904fbe3374ca
2016-03-01 17:18:58 +00:00
Hangyu Kuang
3e0127f5d5 Merge "Update Android mediamuxer documentation." into nyc-dev 2016-03-01 17:18:15 +00:00
Amith Yamasani
5fea67e88e Merge "Heed user shell restriction for pm calls" into nyc-dev 2016-03-01 17:10:27 +00:00
Adam Powell
3518feda21 Correct state loss tracking for FragmentTransaction.commitNow
Booleans are hard.

Bug 27419920

Change-Id: I91a746aa14cad36bf77ec6224ffc13b00dc39ae7
2016-03-01 09:07:44 -08:00
Adam Lesinski
b7a3827ea8 Merge "AAPT2: Fix segfault when showing error in 9-patch" into nyc-dev 2016-03-01 17:07:15 +00:00
Adam Lesinski
144c5eabe5 AAPT2: Fix segfault when showing error in 9-patch
Change-Id: I8f457212efc27480758a7157455d98b5e316f772
2016-03-01 09:05:11 -08:00
Ronghua Wu
78614f7714 Merge "media: define HEVCProfileMain10HDR10" into nyc-dev 2016-03-01 16:35:22 +00:00
Jason Monk
46dbfb475f Handle density changes in QS
Bug: 26845796
Change-Id: Icc783c9d706382e553df49f699aaf44aac943d18
2016-03-01 11:08:19 -05:00
Michal Karpinski
8fc5462ee1 Merge "Adding SecurityException information to all device logging DPM public methods" into nyc-dev 2016-03-01 15:57:44 +00:00
Jorim Jaggi
eba8f47c6e Fix animation bug in chooser activity
Make sure to set the status color to 0 (fully translucent), so
there is no ugly line travelling across the screen when opening
the activity.

Bug: 27285627
Change-Id: If8aa1059958f3e2a45a48f6ba276560244f284cd
2016-03-01 15:50:41 +00:00
Wale Ogunwale
cd7043e99a Add activity onStop lifecycle to event logs.
Also added reasons why onPause and onResume are called.

Bug: 27384433
Change-Id: If6c304f577b601511f6d9b948061d2cfa0dcb970
2016-03-01 07:29:17 -08:00
Michal Karpinski
b58e4966db Adding SecurityException information to all device logging DPM public methods
Bug: 22860162
Change-Id: I6cdfad2dcdf14896c855debef34964def190e110
2016-03-01 15:26:56 +00:00
Todd Kennedy
a67932374d Revert "Revert "Remove deprecated methods / classes""
This reverts commit 5cbeb5902633646fbc0a1be252081e77aaaee7b4.

Change-Id: Id96010364d65e6131221ebbcc8ce5889a2da256c
2016-03-01 07:19:33 -08:00
Julia Reynolds
2319dd3a66 Merge "Api review: AutomaticZenRule" into nyc-dev 2016-03-01 15:05:36 +00:00
Jason Monk
1aec93f181 Fix QS icon animations once and for all
Bug: 27250295
Change-Id: I6449b9cea19acf120dfc02d146fe608da46fe790
2016-03-01 09:42:34 -05:00
Tomasz Mikolajewski
1f67c8740c Merge "Fix crash in isChildDocument when parent is in zip, and child not." into nyc-dev 2016-03-01 10:25:30 +00:00
Tomasz Mikolajewski
e192cb71d6 Fix crash in isChildDocument when parent is in zip, and child not.
There is no regular file representation for archive documents, so
the call to getFileForDocId(archivedDocId) was throwing an exception.

Bug: 27383423
Change-Id: Icbc1e8ecdddc7698cfdb79b41da6e1d3cecf11ae
2016-03-01 10:23:59 +00:00
Jorim Jaggi
8175846ed6 Fix popup window calculation for multi-window
If ignoreBottomDecorations=true, the display size was extracted from
the resources. However, this didn't work if the parent window was in
multi-window, as all the calculations went wrong. Instead, introduce
View.getWindowDisplayFrame which returns the "full" frame of the task
the window is currently in, without any insets, and use that to
calculate the bottom edge.

Bug: 26255254
Change-Id: I8b235b335775022ae399ee082d1200aa76cc047c
2016-03-01 09:00:29 +00:00
Daichi Hirono
300efaa0ea Merge "Fix argument type in MtpDatabase#getObjectPropertyValue." into nyc-dev 2016-03-01 08:36:28 +00:00
Daichi Hirono
e5b499bcc5 Merge "Fix RootScanner to execute scan at least once before cancelling it." into nyc-dev 2016-03-01 07:50:18 +00:00
Daichi Hirono
486ad2e73c Fix argument type in MtpDatabase#getObjectPropertyValue.
In MTP code, we use jint for ID (e.g. object handle) and code (property
code). But getObjectPropertyValue takes jlong and it causes missing
property values in Java code. Previously we passed the long value to
Map<Integer, MtpPropertyGroup>#get(Integer) and the compiler somehow
accepted the code. However it actually takes Long at runtime, so the
properties are never found.

BUG=26437284
Change-Id: I79defd325ea5d20c4dce84d891d984e24abcacc5
2016-03-01 16:49:08 +09:00
Erik Kline
e5a5f84fef Add constructor with more inputs for dependency injection.
am: b9df11099f

* commit 'b9df11099f16ca816a69e06f1327eb1f86723578':
  Add constructor with more inputs for dependency injection.
2016-03-01 06:10:40 +00:00
Erik Kline
b9df11099f Add constructor with more inputs for dependency injection.
Bug: 26991160
Bug: 27406552
Change-Id: If4a0a2f1afb1da4ad59df9eb31c540047c84659b
2016-03-01 14:58:30 +09:00
Daichi Hirono
2e9a57b0d4 Fix RootScanner to execute scan at least once before cancelling it.
Previously RootScanner is implemented by FutureTask, and if it is
cancelled before it starts running in background thread, the scan will
be never executed.

The CL stops using FutureTask and introduces CountDownLatch to control
UpdateRootsRunnable.

BUG=27369585

Change-Id: Ica8799faba0a8e5ca91a6b8be36dc4f5118d6333
2016-03-01 13:51:06 +09:00
Yorke Lee
1b268cbca6 Add setAlwaysOpaque and setTint to BarTransitions
Allow the opacity and color of the NavigationBarView
to be controlled.

Bug: 26425669

Change-Id: I364f183bf0ef90c446ae68987ccc3b6bbf09aa67
2016-02-29 19:14:04 -08:00
Jeff Tinker
6430b15495 Merge "Add javadocs to MediaCodec.CryptoInfo methods" into nyc-dev 2016-03-01 02:26:30 +00:00
Mady Mellor
6e64423c19 Merge "Fix settings icon row consuming the click when tapping the notification" into nyc-dev 2016-03-01 02:18:34 +00:00
Chong Zhang
d545dce4b9 Check task.isResizeable() instead of the resize mode directly
The resize mode doesn't take into account developer settings override.

Bug: 27390258
Change-Id: Id161ceb4f143f982f6bec3f915655bb66949ddd3
2016-02-29 18:11:42 -08:00