OSDN Git Service
Daniel Nishi [Wed, 1 Mar 2017 22:16:46 +0000 (22:16 +0000)]
Merge "Add a debug flag to disable time correction."
TreeHugger Robot [Wed, 1 Mar 2017 22:06:12 +0000 (22:06 +0000)]
Merge "Remove FastJNI optimization on AssetManager to avoid dead lock."
Christine Franks [Wed, 1 Mar 2017 22:03:51 +0000 (22:03 +0000)]
Merge "Add QS tile for Night Display when first used"
TreeHugger Robot [Wed, 1 Mar 2017 22:03:18 +0000 (22:03 +0000)]
Merge "Fix some old and annoying doc problems."
TreeHugger Robot [Wed, 1 Mar 2017 21:54:33 +0000 (21:54 +0000)]
Merge "Add a network scorer label metadata field to NetworkScoreAppData"
TreeHugger Robot [Wed, 1 Mar 2017 21:49:26 +0000 (21:49 +0000)]
Merge "Use context's userId in ContentResolver class."
Carmen Jackson [Wed, 1 Mar 2017 21:03:10 +0000 (21:03 +0000)]
Merge "Add tracing for broadcast sending and processing."
TreeHugger Robot [Wed, 1 Mar 2017 21:02:22 +0000 (21:02 +0000)]
Merge changes I6c0c8730,Icbae30d2
* changes:
Fix Wifi Signal strength in the picker.
Create a Tron event for opening the network details page.
Daniel Nishi [Wed, 1 Mar 2017 20:54:55 +0000 (20:54 +0000)]
Merge "Add the new package stats query to wrapper."
Christine Franks [Mon, 23 Jan 2017 22:45:29 +0000 (14:45 -0800)]
Add QS tile for Night Display when first used
Bug:
30994985
Test: runtest systemui, and manual - verify that the quick settings
panel does not have a Night Display quick settings tile, then turn
Night Display on and verify that the tile has appeared. Multiuser
does NOT work and is tracked separately.
Change-Id: I997b4ca7952016fc703a6bb777e500f4eccce189
TreeHugger Robot [Wed, 1 Mar 2017 20:28:54 +0000 (20:28 +0000)]
Merge "Add a process state seq counter to UidRecord."
Sudheer Shanka [Fri, 3 Feb 2017 23:15:57 +0000 (15:15 -0800)]
Use context's userId in ContentResolver class.
- When registering and notifying observers, we should use the user in the
context as opposed to current user.
- Relax the permission check while registering and notifying content observers
to use INTERACT_ACROSS_USERS instead of INTERACT_ACROSS_USERS_FULL permission.
Change-Id: I973936903d4a2272c5722f3b98a057a40c0402be
Fixes:
32955100
Test: Created managed profile and verified that there are not failures.
runtest -x core/tests/coretests/src/android/content/SecondaryUserContentResolverTest.java
runtest -x core/tests/coretests/src/android/content/ManagedUserContentResolverTest.java
TreeHugger Robot [Wed, 1 Mar 2017 19:55:22 +0000 (19:55 +0000)]
Merge "Add method for plugins to reference global dependencies"
TreeHugger Robot [Wed, 1 Mar 2017 19:53:21 +0000 (19:53 +0000)]
Merge "Fix vararg build warning"
Stephen Chen [Wed, 1 Mar 2017 02:11:34 +0000 (18:11 -0800)]
Add a network scorer label metadata field to NetworkScoreAppData
This field allows Network Score Services to pass an alternate label for
the scorer.
Bug:
35848510
Test: runtest --path
frameworks/base/services/tests/servicestests/src/com/android/server/NetworkScorerAppManagerTest.java
runtest --path
frameworks/base/services/tests/servicestests/src/com/android/server/NetworkScoreServiceTest.java
Change-Id: Ic28671c1663bd08b2406045d20c150a209d56054
Ajay Nambi [Wed, 1 Mar 2017 19:44:48 +0000 (19:44 +0000)]
Merge "Add DUN to networkAttributes" am:
32d763b0ed am:
4e8cd7dca6
am:
5e6147faa0
Change-Id: I2ed7b482916804c783e2fa9e7c053e20e8eb59e7
Ajay Nambi [Wed, 1 Mar 2017 19:39:16 +0000 (19:39 +0000)]
Merge "Add DUN to networkAttributes" am:
32d763b0ed
am:
4e8cd7dca6
Change-Id: I802d4cbb1ca1f04d661047c0f4cc0b650295e65c
Ajay Nambi [Wed, 1 Mar 2017 19:35:52 +0000 (19:35 +0000)]
Merge "Add DUN to networkAttributes"
am:
32d763b0ed
Change-Id: I863e700b6b98bc23924d7f146e09c1c2c27f608f
Treehugger Robot [Wed, 1 Mar 2017 19:25:38 +0000 (19:25 +0000)]
Merge "Add DUN to networkAttributes"
Sergey Vasilinets [Wed, 1 Mar 2017 19:20:54 +0000 (19:20 +0000)]
Merge "Move graphicstests to coretests"
TreeHugger Robot [Wed, 1 Mar 2017 19:15:16 +0000 (19:15 +0000)]
Merge "Only adjust window layers from WindowLayerController"
TreeHugger Robot [Wed, 1 Mar 2017 19:11:18 +0000 (19:11 +0000)]
Merge "Pinned animation: Avoid expensive defensive programming."
Sudheer Shanka [Fri, 24 Feb 2017 00:34:40 +0000 (16:34 -0800)]
Add a process state seq counter to UidRecord.
This seq counter is associated with the process state in UidRecord
and will be incremented whenever the uid state is going from
background to foreground or vice versa.
Bug:
27803922
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
Change-Id: I1183d929bc7e0b2c9912de3822eb344d2bb0dcf7
ashastry [Wed, 1 Mar 2017 18:32:10 +0000 (18:32 +0000)]
Merge "Permit privileged system apps to send SMS without persisting." am:
3d5504724f am:
6c567af893
am:
70e47219b4
Change-Id: Ifc032a2dff3402909805cb122693c85fe90d0b41
ashastry [Wed, 1 Mar 2017 18:27:52 +0000 (18:27 +0000)]
Merge "Permit privileged system apps to send SMS without persisting." am:
3d5504724f
am:
6c567af893
Change-Id: I1a891d3d8abbf506a91a0236fa7380cfa143e988
Jason Monk [Fri, 24 Feb 2017 20:57:05 +0000 (15:57 -0500)]
Add method for plugins to reference global dependencies
The new annotation versioning system allows plugins to share common
global interfaces that can be versioned on their own. To facilitate
this add a static method for plugins to get a hold of dependencies.
To get any dependency a plugin must @Requires it so it can be version
checked.
Test: Plugin that uses the new call.
Change-Id: I8e01260f8fbc14465502d506a7aa08212795ad9b
ashastry [Wed, 1 Mar 2017 18:23:49 +0000 (18:23 +0000)]
Merge "Permit privileged system apps to send SMS without persisting."
am:
3d5504724f
Change-Id: I94cbf0ab94401149905290e395ddf71371aac849
ashastry [Wed, 1 Mar 2017 18:18:46 +0000 (18:18 +0000)]
Merge "Permit privileged system apps to send SMS without persisting."
Tim Zhang [Thu, 16 Feb 2017 01:55:27 +0000 (09:55 +0800)]
Remove FastJNI optimization on AssetManager to avoid dead lock.
I found there was a dead lock among main, android.display and GC threads
when running monkey test.
- Main thread got a mutex and was suspended by GC thread.
- Android.display thread waited for mutex held by main thread.
- GC thread waited for suspention of android.display thread.
This will lead to ANR or screen freeze.
Fixes:
32480078
Test: builds
Change-Id: I13cf1eca3cb3b7c01aa754874f2b48aab0b472e8
Peng Xu [Wed, 1 Mar 2017 17:58:31 +0000 (17:58 +0000)]
Merge "Add direct sensor report NDK API"
Android Build Merger (Role) [Wed, 1 Mar 2017 17:55:35 +0000 (17:55 +0000)]
Merge "Merge "[AWARE] Add data-path security configuration (PMK)" am:
eff6f4fc43 am:
b50d958c4a am:
756216fdf9"
Etan Cohen [Wed, 1 Mar 2017 17:54:35 +0000 (17:54 +0000)]
Merge "[AWARE] Add data-path security configuration (PMK)" am:
eff6f4fc43 am:
b50d958c4a
am:
756216fdf9
Change-Id: I5cdfbac3dafeecde732ea641cfcfee34c5e376ed
Sergey Vasilinets [Wed, 1 Mar 2017 17:54:05 +0000 (17:54 +0000)]
Merge "Fix premultiplied flag for hardware bitmaps"
Geoffrey Pitsch [Wed, 1 Mar 2017 17:51:19 +0000 (17:51 +0000)]
Merge "Channels for Frameworks notifications"
Etan Cohen [Wed, 1 Mar 2017 17:49:32 +0000 (17:49 +0000)]
Merge "[AWARE] Add data-path security configuration (PMK)" am:
eff6f4fc43
am:
b50d958c4a
Change-Id: I99cdde15f3ea9dc4630ccd09a242f3a1148d33bb
Rob Carr [Wed, 1 Mar 2017 17:49:23 +0000 (17:49 +0000)]
Merge "Modify SurfaceView to use SurfaceFlinger child surfaces."
Etan Cohen [Wed, 1 Mar 2017 17:45:42 +0000 (17:45 +0000)]
Merge "[AWARE] Add data-path security configuration (PMK)"
am:
eff6f4fc43
Change-Id: I90b6324a903b6307c084c891d7eba75957e13886
Etan Cohen [Wed, 1 Mar 2017 17:39:14 +0000 (17:39 +0000)]
Merge "[AWARE] Add data-path security configuration (PMK)"
TreeHugger Robot [Wed, 1 Mar 2017 17:37:36 +0000 (17:37 +0000)]
Merge "Reduce flakes."
TreeHugger Robot [Wed, 1 Mar 2017 17:30:08 +0000 (17:30 +0000)]
Merge "Avoid deadlock when installing app"
Tyler Gunn [Wed, 1 Mar 2017 17:03:04 +0000 (17:03 +0000)]
resolve merge conflicts of
81a28efd1b16 to stage-aosp-master am:
b455f0deed
am:
63700b7a8f -s ours
Change-Id: I485e67447ad5004410ae1d719a4b48baed606517
TreeHugger Robot [Wed, 1 Mar 2017 16:58:33 +0000 (16:58 +0000)]
Merge "Expose isInstantApp() to more callers"
Tyler Gunn [Wed, 1 Mar 2017 16:51:27 +0000 (16:51 +0000)]
resolve merge conflicts of
81a28efd1b16 to stage-aosp-master
am:
b455f0deed
Change-Id: Idca0886e3d6e4f1a5eaeeec98e6c7ed46985a29f
Tyler Gunn [Wed, 1 Mar 2017 16:44:32 +0000 (08:44 -0800)]
resolve merge conflicts of
81a28efd1b16 to stage-aosp-master
Change-Id: Ic4c1ca055db8e70db49d9fc91dfc705da6136a5d
Diego Perez [Wed, 1 Mar 2017 16:11:11 +0000 (16:11 +0000)]
Merge "Rename android.os.Build so it can be dynamically generated"
Tyler Gunn [Wed, 1 Mar 2017 16:08:39 +0000 (16:08 +0000)]
Merge "Support confirmation of international calls while on WFC only."
Julia Reynolds [Wed, 1 Mar 2017 14:33:41 +0000 (09:33 -0500)]
Reduce flakes.
Test: runtest systemui-notifications
Change-Id: I48dc8be786246e6c639a14b16784a394eac49a6b
Shunta Sato [Wed, 19 Oct 2016 06:58:52 +0000 (15:58 +0900)]
Avoid deadlock when installing app
Symptom:
System crash is occurred by deadlock
Root cause:
ActivityManagerService's APIs usually hold a lock of itself instance.
In this case, four threads tried to take the same lock and it caused
deadlock.
Following three objects are in a three-cornered deadlocked.
- ActivityManagerService's instance
- PackageInstallerSession.mLock
- PackageManagerService.mPackages
Solution:
Call checkUidPermission before taking a lock of ActivityManagerService's
instance.
Fixes:
32425801
Test: manual
Author: Kazuki Nakayama <kazuki.x.nakayama@sonymobile.com>
Change-Id: I71ce57b1b8f3e0e9ba64b94a7b1f210b702efb6a
Etan Cohen [Tue, 21 Feb 2017 18:08:42 +0000 (10:08 -0800)]
[AWARE] Add data-path security configuration (PMK)
Add API to optionally provide a pairwise master key (PMK)
to configure security on a data-path.
Clarify the default API to mean open (unencrypted) data-path.
Bug:
33552694
Test: unit tests and integration (sl4a) tests
Change-Id: I43fe704547f2921b3207f215e42d253837aa04e9
Geoffrey Pitsch [Wed, 15 Feb 2017 14:35:38 +0000 (09:35 -0500)]
Channels for Frameworks notifications
Adapts all notifications used by system services to use channels.
Channels are initialized by SystemServer after the NotificationService
has started.
Test: runtest systemui-notification
Change-Id: I25c45293b786adb57787aeab4c2613c9d7c89dab
Nathan Harold [Wed, 1 Mar 2017 14:22:57 +0000 (14:22 +0000)]
Merge "Add API Surface for creating IpSec Transforms" am:
7645fa2816 am:
0a6305d5dd
am:
3ddaf3e6b0
Change-Id: Idceae0e5a1af2f357378b03fc0d257dab605b217
Diego Perez [Wed, 1 Mar 2017 14:18:10 +0000 (14:18 +0000)]
Rename android.os.Build so it can be dynamically generated
This will allow the android.os.Build class to be generated dynamically
from the Studio side.
In order to allow the "refactoring" of classses like android.os.Build,
Create needed to be modified.
While adding the test, I've also done a small clean-up of the
AsmGeneratorTest to re-use some code.
Bug: http://b.android.com/210345
Test: Added new test to AsmGeneratorTest
Change-Id: Ie4e1209c1c60b7a33cb427dbd556a9741ec8f8b3
Nathan Harold [Wed, 1 Mar 2017 14:17:46 +0000 (14:17 +0000)]
Merge "Add API Surface for creating IpSec Transforms" am:
7645fa2816
am:
0a6305d5dd
Change-Id: Ie1798e4d7dda91a970db40e078016fcbcf89149f
Nathan Harold [Wed, 1 Mar 2017 14:12:55 +0000 (14:12 +0000)]
Merge "Add API Surface for creating IpSec Transforms"
am:
7645fa2816
Change-Id: Ibe70a60c5c5808a7877145cccefcc1f11bfacc51
Treehugger Robot [Wed, 1 Mar 2017 14:05:47 +0000 (14:05 +0000)]
Merge "Add API Surface for creating IpSec Transforms"
Erik Kline [Wed, 1 Mar 2017 11:55:44 +0000 (11:55 +0000)]
Merge "Fix dead lock in Tethering state machine" am:
355dbae680 am:
0703f03953
am:
83385ed04a
Change-Id: I7d0974d5ec4e3cab1581e1cce0e01eeb6bf7448a
Erik Kline [Wed, 1 Mar 2017 11:50:41 +0000 (11:50 +0000)]
Merge "Fix dead lock in Tethering state machine" am:
355dbae680
am:
0703f03953
Change-Id: I233d796cf67a71ebc43970f949930de46a0ddb3f
Erik Kline [Wed, 1 Mar 2017 11:46:10 +0000 (11:46 +0000)]
Merge "Fix dead lock in Tethering state machine"
am:
355dbae680
Change-Id: Idd08726f3eeebba49a9ad909464377af67600d30
Erik Kline [Wed, 1 Mar 2017 11:40:02 +0000 (11:40 +0000)]
Merge "Fix dead lock in Tethering state machine"
Erik Kline [Wed, 1 Mar 2017 11:13:14 +0000 (11:13 +0000)]
Merge "Also test for additional NetworkCallback calls" am:
dff6c5c30d am:
47d8385184
am:
02310829cf
Change-Id: I0264a471312423e896a1c2f479c0eeda737a1567
Erik Kline [Wed, 1 Mar 2017 11:08:06 +0000 (11:08 +0000)]
Merge "Also test for additional NetworkCallback calls" am:
dff6c5c30d
am:
47d8385184
Change-Id: I19ff91b1397abe20920bbae8aa6c976c6bcac0ba
Erik Kline [Wed, 1 Mar 2017 11:03:08 +0000 (11:03 +0000)]
Merge "Also test for additional NetworkCallback calls"
am:
dff6c5c30d
Change-Id: I00b3f7be06bde167872d0cdefe940cda5e138846
Treehugger Robot [Wed, 1 Mar 2017 10:55:34 +0000 (10:55 +0000)]
Merge "Also test for additional NetworkCallback calls"
TreeHugger Robot [Wed, 1 Mar 2017 09:45:27 +0000 (09:45 +0000)]
Merge "More accurate cascading submenu position"
Erik Kline [Tue, 28 Feb 2017 07:20:20 +0000 (16:20 +0900)]
Also test for additional NetworkCallback calls
Specifcally:
- onCapabilitiesChanged
- onLinkPropertiesChanged
- onNetworkSuspended
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
Bug:
32163131
Change-Id: Ie0f7c8ac21313b11980bb335c89ecde6fd8e311c
TreeHugger Robot [Wed, 1 Mar 2017 08:38:43 +0000 (08:38 +0000)]
Merge "Move some static methods from NPMS to NPM class."
TreeHugger Robot [Wed, 1 Mar 2017 06:38:12 +0000 (06:38 +0000)]
Merge "Fix default value for mUidState.get."
TreeHugger Robot [Wed, 1 Mar 2017 06:19:16 +0000 (06:19 +0000)]
Merge "AudioService: fix volume shaper release"
Nathan Harold [Fri, 13 Jan 2017 02:38:57 +0000 (18:38 -0800)]
Add API Surface for creating IpSec Transforms
This CL adds an API to set up an IPSec Security Association
and Security Policy to perform Transport-Mode and Tunnel-Mode encapuslation
of IP Packets.
Bug:
30984788
Bug:
34811752
Test:
34812052,
34811227
Change-Id: Ic9f63c7bb366302a24baa3e1b79020210910ac0a
Robert Carr [Mon, 27 Feb 2017 19:33:33 +0000 (11:33 -0800)]
Only adjust window layers from WindowLayerController
Various animation adjustment logic will directly set mAnimLayer
outside of WindowLayerController. If we end up setting this layer
very high, we can end up moving it above the special windows
collected in WindowLayersController.
Bug:
33702491
Bug:
35396882
Test: bit FrameworksServicesTests:com.android.server.wm.WindowTokenTests
Change-Id: I9850529ecd6f0067bc24421515b39b645885a3ec
sergeyv [Wed, 1 Mar 2017 02:28:27 +0000 (18:28 -0800)]
Move graphicstests to coretests
Two reason for merge:
1. Currently graphicstests aren't runned as part of acpt
2. Separation was confusing: android.graphics package existed in both apks: frameworks & coretests.
Test: refactoring CL.
Change-Id: I0ade3ebbc2d06074ae81a2c390475f1f434dd873
TreeHugger Robot [Wed, 1 Mar 2017 02:24:30 +0000 (02:24 +0000)]
Merge "set bounds"
George Burgess IV [Wed, 1 Mar 2017 02:02:40 +0000 (02:02 +0000)]
Merge "Fix memory-leak warnings from the static analyzer" am:
2006bfc9ad am:
43fd84a03c
am:
0d0ccb0c19
Change-Id: I0abbba291721af2b66735dcbd33bbc406767536c
George Burgess IV [Wed, 1 Mar 2017 01:58:36 +0000 (01:58 +0000)]
Merge "Fix memory-leak warnings from the static analyzer" am:
2006bfc9ad
am:
43fd84a03c
Change-Id: Id2b577a021a3163d9f489235bf7f76c5f5ae527e
George Burgess IV [Wed, 1 Mar 2017 01:53:27 +0000 (01:53 +0000)]
Merge "Fix memory-leak warnings from the static analyzer"
am:
2006bfc9ad
Change-Id: I2efd6e42c72d3163505a23e8a95e45526a5ef642
Sundeep Ghuman [Wed, 1 Mar 2017 01:23:09 +0000 (17:23 -0800)]
Fix Wifi Signal strength in the picker.
Bug: b/
35854026
Test: Tracked in b/
35854035 and currently blocked.
Change-Id: I6c0c8730e891b29de2db3d935193f3feecac8182
Sundeep Ghuman [Mon, 27 Feb 2017 23:57:58 +0000 (15:57 -0800)]
Create a Tron event for opening the network details page.
Bug:
35807357
Test: NA
Change-Id: Icbae30d2e4af4e46e289cad490a6531157c54d5e
TreeHugger Robot [Wed, 1 Mar 2017 01:49:04 +0000 (01:49 +0000)]
Merge "Add boolean when instant apps are available"
sergeyv [Tue, 28 Feb 2017 23:25:10 +0000 (15:25 -0800)]
Fix premultiplied flag for hardware bitmaps
Test: android.uirendering.cts.testclasses.HardwareBitmapTests
bug:
35752428
Change-Id: I2d21822e13c007c760f2fb42370aeb9240fcb5fa
Treehugger Robot [Wed, 1 Mar 2017 01:45:51 +0000 (01:45 +0000)]
Merge "Fix memory-leak warnings from the static analyzer"
Peng Xu [Thu, 16 Feb 2017 07:25:21 +0000 (23:25 -0800)]
Add direct sensor report NDK API
Added libandroid mapping and implementation of the following API:
* ASensorManager_configureDirectReport
* ASensorManager_createSharedMemoryDirectChannel
* ASensorManager_createHardwareBufferDirectChannel
* ASensorManager_destroyDirectChannel
* ASensor_getHighestDirectReportRateLevel
* ASensor_isDirectChannelTypeSupported
Test: cts-tradefed run cts --module CtsSensorTestCases \
--test android.hardware.cts.SensorNativeTest
Bug:
30985702
Change-Id: Ic808cc50d1ecbc789944ef77a4b247dc0c83c28a
Robert Carr [Wed, 1 Mar 2017 01:18:29 +0000 (17:18 -0800)]
Pinned animation: Avoid expensive defensive programming.
Sys-trace revealed contention here as the overwhelming
cause of missed frames during the animation (typically contention
with relayout). The checks aren't necessary, and there is a visible
gain from removing the contention here.
Bug:
35396882
Test: Manual
Change-Id: I5151c603ac445c7832c9c499b663e5b9ec54e9f4
Maurice Lam [Wed, 1 Mar 2017 01:12:31 +0000 (17:12 -0800)]
Fix vararg build warning
Fix the following build warning:
[...]/InputMethodAndSubtypeUtil.java:399: warning: non-varargs call
of varargs method with inexact argument type for last parameter;
ListFormatter.getInstance(locale).format(subtypeNames), locale);
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
Test: Existing tests pass (cd tests/robotests && mma)
Change-Id: Ie13ff713d3dbbe1f308fcd105656a484b89c8f1d
Android Build Merger (Role) [Wed, 1 Mar 2017 01:11:50 +0000 (01:11 +0000)]
Merge "Merge "Add @hide to RttAudioMode IntDef" am:
22af0f3377 am:
c284379659 am:
f000639f82"
Hall Liu [Wed, 1 Mar 2017 01:11:04 +0000 (01:11 +0000)]
Merge "Add @hide to RttAudioMode IntDef" am:
22af0f3377 am:
c284379659
am:
f000639f82
Change-Id: Ibcb239e0aa3499386f6f71026084276b07554cdb
TreeHugger Robot [Wed, 1 Mar 2017 01:10:17 +0000 (01:10 +0000)]
Merge "Introduce ANSWER_PHONE_CALLS permission"
Hall Liu [Wed, 1 Mar 2017 01:05:58 +0000 (01:05 +0000)]
Merge "Add @hide to RttAudioMode IntDef" am:
22af0f3377
am:
c284379659
Change-Id: I892dd9f7c070aade5962b53277a860a55ed237ea
Hall Liu [Wed, 1 Mar 2017 01:01:29 +0000 (01:01 +0000)]
Merge "Add @hide to RttAudioMode IntDef"
am:
22af0f3377
Change-Id: Ifdfdf7ced2f88188314475c99dd58cdf886f014d
Hall Liu [Wed, 1 Mar 2017 00:51:37 +0000 (00:51 +0000)]
Merge "Add @hide to RttAudioMode IntDef"
Todd Kennedy [Wed, 1 Mar 2017 00:34:15 +0000 (16:34 -0800)]
Expose isInstantApp() to more callers
Instead of just allowing the instant app itself, also allow anyone
with ACCESS_INSTANT_APP permission or apps that the instant app
has granted access.
Change-Id: I5a79ef9520db908ba9ab56af0157b1646d2d8cc1
Fixes:
34123112
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Todd Kennedy [Wed, 1 Mar 2017 00:25:01 +0000 (00:25 +0000)]
Merge "fix typo"
Todd Kennedy [Wed, 1 Mar 2017 00:20:09 +0000 (16:20 -0800)]
fix typo
Fixes:
35840741
Test: None; it's a javadoc fix
Change-Id: Ic59fe12351c24630d7ba18ffaafeef8035be35f5
George Burgess IV [Wed, 25 Jan 2017 00:30:22 +0000 (16:30 -0800)]
Fix memory-leak warnings from the static analyzer
Warnings:
frameworks/base/core/jni/android_view_InputChannel.cpp:145:5: warning:
Potential memory leak
jobject serverChannelObj =
android_view_InputChannel_createInputChannel(env,
^~~~~~~~~~~~~~~~~~~~~~~~
frameworks/base/core/jni/android_view_InputChannel.cpp:151:5: warning:
Potential memory leak
jobject clientChannelObj =
android_view_InputChannel_createInputChannel(env,
^~~~~~~~~~~~~~~~~~~~~~~~
The warnings were complaining about that we might leak
nativeInputChannel, in android_view_InputChannel_createInputChannel,
since we're allocating it as an arg and not always putting it somewhere.
Bug: None
Test: Builds without warnings
Change-Id: I62163adee5d420ad78c8d4c74aafefc8a58f765b
Sunny Goyal [Tue, 28 Feb 2017 23:58:35 +0000 (23:58 +0000)]
Merge "Sending explicit broadcast to the launcher when a package is installed"
TreeHugger Robot [Tue, 28 Feb 2017 23:38:42 +0000 (23:38 +0000)]
Merge "Remove drawer code from settings"
Todd Kennedy [Mon, 27 Feb 2017 19:45:13 +0000 (11:45 -0800)]
Add boolean when instant apps are available
Bug:
34168547
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Change-Id: Ic1072d02aa4d43947e689e4381c2c5ee43704dd0
TreeHugger Robot [Tue, 28 Feb 2017 23:23:10 +0000 (23:23 +0000)]
Merge "Check hwbinder status before checking the returned result"
Hall Liu [Tue, 28 Feb 2017 23:17:44 +0000 (15:17 -0800)]
Add @hide to RttAudioMode IntDef
IntDefs apparently require an @hide annotation to avoid breaking CTS
tests. Adding it here.
Change-Id: Ifd748b55e68091132571df7e74fdb797bd6a83fc
Test: CTS
Fix:
35808951
TreeHugger Robot [Tue, 28 Feb 2017 23:14:54 +0000 (23:14 +0000)]
Merge "TIF: add WatchNextPrograms in TvContracts"
Todd Kennedy [Tue, 28 Feb 2017 23:11:52 +0000 (15:11 -0800)]
set bounds
temporary workaround to prevent ephemeral app uninstallation from
crashing the system server.
Bug:
35673160
Test: manually uninstall ephemeral app and see the framework doesn't crash
Change-Id: I6542206b51a00ca4321de4310a59620569b1516a