OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Always request coarse location with fine location" 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

5 years agoMerge "storagemenager: Skip fstrim while doing block based checkpoint" 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

5 years agoMerge "Include oom_adjust reason in trace" into qt-dev
Amith Yamasani [Wed, 17 Apr 2019 15:43:01 +0000 (15:43 +0000)]
Merge "Include oom_adjust reason in trace" into qt-dev

5 years agoMerge "Use USER_SYSTEM instead of USER_ALL when enabling rollback." into qt-dev
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

5 years agoMerge "Thermal: send callback even if no HAL exist." 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

5 years agoMerge "BroadcastReceiver in UserBackupManagerService can crash system_server" into...
Ruslan Tkhakokhov [Wed, 17 Apr 2019 14:54:46 +0000 (14:54 +0000)]
Merge "BroadcastReceiver in UserBackupManagerService can crash system_server" into qt-dev

5 years agoMerge "AudioService: fix audio mode lock" into qt-dev
Jean-Michel Trivi [Wed, 17 Apr 2019 14:26:44 +0000 (14:26 +0000)]
Merge "AudioService: fix audio mode lock" into qt-dev

5 years agoMerge "Make an atom visible to Permission Controller." 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

5 years agoMerge "Make deprecated AppTarget APIs visible" 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

5 years agoMerge "Revert "Unify context in ViewRoot"" 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

5 years agoRevert "Unify context in ViewRoot"
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

5 years agoMerge "Updating accessibility content for buttons in SysUI for captions" into qt-dev
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

5 years agoMerge "Unregister ImeInsetsSourceConsumer when focus lost" 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

5 years agoUse USER_SYSTEM instead of USER_ALL when enabling rollback.
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

5 years agoMerge "Keep a light version of the SBN around" into qt-dev
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

5 years agoMerge "Add -i com.android.shell when --enable-rollback is specified." 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

5 years agoMerge "Fix KeyValueBackupTaskTest shadow errors" into qt-dev
Annie Meng [Wed, 17 Apr 2019 12:16:34 +0000 (12:16 +0000)]
Merge "Fix KeyValueBackupTaskTest shadow errors" into qt-dev

5 years agoMerge "Rename cts-amwm-util to cts-wm-util" 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

5 years agoMerge "Follow-up CL of ag/6935284, add entities to extras in generateLinks" into...
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

5 years agoMerge "Doing sublisting after deduplication" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 10:09:38 +0000 (10:09 +0000)]
Merge "Doing sublisting after deduplication" into qt-dev

5 years agoMerge "Split TextClassifierEvent into multiple subclasses" 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

5 years agoMerge changes from topic "remove-mp2-from-apex" 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.

5 years agoMerge "Retire android::nio_{get,release}Buffer" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 09:17:42 +0000 (09:17 +0000)]
Merge "Retire android::nio_{get,release}Buffer" into qt-dev

5 years agoMerge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into...
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

5 years agoMerge "Cache service component name in RoleControllerManager to avoid deadlock."...
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

5 years agoMerge "Fix DnsResolver API could not bypass private DNS correctly" 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

5 years agoThermal: send callback even if no HAL exist.
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

5 years agoMerge "Unify context in ViewRoot" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 04:11:46 +0000 (04:11 +0000)]
Merge "Unify context in ViewRoot" into qt-dev

5 years agoMerge "Fixed AutofillOptions.isAugmentedAutofillEnabled to use the right client....
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

5 years agoMerge "Gesture exclusion rects for Window" 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

5 years agoRename cts-amwm-util to cts-wm-util
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

5 years agoMerge "Canonicalize ringtones before returning." into qt-dev
Jeff Sharkey [Wed, 17 Apr 2019 02:14:22 +0000 (02:14 +0000)]
Merge "Canonicalize ringtones before returning." into qt-dev

5 years agoMerge "Clarify documentation for View#setScreenReaderFocusable" 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

5 years agoMerge "[WifiEnterpriseConfig] Update javadoc for setDomainSuffixMatch" 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

5 years agoMerge "Fix pinned stack destination been overwrite by obsolete animator." 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

5 years agoMerge "AudioPolicy: more TestApi for ... testing" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 00:22:04 +0000 (00:22 +0000)]
Merge "AudioPolicy: more TestApi for ... testing" into qt-dev

5 years agoUpdating accessibility content for buttons in SysUI for captions
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

5 years agoMerge "Add DND whitelist" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 23:05:44 +0000 (23:05 +0000)]
Merge "Add DND whitelist" into qt-dev

5 years agoMerge "Guard remote volume controllers with a lock" 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

5 years agoMerge "If data switched to grouped CBRS subscription, show its provider name." into...
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

