OSDN Git Service
Jeff Sharkey [Wed, 2 Mar 2016 03:17:41 +0000 (03:17 +0000)]
Merge "When system server goes down, crash admins." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 02:46:25 +0000 (19:46 -0700)]
When system server goes down, crash admins.
Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.
The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.
Bug:
27364859
Change-Id: I866a8c3c9682da1de2a31fe8b4ffcc9d7f4d8ba0
Jeff Sharkey [Wed, 2 Mar 2016 02:42:14 +0000 (02:42 +0000)]
Merge "When system server goes down, crash apps more." into nyc-dev
Fyodor Kupolov [Wed, 2 Mar 2016 02:41:51 +0000 (02:41 +0000)]
Merge "Restored switchTo method" into nyc-dev
Fyodor Kupolov [Wed, 2 Mar 2016 02:39:27 +0000 (18:39 -0800)]
Restored switchTo method
It is current used in another branch. Restored to fix a breakage.
Change-Id: Iec98bf525b88b6b5b45bffb97a1f3e9b57c492dd
Jeff Sharkey [Wed, 2 Mar 2016 02:27:23 +0000 (19:27 -0700)]
When system server goes down, crash apps more.
Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.
The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.
Bug:
27364859
Change-Id: Ife0bcb079636c88d54c44d17eb580409fd79028b
Jeff Sharkey [Wed, 2 Mar 2016 01:54:11 +0000 (01:54 +0000)]
Merge "Start unaware persistent apps after user unlocked." into nyc-dev
Vadim Tryshev [Wed, 2 Mar 2016 01:52:18 +0000 (01:52 +0000)]
Merge "Revert "Adding getManagedUserBadgedDrawableForDensity() to PackageManager."" into nyc-dev
Vadim Tryshev [Wed, 2 Mar 2016 01:51:42 +0000 (01:51 +0000)]
Revert "Adding getManagedUserBadgedDrawableForDensity() to PackageManager."
This reverts commit
9f68f41a5866e1feb810b16c769705c10e850d5d.
Caused breakage.
Change-Id: I441737f61f6f38ed9f440211b52bbac0f74982e3
Jeff Sharkey [Wed, 2 Mar 2016 01:38:49 +0000 (18:38 -0700)]
Start unaware persistent apps after user unlocked.
Otherwise we'll never start them. In particular, this fixes NFC.
Bug:
27360562
Change-Id: I9d430b1e377e63b35060b234f585ac180a369ad2
Insun Kang [Wed, 2 Mar 2016 01:36:09 +0000 (01:36 +0000)]
Merge "Annotate Media section of framework/base" into nyc-dev
Steve McKay [Wed, 2 Mar 2016 01:33:31 +0000 (01:33 +0000)]
Merge "Fix roots filtering for move operations." into nyc-dev
Steve McKay [Tue, 1 Mar 2016 23:11:56 +0000 (15:11 -0800)]
Fix roots filtering for move operations.
Add test coverage for the Downloads case.
This was a regression to my recent cleanup of RootInfo.
Fixed logic to not exclude basically *everything* when a
directory is in the set of files to be copied.
Bug:
27303346
Change-Id: I4d5608e0d8d95448b027b20107a11a7a5e46d45e
Selim Cinek [Tue, 1 Mar 2016 20:06:57 +0000 (12:06 -0800)]
Fixed a bug where the notification texts wouldn't animate
If the texts were the same but one had an ellipsis and the
other didn't, things were not animating nicely.
Bug:
27419215
Change-Id: Iaa9611e1cf60b6fe71113b76f36ab5c24e461961
Jeff Sharkey [Wed, 2 Mar 2016 00:53:11 +0000 (00:53 +0000)]
Merge "Don't evict SharedPreferences when migrate no-op." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:52:34 +0000 (00:52 +0000)]
Merge "Make preferred activities encryption aware." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:52:20 +0000 (00:52 +0000)]
Merge "Utility to detect lock inversions in system." into nyc-dev
Vadim Tryshev [Wed, 2 Mar 2016 00:49:28 +0000 (00:49 +0000)]
Merge "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." into nyc-dev
Wale Ogunwale [Wed, 2 Mar 2016 00:45:02 +0000 (00:45 +0000)]
Merge "Relaunch activity resumed if it got resumed before relaunching." into nyc-dev
Vadim Tryshev [Thu, 18 Feb 2016 23:41:21 +0000 (15:41 -0800)]
Adding getManagedUserBadgedDrawableForDensity() to PackageManager.
It allows badging an image regardless of of the user (no
user id parameter). The styling for managed users is applied.
This is useful for new cases where the existing functions
wouldn't badge the icon, but we need it.
Bug:
25192539
Change-Id: I20ca2d7265cbc3a47c050a72ec1843cc0a481c74
Jeff Sharkey [Wed, 2 Mar 2016 00:38:39 +0000 (00:38 +0000)]
Merge "Sometimes to step forward, we need to go back. [2/2]" into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:38:31 +0000 (00:38 +0000)]
Merge "Sometimes to step forward, we need to go back. [1/2]" into nyc-dev
Yigit Boyar [Wed, 2 Mar 2016 00:36:48 +0000 (00:36 +0000)]
Merge "Check if item is selectable before calling on click" into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:36:23 +0000 (17:36 -0700)]
Sometimes to step forward, we need to go back. [2/2]
Change-Id: Iccabb95530a6e3c3950cb9a8dfe84e75354d2f5f
Lorenzo Colitti [Wed, 2 Mar 2016 00:33:41 +0000 (00:33 +0000)]
Merge "Don't pass calling contexts into static services." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 00:28:36 +0000 (17:28 -0700)]
Sometimes to step forward, we need to go back. [1/2]
Change-Id: Ibff95298dc2e6c09675018ad0c45506589b6312a
Yigit Boyar [Wed, 2 Mar 2016 00:09:58 +0000 (16:09 -0800)]
Check if item is selectable before calling on click
This CL fixes a bug in ListView where it might call onClick on an
un-clickable if a new touch arrives before up timeout.
We could actually consider making child position non-changable
but that will change behavior. This seems safer approach.
Bug:
27198796
Change-Id: I7b15d04efa19d1d760a294bd027f3da3aaa3a445
Doris Liu [Wed, 2 Mar 2016 00:08:28 +0000 (00:08 +0000)]
Merge "Revert "Temporarily disable AVD on RT"" into nyc-dev
John Reck [Tue, 1 Mar 2016 23:58:12 +0000 (23:58 +0000)]
Revert "Temporarily disable AVD on RT"
This reverts commit
128a36526c14d03d9585c12e808c5fb7ffd3bc3c.
Change-Id: Ibd687a9272d63feb842fba765b8b1d5165841527
John Reck [Tue, 1 Mar 2016 23:58:04 +0000 (23:58 +0000)]
Merge "Temporarily disable AVD on RT" into nyc-dev
John Reck [Tue, 1 Mar 2016 23:43:34 +0000 (15:43 -0800)]
Temporarily disable AVD on RT
Bug:
27396097
Change-Id: I44324bca96e4a3a659d7222970c7e5d635a36383
Svetoslav Ganov [Tue, 1 Mar 2016 23:42:18 +0000 (23:42 +0000)]
Merge "API for safe label to present in the UI" into nyc-dev
Anna Galusza [Tue, 1 Mar 2016 23:39:07 +0000 (23:39 +0000)]
Merge "Throw exception from SoftKeyboardController if connection is dead and declare SHOW_MODE_AUTO and SHOW_MODE_HIDDEN in AccessibilityService class. Bug:
27364143" into nyc-dev
Fyodor Kupolov [Tue, 1 Mar 2016 23:21:26 +0000 (23:21 +0000)]
Merge "Disable switching users if the user is in a call" into nyc-dev
Alan Viverette [Tue, 1 Mar 2016 23:13:41 +0000 (23:13 +0000)]
Merge "Use Holo date/time picker layouts on very small screens" into nyc-dev
Svetoslav Ganov [Tue, 1 Mar 2016 23:02:30 +0000 (23:02 +0000)]
Merge "Hide overlay windows in VR mode" into nyc-dev
Svetoslav Ganov [Tue, 1 Mar 2016 23:01:14 +0000 (15:01 -0800)]
Hide overlay windows in VR mode
bug:
26775563
Change-Id: I0e81cc64f281cd085ff642ebd93f32ceb3ad5480
Keun-young Park [Tue, 1 Mar 2016 22:59:13 +0000 (22:59 +0000)]
Merge "Revert "make isUiModeLocked, isNightModeLocked test api"" into nyc-dev
Keun-young Park [Tue, 1 Mar 2016 22:58:15 +0000 (22:58 +0000)]
Revert "make isUiModeLocked, isNightModeLocked test api"
This reverts commit
b493a7dffe1b40fd7d5c22b8ed340c76918bc56b.
Change-Id: I651b7ee5b9ca5d7fa1cde1c625bbaa585e186544
Felipe Leme [Tue, 1 Mar 2016 22:43:10 +0000 (22:43 +0000)]
Merge "Created netpolicy commands to manage UIDs blacklisted for network access while on background." into nyc-dev
Svetoslav Ganov [Tue, 1 Mar 2016 22:12:43 +0000 (14:12 -0800)]
API for safe label to present in the UI
bug:
23531798
Change-Id: Ic3e0ed3db11445dbc5e562ca1a91b181ec5f2553
Steve McKay [Tue, 1 Mar 2016 22:30:12 +0000 (22:30 +0000)]
Merge "Ensure directory names are aligned correctly..." into nyc-dev
Jeff Sharkey [Tue, 1 Mar 2016 22:25:03 +0000 (15:25 -0700)]
Don't evict SharedPreferences when migrate no-op.
When calling migrateSharedPreferencesFrom(), only evict the in-memory
caches when we actually moved files around.
Bug:
27387346
Change-Id: I4fb534e55c0d3df7c574f18d2a853ef824635b8e
Jeff Sharkey [Tue, 1 Mar 2016 22:15:55 +0000 (15:15 -0700)]
Make preferred activities encryption aware.
Not all built-in apps are encryption aware, so match them all when
setting up preferred activities.
Bug:
27429841
Change-Id: I0fd2195714fac95d031813bab73125a5c7b6c81a
Dongwon Kang [Tue, 1 Mar 2016 22:11:43 +0000 (22:11 +0000)]
Merge "TIF: Address API review comments" into nyc-dev
Alan Viverette [Tue, 1 Mar 2016 21:48:04 +0000 (16:48 -0500)]
Use Holo date/time picker layouts on very small screens
If the screen is smaller than "small" then use the Holo picker layouts.
Unifies the SavedState between delegates so that we can seamlessly
transition between them during configuration changes. Pushes the
DatePickerSpinnerDelegate up to the same level as the calendar delegate.
Bug:
27239893
Change-Id: Ida4dc2748d38bd766ae93d12aef15e963921939c
George Mount [Tue, 1 Mar 2016 21:41:44 +0000 (21:41 +0000)]
Merge "Clear child fragment manager after it is destroyed." into nyc-dev
George Mount [Tue, 1 Mar 2016 21:40:53 +0000 (21:40 +0000)]
Merge "Ensure that fragments are created in added order." into nyc-dev
Felipe Leme [Tue, 1 Mar 2016 21:40:31 +0000 (13:40 -0800)]
Created netpolicy commands to manage UIDs blacklisted for network access
while on background.
These commands will be used primarily in the CTS tests:
- list restrict-background-blacklist
- add restrict-background-blacklist UID
- remove restrict-background-blacklist UID
BUG:
27432317
Change-Id: Ie1148dcabbb2481ccd39659a813fac3776f84e3b
Steve McKay [Tue, 1 Mar 2016 21:39:25 +0000 (21:39 +0000)]
Merge "Don't assert against Recents title." into nyc-dev
Steve McKay [Tue, 1 Mar 2016 20:57:44 +0000 (12:57 -0800)]
Don't assert against Recents title.
It was causing a failure.
Bug:
27383076
Change-Id: Ieb4693783831443e05f32333c181371b0eb4fb93
Michael Wright [Tue, 1 Mar 2016 21:32:05 +0000 (21:32 +0000)]
Merge "Show error message when pairing fails in SUW." into nyc-dev
Chris Wren [Tue, 1 Mar 2016 21:02:49 +0000 (21:02 +0000)]
Merge "Revert "add all those great comments from the other file."" into nyc-dev
Chris Wren [Tue, 1 Mar 2016 21:02:21 +0000 (21:02 +0000)]
Revert "add all those great comments from the other file."
This reverts commit
72a4bbc694aef402a9a3fc1656d8bf26decaeb70.
Change-Id: Ib351cdd85b8daf17fecc23a3851dda9fb89e477c
Dianne Hackborn [Tue, 1 Mar 2016 20:57:01 +0000 (20:57 +0000)]
Merge "Fix issue #
27317952: PendingIntent.getIntent() should be protected" into nyc-dev
Anna Galusza [Mon, 29 Feb 2016 23:39:08 +0000 (15:39 -0800)]
Throw exception from SoftKeyboardController if connection is dead and declare
SHOW_MODE_AUTO and SHOW_MODE_HIDDEN in AccessibilityService class.
Bug:
27364143
Change-Id: I02c23fbfab1eae8b2a155b1d9c3857e4eb6addb1
Todd Kennedy [Tue, 1 Mar 2016 20:39:57 +0000 (20:39 +0000)]
Merge "Revert "Revert "Remove deprecated methods / classes""" into nyc-dev
Wale Ogunwale [Tue, 1 Mar 2016 20:34:49 +0000 (20:34 +0000)]
Merge "Changed logging format of lost windows to reduce confusion." into nyc-dev
Wale Ogunwale [Tue, 1 Mar 2016 20:34:11 +0000 (20:34 +0000)]
Merge "Add activity onStop lifecycle to event logs." into nyc-dev
Robin Lee [Tue, 1 Mar 2016 20:25:18 +0000 (20:25 +0000)]
Merge "More sensible return code for Credentials.deleteAll" into nyc-dev
Jason Monk [Tue, 1 Mar 2016 20:10:22 +0000 (20:10 +0000)]
Merge "Fix difference in icon size for quick QS" into nyc-dev
Robin Lee [Tue, 1 Mar 2016 20:09:44 +0000 (20:09 +0000)]
Merge "ConnectivityService: listen to USER_UNLOCKED too" into nyc-dev
Jakub Pawlowski [Tue, 1 Mar 2016 20:04:33 +0000 (20:04 +0000)]
Merge "Hide android.bluetooth.OobData" into nyc-dev
Adrian Roos [Tue, 1 Mar 2016 20:00:51 +0000 (20:00 +0000)]
Merge "Improve mergeability of metrics_constants.proto" into nyc-dev
Jason Monk [Tue, 1 Mar 2016 20:00:16 +0000 (15:00 -0500)]
Fix difference in icon size for quick QS
Bug:
27371482
Change-Id: I7c1316bf3b3ff6dfde0a92a6c8b9599c2f203503
Adrian Roos [Thu, 25 Feb 2016 19:58:32 +0000 (11:58 -0800)]
Improve mergeability of metrics_constants.proto
Change-Id: I6f964d85b5d1b85a04bc8ac2a87453455be93719
Winson [Tue, 1 Mar 2016 19:56:30 +0000 (11:56 -0800)]
Fixing regression in creating dismiss descriptions.
Bug:
27411256
Change-Id: I39f56257544d593838349049208fe59f551100eb
Winson Chung [Tue, 1 Mar 2016 19:57:03 +0000 (19:57 +0000)]
Merge "Skip animation in error case, log for further investigation." into nyc-dev
Abhijith Shastry [Tue, 1 Mar 2016 19:56:05 +0000 (19:56 +0000)]
Merge "Add deprecated annotation to launchManageBlockedNumbersActivity API." into nyc-dev
Jeff Sharkey [Tue, 1 Mar 2016 19:55:12 +0000 (19:55 +0000)]
Merge "Suppress StopInfo exception based on target API." into nyc-dev
Steve McKay [Tue, 1 Mar 2016 19:26:00 +0000 (11:26 -0800)]
Ensure directory names are aligned correctly...
In list view...and don't show dir dates, even when present.
In fact, no details on folders at all when in list view.
Also improve layout of files without details (if they exist).
Bug:
27406730
Change-Id: Ida4b5f99666c4a145ca98a3c15c480e59a76b4a6
Chris Wren [Tue, 1 Mar 2016 19:38:44 +0000 (19:38 +0000)]
Merge "add all those great comments from the other file." into nyc-dev
Chris Wren [Tue, 1 Mar 2016 19:31:56 +0000 (14:31 -0500)]
add all those great comments from the other file.
Bug:
27429645
Change-Id: Ice3b1d01f27fa872191cd07f54b55a51733f77a1
Jason Monk [Tue, 1 Mar 2016 19:26:55 +0000 (19:26 +0000)]
Merge "Handle density changes in QS" into nyc-dev
Jeff Sharkey [Tue, 1 Mar 2016 18:22:59 +0000 (11:22 -0700)]
Suppress StopInfo exception based on target API.
Bug:
27429026
Change-Id: Ibf0b058b1f921c20fbc3c72045467883a8934f67
Selim Cinek [Tue, 1 Mar 2016 04:43:55 +0000 (20:43 -0800)]
Notification groups with only one child behave nicer when swiping
When swiping the last child of a group away the notification parent
is now swiped instead of the child, unless it is non-dismissable.
Bug:
27420342
Change-Id: Idbb1fac5e46a5a91af829973ee167ad400be82a5
Selim Cinek [Tue, 1 Mar 2016 04:03:08 +0000 (20:03 -0800)]
Fixed a bug where children were not / incorrectly userlocked
This can lead to all sorts of weird behavior
Bug:
24866646
Change-Id: If3395c5f1b524592cd658a57ac91d2a0fe893011
Selim Cinek [Tue, 1 Mar 2016 03:57:35 +0000 (19:57 -0800)]
Expanding first child in a group now if it's the only one
When expanding notifications, the first child is now expanded
if it's the only one in there.
Bug:
27419554
Change-Id: Icdadbb7036e4cd5964de4c2e96e6a8322052bc93
Jason Monk [Tue, 1 Mar 2016 19:14:31 +0000 (19:14 +0000)]
Merge "Fix QS edit BGs" into nyc-dev
Phil Burk [Tue, 1 Mar 2016 19:13:38 +0000 (19:13 +0000)]
Merge "AudioTrack: docs for getUnderrunCount()" into nyc-dev
Glenn Kasten [Tue, 1 Mar 2016 19:10:48 +0000 (19:10 +0000)]
Merge "Add use for audio_unique_id_t" into nyc-dev
Winson Chung [Tue, 1 Mar 2016 19:07:34 +0000 (19:07 +0000)]
Merge "Disable extracting the bg color from the window background." into nyc-dev
Jakub Pawlowski [Tue, 1 Mar 2016 03:31:59 +0000 (19:31 -0800)]
Hide android.bluetooth.OobData
Bug:
27385555
Change-Id: I1767909ca17b1b23a2f23ea4a5b4a02cc52eecde
Felipe Leme [Tue, 1 Mar 2016 18:58:26 +0000 (18:58 +0000)]
Merge "Created metric events for scoped directory access API." into nyc-dev
Santos Cordon [Tue, 1 Mar 2016 18:57:01 +0000 (18:57 +0000)]
Merge "Adding toStrings() to the API." into nyc-dev
Julia Reynolds [Tue, 1 Mar 2016 18:56:15 +0000 (18:56 +0000)]
Merge "Protect against a lack of metadata." into nyc-dev
Robin Lee [Mon, 29 Feb 2016 17:43:54 +0000 (17:43 +0000)]
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
Julia Reynolds [Tue, 1 Mar 2016 18:54:52 +0000 (18:54 +0000)]
Merge "Fix app icon in notification guts." into nyc-dev
Andreas Gampe [Tue, 1 Mar 2016 18:38:08 +0000 (18:38 +0000)]
Merge "Frameworks/base: Refactor TextView initialization" into nyc-dev
Keun-young Park [Tue, 1 Mar 2016 18:37:55 +0000 (18:37 +0000)]
Merge "make isUiModeLocked, isNightModeLocked test api" into nyc-dev
Felipe Leme [Wed, 24 Feb 2016 18:17:41 +0000 (10:17 -0800)]
Created metric events for scoped directory access API.
BUG:
27334821
Change-Id: I8a1bfc328dcd26b42bb66884d14b34ad11aa232f
Clara Bayarri [Tue, 1 Mar 2016 18:07:04 +0000 (18:07 +0000)]
Merge "Fix Fingerprint confusing personal and work fingerprints when unified" into nyc-dev
Winson [Tue, 1 Mar 2016 18:07:04 +0000 (10:07 -0800)]
Skip animation in error case, log for further investigation.
Bug:
27389156
Change-Id: Idc2ebdf04ab72d326f68a47627b27d6e61315d1e
Dongwon Kang [Tue, 1 Mar 2016 17:36:07 +0000 (09:36 -0800)]
TIF: Address API review comments
Bug:
27386052
Change-Id: I242819e0817723e247b8fe646d534899ab50af76
Calin Juravle [Tue, 1 Mar 2016 17:59:18 +0000 (17:59 +0000)]
Merge "Restrict the cases when we profile guided compile an apk" into nyc-dev
Chong Zhang [Tue, 1 Mar 2016 17:58:16 +0000 (17:58 +0000)]
Merge "Check task.isResizeable() instead of the resize mode directly" into nyc-dev
Yorke Lee [Tue, 1 Mar 2016 17:50:31 +0000 (17:50 +0000)]
Merge "Add setAlwaysOpaque and setTint to BarTransitions" into nyc-dev
Dimitry Ivanov [Tue, 1 Mar 2016 17:50:00 +0000 (17:50 +0000)]
Merge "Display Toast with linker warnings after Activity.onStart()" into nyc-dev
Fyodor Kupolov [Tue, 1 Mar 2016 17:39:12 +0000 (17:39 +0000)]
Merge "Fixed handling of blockUninstall setting" into nyc-dev
Julia Reynolds [Tue, 1 Mar 2016 17:33:48 +0000 (12:33 -0500)]
Protect against a lack of metadata.
Change-Id: Idc28ac451567e8ee4772d9db3009102d781e6331