OSDN Git Service
TreeHugger Robot [Wed, 17 Apr 2019 21:10:02 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:05:48 +0000 (21:05 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:04:32 +0000 (21:04 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 20:58:42 +0000 (20:58 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 20:30:30 +0000 (20:30 +0000)]
Merge "Treat FLAG_MUTE_HAPTIC separately from mFlags." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 20:28:20 +0000 (20:28 +0000)]
Merge "Add unit tests for AttentionManagerService. Make sure it won't crash when OnSwitchUser() is invoked while the bound service is null." into qt-dev
Josh Tsuji [Wed, 17 Apr 2019 19:46:16 +0000 (19:46 +0000)]
Merge "Reposition the stack to a similar position upon rotation." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 19:40:08 +0000 (19:40 +0000)]
Merge "Unhardcoded Augmented Autofill debug constants." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 19:21:48 +0000 (19:21 +0000)]
Merge "Dump stacktrace of native process when timeout." into qt-dev
Jeff Sharkey [Wed, 17 Apr 2019 19:12:56 +0000 (19:12 +0000)]
Merge "Adjust MTP to reference by specific volume name." into qt-dev
Nathan Harold [Wed, 17 Apr 2019 18:40:07 +0000 (18:40 +0000)]
Merge "Improve Range Checks on CellIdentity Classes" into qt-dev
Svetoslav Ganov [Wed, 17 Apr 2019 18:27:06 +0000 (18:27 +0000)]
Merge "Make storage a restricted permission - framework" into qt-dev
Aaron Heuckroth [Wed, 17 Apr 2019 18:26:03 +0000 (18:26 +0000)]
Merge "Expand emergency button to match size of container when only item in separated list." into qt-dev
Yi Jiang [Wed, 17 Apr 2019 00:23:11 +0000 (17:23 -0700)]
Add unit tests for AttentionManagerService. Make sure it won't crash when OnSwitchUser() is invoked while the bound service is null.
Bug:
130659721
Test: atest AttentionManagerServiceTest
Change-Id: I71e1252e92eabca02fe2ae9b21596377f22f064c
Hall Liu [Wed, 17 Apr 2019 18:19:52 +0000 (18:19 +0000)]
Merge "Make connection events work for conferences" into qt-dev
Brad Ebinger [Wed, 17 Apr 2019 18:15:13 +0000 (18:15 +0000)]
Merge "Merge "Clarify ImsMmTelManager#setRttCapabilitySetting docs" am:
2c0e192436 am:
f4efaf0c5a" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 18:10:39 +0000 (18:10 +0000)]
Merge "Annotate Part Uri as @NonNull" into qt-dev
Brad Ebinger [Wed, 17 Apr 2019 17:59:16 +0000 (17:59 +0000)]
Merge "Reorder ImsFeature initialization to handle STATE_READY" into qt-dev
Quang Luong [Wed, 17 Apr 2019 17:57:39 +0000 (17:57 +0000)]
Merge "Added AccessPoint.matches(AccessPoint) method to match AP objects" into qt-dev
Christopher Ferris [Wed, 17 Apr 2019 17:30:22 +0000 (17:30 +0000)]
Merge "Remove gMallocLeakZygoteChild." into qt-dev
Jeff Sharkey [Wed, 17 Apr 2019 17:16:12 +0000 (11:16 -0600)]
Adjust MTP to reference by specific volume name.
The MediaStore.VOLUME_EXTERNAL volume is a merged view of all storage
devices, and clients working on a specific volume need to focus on
the volume they're interested in.
Bug:
129840030
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I91cee6a96d7f9360e6a93a9a3c389b097b6b9967
Xiangyu/Malcolm Chen [Wed, 17 Apr 2019 17:14:55 +0000 (17:14 +0000)]
Merge "Add API to set alwaysAllowMms" into qt-dev
Philip P. Moltmann [Wed, 17 Apr 2019 16:55:41 +0000 (16:55 +0000)]
Merge "Always request coarse location with fine location" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 16:46:38 +0000 (16:46 +0000)]
Merge "storagemenager: Skip fstrim while doing block based checkpoint" into qt-dev
Joshua Tsuji [Thu, 4 Apr 2019 21:09:53 +0000 (17:09 -0400)]
Reposition the stack to a similar position upon rotation.
Fixes:
128691406
Test: atest SystemUITests
Change-Id: I2d73c88f06d759c2b7b71dc77d008a1e026ee959
Bill Yi [Wed, 17 Apr 2019 15:51:07 +0000 (08:51 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Id203b3a1bef58a892d0f3f9ebb402ef5915bc8f6
Amith Yamasani [Wed, 17 Apr 2019 15:43:01 +0000 (15:43 +0000)]
Merge "Include oom_adjust reason in trace" into qt-dev
Bill Yi [Wed, 17 Apr 2019 15:42:37 +0000 (08:42 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ie2573d7c619abe8021a03af40368792ce1ffe9ab
TreeHugger Robot [Wed, 17 Apr 2019 15:32:28 +0000 (15:32 +0000)]
Merge "Use USER_SYSTEM instead of USER_ALL when enabling rollback." into qt-dev
Wei Wang [Wed, 17 Apr 2019 15:25:02 +0000 (15:25 +0000)]
Merge "Thermal: send callback even if no HAL exist." into qt-dev
Ruslan Tkhakokhov [Wed, 17 Apr 2019 14:54:46 +0000 (14:54 +0000)]
Merge "BroadcastReceiver in UserBackupManagerService can crash system_server" into qt-dev
Bill Yi [Wed, 17 Apr 2019 14:54:36 +0000 (07:54 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If7c035f684c7c61e0aaebc46b38da111e62d76ba
Jean-Michel Trivi [Wed, 17 Apr 2019 14:26:44 +0000 (14:26 +0000)]
Merge "AudioService: fix audio mode lock" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 14:21:39 +0000 (14:21 +0000)]
Merge "Make an atom visible to Permission Controller." into qt-dev
Mehdi Alizadeh [Wed, 17 Apr 2019 13:49:22 +0000 (13:49 +0000)]
Merge "Make deprecated AppTarget APIs visible" into qt-dev
Charles Chen [Wed, 17 Apr 2019 13:45:23 +0000 (13:45 +0000)]
Merge "Revert "Unify context in ViewRoot"" into qt-dev
Charles Chen [Wed, 17 Apr 2019 13:35:21 +0000 (13:35 +0000)]
Revert "Unify context in ViewRoot"
This reverts commit
44f5215ee81d7406b6fb7b1fa0c95f106a35f618.
Reason for revert: <Make Ime test in SystemDecorationTest failed>
Bug:
130715649
Change-Id: I9afb1d5ee7e7a4f1e7de6fa4c7c3ec5dcc336f08
Anthony Tripaldi [Wed, 17 Apr 2019 13:25:58 +0000 (13:25 +0000)]
Merge "Updating accessibility content for buttons in SysUI for captions" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 13:03:28 +0000 (13:03 +0000)]
Merge "Unregister ImeInsetsSourceConsumer when focus lost" into qt-dev
Richard Uhler [Tue, 16 Apr 2019 09:30:07 +0000 (10:30 +0100)]
Use USER_SYSTEM instead of USER_ALL when enabling rollback.
The rollback manager needs to know the user that the install session is
associated with. When installing a package for USER_ALL, the install
session is associated with USER_SYSTEM.
This fixes an IllegalArgumentException that would otherwise be thrown if
we ask for all the sessions associated with USER_ALL.
Bug:
130530159
Test: adb install RollbackTestAppAv1.apk
adb install -i com.android.shell --enable-rollback RollbackTestAppAv2.apk,
run from both primary and secondary users.
Change-Id: I4a778ffb96cd79875a54da9de9d348d4744a7efb
Julia Reynolds [Wed, 17 Apr 2019 12:53:42 +0000 (12:53 +0000)]
Merge "Keep a light version of the SBN around" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 12:26:58 +0000 (12:26 +0000)]
Merge "Add -i com.android.shell when --enable-rollback is specified." into qt-dev
Annie Meng [Wed, 17 Apr 2019 12:16:34 +0000 (12:16 +0000)]
Merge "Fix KeyValueBackupTaskTest shadow errors" into qt-dev
Tadashi G. Takaoka [Wed, 17 Apr 2019 11:47:50 +0000 (11:47 +0000)]
Merge "Rename cts-amwm-util to cts-wm-util" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 10:11:18 +0000 (10:11 +0000)]
Merge "Follow-up CL of ag/
6935284, add entities to extras in generateLinks" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 10:09:38 +0000 (10:09 +0000)]
Merge "Doing sublisting after deduplication" into qt-dev
Tony Mak [Wed, 17 Apr 2019 10:05:20 +0000 (10:05 +0000)]
Merge "Split TextClassifierEvent into multiple subclasses" into qt-dev
Dongwon Kang [Wed, 17 Apr 2019 09:29:36 +0000 (09:29 +0000)]
Merge changes from topic "remove-mp2-from-apex" into qt-dev
* changes:
Remove MediaPlayer2 from media apex.
Remove BufferingParams from TestApi.
TreeHugger Robot [Wed, 17 Apr 2019 09:17:42 +0000 (09:17 +0000)]
Merge "Retire android::nio_{get,release}Buffer" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 07:29:16 +0000 (07:29 +0000)]
Merge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 05:51:16 +0000 (05:51 +0000)]
Merge "Cache service component name in RoleControllerManager to avoid deadlock." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 05:38:05 +0000 (05:38 +0000)]
Merge "Fix DnsResolver API could not bypass private DNS correctly" into qt-dev
Wei Wang [Wed, 17 Apr 2019 05:34:43 +0000 (22:34 -0700)]
Thermal: send callback even if no HAL exist.
Bug:
130644620
Test: Build
Change-Id: I63b649ca9296cad1df59aa9585320975ab53e4f7
TreeHugger Robot [Wed, 17 Apr 2019 04:11:46 +0000 (04:11 +0000)]
Merge "Unify context in ViewRoot" into qt-dev
Bill Yi [Wed, 17 Apr 2019 03:48:55 +0000 (20:48 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Iccc3f990b5e40556c265aa629f7995f5b5f891e1
Felipe Leme [Wed, 17 Apr 2019 03:43:59 +0000 (03:43 +0000)]
Merge "Fixed AutofillOptions.isAugmentedAutofillEnabled to use the right client." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 03:18:55 +0000 (03:18 +0000)]
Merge "Gesture exclusion rects for Window" into qt-dev
Tadashi G. Takaoka [Fri, 5 Apr 2019 09:46:11 +0000 (18:46 +0900)]
Rename cts-amwm-util to cts-wm-util
Test: Build FlickerTests
atest -b FlickerTests
Bug:
129909356
Change-Id: I796bd8f52be21ccb7f770fb6c8dda9605451b10d
Jeff Sharkey [Wed, 17 Apr 2019 02:14:22 +0000 (02:14 +0000)]
Merge "Canonicalize ringtones before returning." into qt-dev
Jacky Kao [Wed, 17 Apr 2019 02:11:52 +0000 (02:11 +0000)]
Merge "Clarify documentation for View#setScreenReaderFocusable" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 01:34:45 +0000 (01:34 +0000)]
Merge "[WifiEnterpriseConfig] Update javadoc for setDomainSuffixMatch" into qt-dev
Wei Sheng Shih [Wed, 17 Apr 2019 01:04:17 +0000 (01:04 +0000)]
Merge "Fix pinned stack destination been overwrite by obsolete animator." into qt-dev
jiabin [Wed, 17 Apr 2019 00:27:41 +0000 (17:27 -0700)]
Treat FLAG_MUTE_HAPTIC separately from mFlags.
For get/set APIs, FLAG_MUTE_HAPTIC is known as a boolean value instead
of a flag. In that case, it should not be changed when calling set flags
API to modify the flags. By doing this, it helps the FLAG_MUTE_HAPTIC is
set correctly.
Bug:
130670988
Test: Manually
Change-Id: I6a507d1f6f82e5ea6520f83279f73f851605c93f
TreeHugger Robot [Wed, 17 Apr 2019 00:22:04 +0000 (00:22 +0000)]
Merge "AudioPolicy: more TestApi for ... testing" into qt-dev
Hui Yu [Wed, 17 Apr 2019 00:03:16 +0000 (17:03 -0700)]
Dump stacktrace of native process when timeout.
When task in SystemServerInitThreadPool timeouts, in addition to dumping
stacktrace of system_process, also dump stacktrace of interested native
processes.
Add android.hardware.biometrics.face@1.0::IBiometricsFace to the list of
native processes.
Bug:
128928718,
130427743
Test: Force a task to sleep for 30 seconds, the anr file generated has
stacktrace of native processes.
Change-Id: Ia702eb495aa3c3e5703de103f824a5417fbbbf4a
Anthony Tripaldi [Thu, 4 Apr 2019 16:02:40 +0000 (12:02 -0400)]
Updating accessibility content for buttons in SysUI for captions
Bug:
129923766
Test: manual
Change-Id: Icf78a20d8b2b967082e815de95c3421ed865be22
TreeHugger Robot [Tue, 16 Apr 2019 23:05:44 +0000 (23:05 +0000)]
Merge "Add DND whitelist" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 22:38:03 +0000 (22:38 +0000)]
Merge "Guard remote volume controllers with a lock" into qt-dev
Xiangyu/Malcolm Chen [Tue, 16 Apr 2019 22:31:20 +0000 (22:31 +0000)]
Merge "If data switched to grouped CBRS subscription, show its provider name." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 22:30:23 +0000 (22:30 +0000)]
Merge "Don't use Drawable's `level`, use our own" into qt-dev
Brad Ebinger [Tue, 16 Apr 2019 21:12:54 +0000 (14:12 -0700)]
Merge "Clarify ImsMmTelManager#setRttCapabilitySetting docs" am:
2c0e192436
am:
f4efaf0c5a
Bug:
130181297
Test: none - docs change
Merged-In: I3a768979c48c90360046aa0d130b378073524452
Change-Id: I3a768979c48c90360046aa0d130b378073524452
(cherry picked from commit
56b96fe0657601feedb64730a742d3101b2e18d9)
TreeHugger Robot [Tue, 16 Apr 2019 22:06:24 +0000 (22:06 +0000)]
Merge "Check value in dump before printing" into qt-dev
Hall Liu [Tue, 16 Apr 2019 21:00:55 +0000 (14:00 -0700)]
Make connection events work for conferences
Pipe through the onConnectionEvent call between the conference host
connection and the android.telecom.Conference object.
Fixes:
130404376
Test: manual
Change-Id: Ifad3e59dc9764aa2efb2b9766271e18853bf1c76
Hai Shalom [Tue, 16 Apr 2019 22:04:01 +0000 (15:04 -0700)]
[WifiEnterpriseConfig] Update javadoc for setDomainSuffixMatch
wpa_supplicant accepts a semicolon delimited list of domain suffixes.
Update the javadoc to reflect this.
Bug:
130664269
Test: No code changes
Change-Id: I93dbabeddb8854112b413dbb27d094d9d187a73c
Jean-Michel Trivi [Fri, 5 Apr 2019 23:05:04 +0000 (16:05 -0700)]
AudioService: fix audio mode lock
Fix lock "sharing" for audio mode, with locking order as
1/ AudioDeviceBroker.mSetModeLock
2/ AudioDeviceBroker.mDeviceStateLock
3/ BtHelper class
The following code paths have been automatically generated
as accessing BtHelper.requestScoState(int, int), which
requires the lock to mSetModeLock. They have been checked
for consistency of locks, and have been fixed and/or annotated:
ScoClient in BtHelper.decCount() (com.android.server.audio)
BtHelper.stopBluetoothScoForClient(IBinder, String) (com.android.server.audio)
AudioDeviceBroker.stopBluetoothScoForClient_Sync(IBinder, String) (com.android.server.audio)
AudioService.stopBluetoothSco(IBinder) (com.android.server.audio)
ScoClient in BtHelper.incCount(int) (com.android.server.audio)
BtHelper.startBluetoothScoForClient(IBinder, int, String) (com.android.server.audio)
AudioDeviceBroker.startBluetoothScoForClient_Sync(IBinder, int, String) (com.android.server.audio)
AudioService.startBluetoothScoInt(IBinder, int, String) (com.android.server.audio)
ScoClient in BtHelper.clearCount(boolean) (com.android.server.audio)
BtHelper.clearAllScoClients(int, boolean) (com.android.server.audio)
BtHelper.disconnectBluetoothSco(int) (com.android.server.audio)
BrokerHandler in AudioDeviceBroker.handleMessage(Message) (com.android.server.audio)
BtHelper.resetBluetoothSco() (com.android.server.audio)
BrokerHandler in AudioDeviceBroker.handleMessage(Message) (com.android.server.audio)
BtHelper.setBtScoActiveDevice(BluetoothDevice) (com.android.server.audio)
BtHelper.disconnectHeadset() (com.android.server.audio)
BrokerHandler in AudioDeviceBroker.handleMessage(Message) (com.android.server.audio)
BtHelper.receiveBtEvent(Intent) (com.android.server.audio)
AudioDeviceBroker.receiveBtEvent(Intent) (com.android.server.audio)
BtHelper.onHeadsetProfileConnected(BluetoothHeadset) (com.android.server.audio)
BrokerHandler in AudioDeviceBroker.handleMessage(Message) (com.android.server.audio)
BtHelper.onSystemReady() (com.android.server.audio)
AudioDeviceBroker.onSystemReady() (com.android.server.audio)
BtHelper.receiveBtEvent(Intent) (com.android.server.audio)
BtHelper.scoClientDied(Object) (com.android.server.audio)
BrokerHandler in AudioDeviceBroker.handleMessage(Message) (com.android.server.audio)
Bug:
123769055
Test: see bug
Change-Id: I5fbb5e8c56d69b8ccfc6b2f44b00169c6b75b632
TreeHugger Robot [Tue, 16 Apr 2019 21:53:27 +0000 (21:53 +0000)]
Merge "Sharesheet - Merge EXTRA_INITIAL_INTENTS + Ranked apps" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 21:52:56 +0000 (21:52 +0000)]
Merge "Grant access to device identifiers with READ_DEVICE_IDENTIFIERS appop" into qt-dev
Philip P. Moltmann [Tue, 16 Apr 2019 21:42:42 +0000 (14:42 -0700)]
Always request coarse location with fine location
If an app can access the fine location it can obviously also access the
coarse location. There is code inside checkPermission that encapsulates
the logic.
This code fixes two issues:
- checkPermission might return for the coarse location even though the
permission is not even mentioned in PackageInfo.requestedPermissions.
Now the coarse location is always added to requstedPermissions when
the fine location is in the manifest even if the app does not have
the coarse location in the manifest
- If the app requests the fine location only we might unintentionally
kill the requesting app.
1. App does not have any permissions granted
2. App request FINE_LOCATION
3. Permission controller reads (and caches) permission state: FINE=revoked,
COARSE=revoked
4. User grants FINE_LOCATION -> Perm controller updates internal
state: FINE=revoked, COARSE=revoke
5. Perm controller applies FINE_LOCATION state to the system
6. Perm controller looks as COARSE and checks if it is granted.
Because it is implied, it now shows up as granted. Hence perm
controller will try to revoke it which kills the app
The solution is that it will be impossible to only request
FINE_LOCATION by itself. This change will automatically add requesting
COARSE_LOCATION, whenever FINE_LOCATION is requested
Fixes:
130358762
Test: Reproduced scenario in bug
130358762
Change-Id: I217c0b23063617f60b98c805af1d122a6ec0608e
TreeHugger Robot [Tue, 16 Apr 2019 21:46:33 +0000 (21:46 +0000)]
Merge "Don't hold mPackages calling addPreferredActivityInternal" into qt-dev
Amith Yamasani [Fri, 12 Apr 2019 22:47:54 +0000 (15:47 -0700)]
Include oom_adjust reason in trace
Enumerated a few reasons for calling updateOomAdjust() in
order to trace how long and how often oom_adj was being
re-evaluated for the different reasons.
Bug:
123043091
Test: run systrace and view the output
Change-Id: I4d3f7946531e9477b0f090e07615b29777b19fa5
Julia Reynolds [Tue, 16 Apr 2019 19:14:24 +0000 (15:14 -0400)]
Keep a light version of the SBN around
No need to keep bitmaps et al when we aren't using them
Test: hprof before and after change
Fixes:
130434362
Change-Id: Iabe0ee3e8f80dfb165bacfb118a31218c9e58847
TreeHugger Robot [Tue, 16 Apr 2019 21:40:33 +0000 (21:40 +0000)]
Merge "Fix "No Service" in QS when Airplane Mode" into qt-dev
Adam Powell [Mon, 15 Apr 2019 22:54:02 +0000 (15:54 -0700)]
Gesture exclusion rects for Window
Property methods to get/set gesture exclusion rects for a window.
This is useful for games or other frameworks that use Window#takeSurface
and do not have a view hierarchy, leaving the associated View methods
unavailable.
Bug:
130572780
Test: cts via "atest SystemGestureExclusionRectsTest"
Change-Id: I2704aef1d1950158fcabf7c91413bedee08b8971
Jeff Sharkey [Tue, 16 Apr 2019 21:34:27 +0000 (21:34 +0000)]
Merge "Handle any exception when allowing failures." into qt-dev
Jeff Sharkey [Tue, 16 Apr 2019 21:34:07 +0000 (21:34 +0000)]
Merge "Instant apps should have default view of storage?" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 21:20:23 +0000 (21:20 +0000)]
Merge "Update Stretch Analog clock face" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 21:19:33 +0000 (21:19 +0000)]
Merge "Recovers on boot when scan of data app fails" into qt-dev
Andrii Kulian [Tue, 16 Apr 2019 21:18:18 +0000 (21:18 +0000)]
Merge "Add unit tests for activity client state changes" into qt-dev
Andrii Kulian [Tue, 16 Apr 2019 21:18:18 +0000 (21:18 +0000)]
Merge "Fix extra onStop when finishing after onCreate" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 21:13:44 +0000 (21:13 +0000)]
Merge "Added example for ContentCaptureService.SERVICE_META_DATA" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 20:52:34 +0000 (20:52 +0000)]
Merge "Fixes incorrect app id cleanup on failure" into qt-dev
Yi Jiang [Tue, 16 Apr 2019 20:38:28 +0000 (20:38 +0000)]
Merge "Adds unit tests in attention manager service for two interfaces: -checkAttention() -cancelAttentionCheck()" into qt-dev
Chalard Jean [Tue, 16 Apr 2019 20:30:07 +0000 (20:30 +0000)]
Merge "Move TrafficStats tags for the network stack constants" into qt-dev
Mark Renouf [Tue, 16 Apr 2019 20:21:50 +0000 (20:21 +0000)]
Merge "BubbleData [6/n]: Splice BubbleData into code path" into qt-dev
Mehdi Alizadeh [Tue, 16 Apr 2019 18:28:04 +0000 (11:28 -0700)]
Make deprecated AppTarget APIs visible
Some deprecated APIs are still in use and need to stay visible. The SDK
in google3 is 2 weeks behind and will not receive the replacement APIs
until then.
Bug:
130610898
Test: atest AppPredictionServiceTest
Test: Verified that predictions are being loaded in AllApps
Change-Id: Ib6277f9fc46f1fe55a2cec4fc563ecdc964ce8a7
Felipe Leme [Tue, 16 Apr 2019 16:20:59 +0000 (09:20 -0700)]
Fixed AutofillOptions.isAugmentedAutofillEnabled to use the right client.
Also removed ContentCaptureClient, which is not used anymore (it probably became obsolete with the
ContentCaptureOptions optimization).
Fixes:
130585342
Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.augmented.AugmentedLoginNotImportantForAutofillActivityTest
Test: manual verification with Dialer app
Change-Id: I041922874fac749f1f5d49793f1ad3e26cc345d6
TreeHugger Robot [Tue, 16 Apr 2019 19:53:39 +0000 (19:53 +0000)]
Merge "Remove MiniThumbFile" into qt-dev
Jeff Sharkey [Tue, 16 Apr 2019 19:47:35 +0000 (13:47 -0600)]
Canonicalize ringtones before returning.
Bug:
130475623
Test: none
Change-Id: I6408800290077dfc7d0252a9b23443c3a70d4563
Jeff Sharkey [Tue, 16 Apr 2019 19:42:26 +0000 (13:42 -0600)]
Instant apps should have default view of storage?
Bug:
130604204,
128633081
Test: none
Change-Id: I0bcd250893527b8e78d1b2f28c3749e96bb3f4ba
Svet Ganov [Sun, 14 Apr 2019 20:07:41 +0000 (13:07 -0700)]
Make storage a restricted permission - framework
This change makes storage a soft restricted permission. When the
permission is whitelisted for an app then hodlding it allows the
app to access the full SD card as on a P device. If howerver, the
permisison is not whitelisted for an app then holding it allows
accessing the visual/aural collections in media store while the
app would run in its own isolated storage sandbox.
This change also connects the opt in/out application attribute
to how external storage is mounted remocing temporary code. The
attribute was renamed to convey that opting in legacy mode is
not somethung that is desirable or would be available in the long
run.
White at this also fix the default state of app ops for restricted
permissions to avoid allowing ops for non requested restricted
permissions to every UID as component access could skip permission
checks by cannot skip app op checks.
bug:
130327036
atest CtsPermission2TestCases
atest CtsPermissionTestCases
atest CtsAppOpsTestCases
atest atest CtsAppSecurityHostTestCases:android.appsecurity.cts.ExternalStorageHostTest
atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest
Change-Id: Ibb23cbb6a5c66d9c3823cc13562a1b903b391ffd