5 years agoMerge "Don't use Drawable's `level`, use our own" 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

5 years agoMerge "Check value in dump before printing" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 22:06:24 +0000 (22:06 +0000)]
Merge "Check value in dump before printing" into qt-dev

5 years ago[WifiEnterpriseConfig] Update javadoc for setDomainSuffixMatch
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

5 years agoAudioService: fix audio mode lock
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

5 years agoMerge "Sharesheet - Merge EXTRA_INITIAL_INTENTS + Ranked apps" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 21:53:27 +0000 (21:53 +0000)]
Merge "Sharesheet - Merge EXTRA_INITIAL_INTENTS + Ranked apps" into qt-dev

5 years agoMerge "Grant access to device identifiers with READ_DEVICE_IDENTIFIERS appop" into...
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

5 years agoAlways request coarse location with fine location
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

5 years agoMerge "Don't hold mPackages calling addPreferredActivityInternal" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 21:46:33 +0000 (21:46 +0000)]
Merge "Don't hold mPackages calling addPreferredActivityInternal" into qt-dev

5 years agoInclude oom_adjust reason in trace
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

5 years agoKeep a light version of the SBN around
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

5 years agoMerge "Fix "No Service" in QS when Airplane Mode" into qt-dev
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

5 years agoGesture exclusion rects for Window
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

5 years agoMerge "Handle any exception when allowing failures." into qt-dev
Jeff Sharkey [Tue, 16 Apr 2019 21:34:27 +0000 (21:34 +0000)]
Merge "Handle any exception when allowing failures." into qt-dev

5 years agoMerge "Instant apps should have default view of storage?" 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

5 years agoMerge "Update Stretch Analog clock face" 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

5 years agoMerge "Recovers on boot when scan of data app fails" 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

5 years agoMerge "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 "Add unit tests for activity client state changes" into qt-dev

5 years agoMerge "Fix extra onStop when finishing after onCreate" 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

5 years agoMerge "Added example for ContentCaptureService.SERVICE_META_DATA" 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

5 years agoMerge "Fixes incorrect app id cleanup on failure" 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

5 years agoMerge "Adds unit tests in attention manager service for two interfaces: -checkAttenti...
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

5 years agoMerge "Move TrafficStats tags for the network stack constants" 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

5 years agoMerge "BubbleData [6/n]: Splice BubbleData into code path" 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

5 years agoMake deprecated AppTarget APIs visible
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

5 years agoFixed AutofillOptions.isAugmentedAutofillEnabled to use the right client.
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

5 years agoMerge "Remove MiniThumbFile" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 19:53:39 +0000 (19:53 +0000)]
Merge "Remove MiniThumbFile" into qt-dev

5 years agoCanonicalize ringtones before returning.
Jeff Sharkey [Tue, 16 Apr 2019 19:47:35 +0000 (13:47 -0600)]
Canonicalize ringtones before returning.

Bug: 130475623
Test: none
Change-Id: I6408800290077dfc7d0252a9b23443c3a70d4563

5 years agoInstant apps should have default view of storage?
Jeff Sharkey [Tue, 16 Apr 2019 19:42:26 +0000 (13:42 -0600)]
Instant apps should have default view of storage?

Bug: 130604204128633081
Test: none
Change-Id: I0bcd250893527b8e78d1b2f28c3749e96bb3f4ba

5 years agoHandle any exception when allowing failures.
Jeff Sharkey [Tue, 16 Apr 2019 19:34:38 +0000 (13:34 -0600)]
Handle any exception when allowing failures.

Bug: 113518608
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I2f67b8016e6057cfd022899bbfba32c3db3a12aa

5 years agoMerge "Clarified format of ContentCaptureCondition.FLAG_IS_REGEX" into qt-dev
Felipe Leme [Tue, 16 Apr 2019 19:34:37 +0000 (19:34 +0000)]
Merge "Clarified format of ContentCaptureCondition.FLAG_IS_REGEX" into qt-dev

5 years agoFix "No Service" in QS when Airplane Mode
Fabian Kozynski [Fri, 12 Apr 2019 16:20:13 +0000 (12:20 -0400)]
Fix "No Service" in QS when Airplane Mode

QSCarrierGroup now accounts for the device being on airplane mode when
deciding what to display. In particular, in QS, it marks the view as
GONE.

Test: visual, in phone with DSDS
Test: atest CarrierTextControllerTest
Fixes: 129839626
Change-Id: I54d03f6a00e6e9604fc646b8993a04429881552a

5 years agoMake an atom visible to Permission Controller.
Joel Galenson [Tue, 16 Apr 2019 19:22:41 +0000 (12:22 -0700)]
Make an atom visible to Permission Controller.

Fixes: 123896378
Test: Use it from Permission Controller.
Change-Id: If2cbe078fc0c8d7000ae79ede3d46d02f2d009d1

5 years agoMerge "Grant clipboard access to the Augmented Autofill service." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 19:19:37 +0000 (19:19 +0000)]
Merge "Grant clipboard access to the Augmented Autofill service." into qt-dev

5 years agoSharesheet - Merge EXTRA_INITIAL_INTENTS + Ranked apps
Matt Pietal [Tue, 16 Apr 2019 16:53:28 +0000 (12:53 -0400)]
Sharesheet - Merge EXTRA_INITIAL_INTENTS + Ranked apps

Organize app-supplied EXTRA_INITIAL_INTENTS plus the highest ranked
apps into a single row (4 in portrait, 8 landscape)

Bug: 130429746
Test: Visual inspection
Change-Id: Icd0755d25b2801b42ea2c3a8c984e9e1f0c7987e

5 years agoAudioPolicy: more TestApi for ... testing
Jean-Michel Trivi [Tue, 16 Apr 2019 19:08:26 +0000 (12:08 -0700)]
AudioPolicy: more TestApi for ... testing

Add uid- device affinity APIs in test API.

Bug: 129708340
Test: atest AudioPolicyTest
Change-Id: Iba1eb996758e366994e610617a63254b774bcb17

5 years agoUpdate Stretch Analog clock face
Robert Snoeberger [Fri, 12 Apr 2019 17:46:16 +0000 (13:46 -0400)]
Update Stretch Analog clock face

This is part of the response to burn in testing.

Bug: 130422138
Test: mp sysuig and checked clock in picker app
Change-Id: I68971f8d132618f4d388160aeabb0fd3aa024b9d

5 years agoCheck value in dump before printing
Ryan Mitchell [Mon, 15 Apr 2019 23:47:58 +0000 (16:47 -0700)]
Check value in dump before printing

For applications that remove the names of resources from the string
pool, check that the attribute has a name before attempting to print it.

Test: manual
Bug: 130553900
Change-Id: I05e5d59f01b2c02c8a024d06fd896074d6bf465b

5 years agoMerge "Move music icon to secondary row" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:53:16 +0000 (18:53 +0000)]
Merge "Move music icon to secondary row" into qt-dev

5 years agoRemove MediaPlayer2 from media apex.
Dongwon Kang [Tue, 16 Apr 2019 18:45:48 +0000 (11:45 -0700)]
Remove MediaPlayer2 from media apex.

Test: build, atest MediaSession2Test
Bug: 130637522
Change-Id: I65a8bc3e483d8653da6afa55d442185a554d5901

5 years agoRemove BufferingParams from TestApi.
Dongwon Kang [Tue, 16 Apr 2019 18:14:38 +0000 (11:14 -0700)]
Remove BufferingParams from TestApi.

This class was missed when hiding MediaPlayer2.

Test: make update-api & cts
Bug: 130420617
Change-Id: I7066c4c4fcab4315f4e878a380f05766bbf90ad1

5 years agoMerge "thermal: Add pulled cooling device atom and a field to Temperature atom" into...
Maggie White [Tue, 16 Apr 2019 18:17:33 +0000 (18:17 +0000)]
Merge "thermal: Add pulled cooling device atom and a field to Temperature atom" into qt-dev

5 years agoMerge "Add custom title for settings dialogs" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:16:54 +0000 (18:16 +0000)]
Merge "Add custom title for settings dialogs" into qt-dev

5 years agoBubbleData [6/n]: Splice BubbleData into code path
Mark Renouf [Mon, 8 Apr 2019 19:02:54 +0000 (15:02 -0400)]
BubbleData [6/n]: Splice BubbleData into code path

BubbleData internal representation becomes a list in prep
for managing order and grouping internally. Changes are
passed through bubbleData and dispatched for UI updates
via Listener.

Bug: 123542488
Test: atest BubbleControllerTest
Change-Id: I380ca718bc896307b31e73030b4202762a6cf353

5 years agoMerge ""Charging this device via USB" notification isn't relevant for automotive...
TreeHugger Robot [Tue, 16 Apr 2019 18:07:55 +0000 (18:07 +0000)]
Merge ""Charging this device via USB" notification isn't relevant for automotive." into qt-dev

5 years agoMerge "Avoid NPE when accessing to EnforcedAdmin" into qt-dev
Fan Zhang [Tue, 16 Apr 2019 18:07:50 +0000 (18:07 +0000)]
Merge "Avoid NPE when accessing to EnforcedAdmin" into qt-dev

5 years agoMerge "Check before closing the CloseGuard if not closed yet" into qt-dev
Mehdi Alizadeh [Tue, 16 Apr 2019 18:01:33 +0000 (18:01 +0000)]
Merge "Check before closing the CloseGuard if not closed yet" into qt-dev

5 years agoMerge "Skip idmap1 generation if target defines overlayable" into qt-dev
Winson Chiu [Tue, 16 Apr 2019 17:53:54 +0000 (17:53 +0000)]
Merge "Skip idmap1 generation if target defines overlayable" into qt-dev

5 years agoAdd DND whitelist
Julia Reynolds [Tue, 16 Apr 2019 16:50:04 +0000 (12:50 -0400)]
Add DND whitelist

That is, a whitelist of packages that can make sound on the ringer
stream in the background when DND is in priority only mode

Test: atest
Fixes: 130359054

Change-Id: I0e3a18bd6c3b1c096e7ce94b2c692eb7aa66ae76

5 years agoAdds unit tests in attention manager service for two interfaces:
Yi Jiang [Wed, 10 Apr 2019 20:36:27 +0000 (13:36 -0700)]
Adds unit tests in attention manager service for two interfaces:
-checkAttention()
-cancelAttentionCheck()

Bug: 128918890
Test: atest AttentionManagerServiceTest
Change-Id: I0ca0029526e6254881d546728e64d53a04e60b93

5 years agoMerge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process" into qt-dev
Brad Ebinger [Tue, 16 Apr 2019 17:36:05 +0000 (17:36 +0000)]
Merge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process" into qt-dev

5 years agoRecovers on boot when scan of data app fails
Patrick Baumann [Tue, 16 Apr 2019 17:22:48 +0000 (10:22 -0700)]
Recovers on boot when scan of data app fails

Prior to this change, system apps that had updated versions installed
that could not be scanned on boot, did not have a fallback mechanism to
restore the system app. With this change, we prepare for such a scenario
and restore the system app using the existing "expecting better"
mechanism.

Test: manual; muck with an APK in /data/app and reboot.
Bug: 117471712
Change-Id: Ic50880cc04e92003c2a20869cf38835af7ce3ccb

5 years agoMerge "Drop final remnants of Type clock face" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 17:14:43 +0000 (17:14 +0000)]
Merge "Drop final remnants of Type clock face" into qt-dev

5 years agoDrop final remnants of Type clock face
Robert Snoeberger [Thu, 11 Apr 2019 16:57:33 +0000 (12:57 -0400)]
Drop final remnants of Type clock face

Bug: 130296587
Test: mp sysuig
Change-Id: I1a78beadedb2b0afba34620273f5cb80d7bd2291

5 years agoMerge "Sharesheet - Prevent duplicate direct share targets" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 17:05:03 +0000 (17:05 +0000)]
Merge "Sharesheet - Prevent duplicate direct share targets" into qt-dev

5 years agoDon't hold mPackages calling addPreferredActivityInternal
Todd Kennedy [Tue, 16 Apr 2019 16:58:35 +0000 (09:58 -0700)]
Don't hold mPackages calling addPreferredActivityInternal

Fixes: 130635790
Test: manual
Change-Id: I1b8246b73a65c819ce22fe447e88e9116d9c5fbf

5 years agoMerge "Don't allow PI-based starts and trampolines when sender is SYSTEM_UID and...
TreeHugger Robot [Tue, 16 Apr 2019 16:58:24 +0000 (16:58 +0000)]
Merge "Don't allow PI-based starts and trampolines when sender is SYSTEM_UID and it happens to pass foregroundness check at the time of sending" into qt-dev

5 years agoMove music icon to secondary row
Lucas Dupin [Thu, 11 Apr 2019 17:59:13 +0000 (10:59 -0700)]
Move music icon to secondary row

Bug: 130223602
Test: visual
Change-Id: I5c2f5acc267f5fa87b1f997afd3c304e5a2bf184

5 years agoAdd custom title for settings dialogs
Salvador Martinez [Fri, 12 Apr 2019 22:55:37 +0000 (15:55 -0700)]
Add custom title for settings dialogs

This is a generic version of the custom title that will
be used in settings dialogs soon. Adding it to settings
lib since others will need to make use of it as well.

Test: robotests pass
Bug: 130251804
Change-Id: I48f8e24a2b2a117e5a8054c5bc0b240ba68fe1ad

5 years agoMerge "Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS." into...
TreeHugger Robot [Tue, 16 Apr 2019 16:41:03 +0000 (16:41 +0000)]
Merge "Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS." into qt-dev

5 years agoMerge "Only reset layout seq when moved to a new display." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 16:40:53 +0000 (16:40 +0000)]
Merge "Only reset layout seq when moved to a new display." into qt-dev