OSDN Git Service

android-x86/frameworks-base.git
5 years agoAdding method to check if a task is running in home stack
Sunny Goyal [Fri, 12 Jul 2019 17:38:37 +0000 (10:38 -0700)]
Adding method to check if a task is running in home stack

Bug: 137197916
Test: Verified on Launcher
Change-Id: I0260fa63e19bf7a22d81f44b56bd7e9818b19d16

5 years agoMerge changes from topic "135105735" into qt-r1-dev
Xiangyu/Malcolm Chen [Fri, 12 Jul 2019 17:19:48 +0000 (17:19 +0000)]
Merge changes from topic "135105735" into qt-r1-dev

* changes:
  Use new API to get mergedSubscriberIds based on grouping.
  Provide @hide API to return merged IMSIs from grouping.

5 years agoMerge "Autoenabling gesture mode only is the device is unmanaged" into qt-r1-dev
TreeHugger Robot [Fri, 12 Jul 2019 15:47:36 +0000 (15:47 +0000)]
Merge "Autoenabling gesture mode only is the device is unmanaged" into qt-r1-dev

5 years agoMerge changes Ia3307593,I43126ce1 into qt-r1-dev
Kevin Chyn [Fri, 12 Jul 2019 05:14:04 +0000 (05:14 +0000)]
Merge changes Ia3307593,I43126ce1 into qt-r1-dev

* changes:
  Reset mSecureCameraLaunched when bouncer is shown
  Do task stack work on handler to ensure in-order execution

5 years agoMerge "Read the high refresh rate blacklist from DeviceConfig." into qt-r1-dev
TreeHugger Robot [Fri, 12 Jul 2019 03:22:35 +0000 (03:22 +0000)]
Merge "Read the high refresh rate blacklist from DeviceConfig." into qt-r1-dev

5 years agoReset mSecureCameraLaunched when bouncer is shown
Kevin Chyn [Thu, 11 Jul 2019 23:25:36 +0000 (16:25 -0700)]
Reset mSecureCameraLaunched when bouncer is shown

Whenever the bouncer is shown, face auth should start again.

Fixes: 137228869

Test: Install test camera app that's available on lockscreen, double tap
      power to launch camera on lock screen. Bouncer is shown, and face
      unlock works

Change-Id: Ia33075935c6d8413ab7c9351739cca67bb81c377

5 years agoMerge "Ensure permissions granted for correct SIM" into qt-r1-dev
Leland Miller [Fri, 12 Jul 2019 00:13:13 +0000 (00:13 +0000)]
Merge "Ensure permissions granted for correct SIM" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Thu, 11 Jul 2019 22:22:25 +0000 (15:22 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 0d2a5f94ba -s ours
am skip reason: subject contains skip directive

Change-Id: I0c8629b4901da29af669faa0f441e1e2e8643780

5 years agoDo task stack work on handler to ensure in-order execution
Kevin Chyn [Thu, 11 Jul 2019 22:01:26 +0000 (15:01 -0700)]
Do task stack work on handler to ensure in-order execution

The rest of the ClientMonitor work is done on a handler to guarantee
in-order execution. e.g. setting to null when auth completes, updating
mCurrentClient when new client is requested, etc. Put this work on the
same handler.

Fixes: 137237140

Test: BiometricPromptDemo, go home while authenticating multiple times;
      no crash observed

Change-Id: I43126ce13fb88d751571d0d52fe594c0293f794c

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 11 Jul 2019 21:42:00 +0000 (21:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoUse new API to get mergedSubscriberIds based on grouping.
Malcolm Chen [Wed, 3 Jul 2019 05:29:35 +0000 (22:29 -0700)]
Use new API to get mergedSubscriberIds based on grouping.

In addition, make mMergedSubscriberIds a list to fit usage of multi-SIM
devices.

Bug: 135105735
Bug: 137137221
Test: manual
Change-Id: I364262559789112f35b88f4c298463bf4af2e82a

5 years agoProvide @hide API to return merged IMSIs from grouping.
Malcolm Chen [Mon, 1 Jul 2019 23:32:21 +0000 (16:32 -0700)]
Provide @hide API to return merged IMSIs from grouping.

Bug: 135105735
Test: test app. Apply grouping and call the new API, to make sure
it returns correct values.

Change-Id: I99586976d3421d4b35be465201ee33cbb2dfd1d9

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 20:10:20 +0000 (20:10 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Don't persist new night mode setting in car mode" into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 20:01:50 +0000 (20:01 +0000)]
Merge "Don't persist new night mode setting in car mode" into qt-r1-dev

5 years agoMerge "Adjust window rounded corners" into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 20:01:41 +0000 (20:01 +0000)]
Merge "Adjust window rounded corners" into qt-r1-dev

5 years agoMerge "Do not notify SS change with invalid subId" into qt-r1-dev
Jordan Liu [Thu, 11 Jul 2019 19:06:34 +0000 (19:06 +0000)]
Merge "Do not notify SS change with invalid subId" into qt-r1-dev

5 years agoMerge "MobileSignalController listen to ACTIVE DATA SIM changes" into qt-r1-dev
Fabian Kozynski [Thu, 11 Jul 2019 18:58:05 +0000 (18:58 +0000)]
Merge "MobileSignalController listen to ACTIVE DATA SIM changes" into qt-r1-dev

5 years agoDo not notify SS change with invalid subId
Jordan Liu [Mon, 24 Jun 2019 18:27:34 +0000 (11:27 -0700)]
Do not notify SS change with invalid subId

If a service state change is reported as a subscription is becoming
invalid (i.e. no longer connected to a phone), the current behavior can
sometimes notify this change to all PhoneStateListeners regardless of
which subId they registered to listen on (namely this happens when the
subscription was attached to the default phone).

This change removes that behavior so that no listeners are notified if
the subscription is invalid.

Test: manually verified on DSDS that when
  1. erasing eSIM when it is default and
  2. removing pSIM when it is default,
  the service state triangle for the other SIM is unaffected
Bug: 133140128
Merged-In: I906147b2d13be0bc26f8d31ec361fcd016c2cda0
Change-Id: I906147b2d13be0bc26f8d31ec361fcd016c2cda0
(cherry picked from commit 02ce78681fc1c9860abc4a68a9e77886963258a0)

5 years agoMerge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev
Richard Uhler [Thu, 11 Jul 2019 17:21:53 +0000 (10:21 -0700)]
Merge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev
am: 4dd2a01430

Change-Id: Icedd678266fc505d4545865b3431f5606f8f73ad

5 years agoMerge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev
TreeHugger Robot [Thu, 11 Jul 2019 17:03:07 +0000 (17:03 +0000)]
Merge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev

5 years agoMerge "Do not report AOD as showing when fading away" into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 16:03:26 +0000 (16:03 +0000)]
Merge "Do not report AOD as showing when fading away" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 Jul 2019 15:44:00 +0000 (08:44 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I17b30e81fe212ee9f7c9486dd6d0dca30b46fecf

5 years agoDo not report AOD as showing when fading away
Lucas Dupin [Thu, 11 Jul 2019 02:47:13 +0000 (11:47 +0900)]
Do not report AOD as showing when fading away

AOD will still be showing when we authenticate from AOD2, but WM
cannot show the activity untill we leave the AOD state, this causes
transition jank.

I'm now consolidating the dozing state with wakeAndUnlock
to account for AOD2 wake-ups.

Test: wake-up from LS to app
Test: wake-up from LS to home
Test: wake-up from AOD2 to app
Test: wake-up from AOD2 to home
Test: open app, wait for screen timeout
Test: look at logs on #updateActivityLockScreenState
Bug: 134952761
Fixes: 136737610
Change-Id: I08d087eb78788ca89d8f4a4ae67bbc597bcb650b

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 Jul 2019 15:15:57 +0000 (08:15 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9552d0718e0418dea093f7735268e9f917257e2f

5 years agoRead the high refresh rate blacklist from DeviceConfig.
Michael Wright [Thu, 4 Jul 2019 18:17:19 +0000 (19:17 +0100)]
Read the high refresh rate blacklist from DeviceConfig.

When available, we should read the high refresh rate blacklist from
DeviceConfig, and use the device's configured list as a default /
fallback. This lets us change the blacklist in the field in case we find
additional compatibility issues, or one of the developers fixes their
app and asks us to remove them from the blacklist.

Fixes: 132338514
Test: atest WmTests:HighRefreshRateBlacklistTest
Exempt-From-Owner-Approval: TBR
Merged-In: I984dab60eeafff01758ac38c3db6056b33f662a6
Change-Id: I984dab60eeafff01758ac38c3db6056b33f662a6

5 years agoDon't persist new night mode setting in car mode
Beverly [Thu, 11 Jul 2019 14:13:43 +0000 (10:13 -0400)]
Don't persist new night mode setting in car mode

Keep persist.sys.theme in sync with the primary user's
setting value UI_NIGHT_MODE

Test: manual
Fixes: 137174308
Change-Id: I8df67e0734b08bd82418e381d153d9012ecf99e4

5 years agoMerge "Redact ISOBMFF boxes with 'free'" into qt-dev
Andrew Lewis [Thu, 11 Jul 2019 13:26:42 +0000 (06:26 -0700)]
Merge "Redact ISOBMFF boxes with 'free'" into qt-dev
am: f68a201ebc

Change-Id: I4755c6f884958dce01e06aa5a889f06e035f1f1c

5 years agoMerge "Redact ISOBMFF boxes with 'free'" into qt-dev
Andrew Lewis [Thu, 11 Jul 2019 13:10:59 +0000 (13:10 +0000)]
Merge "Redact ISOBMFF boxes with 'free'" into qt-dev

5 years agoDisable testEnableRollbackTimeoutFailsRollback test.
Richard Uhler [Thu, 11 Jul 2019 08:32:43 +0000 (09:32 +0100)]
Disable testEnableRollbackTimeoutFailsRollback test.

The test is flaky because it is testing a race condition.

The flakiness is fixed with the help of some new @TestApi in
I01f3e769711ffa51fa714ff4bc81e70887f427ad. Disable the test on those
branches without the fix merged.

Bug: 134373106
Bug: 136605788
Test: atest RollbackTest

Change-Id: I05edfc142c14631b259ae7aaf2dd31af00363a35
Merged-In: I01f3e769711ffa51fa714ff4bc81e70887f427ad

5 years agoMerge "Use a Region when calculating TouchableRegion for cutouts" into qt-dev
Evan Laird [Thu, 11 Jul 2019 07:03:34 +0000 (00:03 -0700)]
Merge "Use a Region when calculating TouchableRegion for cutouts" into qt-dev
am: 6c22dff644

Change-Id: If667a3e6d1b0904664e16c59c5760a17ff06361e

5 years agoMerge "Set StatusBar window to FOCUSABLE when input transfer focus needs happening...
TreeHugger Robot [Thu, 11 Jul 2019 06:52:34 +0000 (06:52 +0000)]
Merge "Set StatusBar window to FOCUSABLE when input transfer focus needs happening Bug: 136507412 Test: manual" into qt-r1-dev

5 years agoMerge "Use a Region when calculating TouchableRegion for cutouts" into qt-dev
TreeHugger Robot [Thu, 11 Jul 2019 06:33:20 +0000 (06:33 +0000)]
Merge "Use a Region when calculating TouchableRegion for cutouts" into qt-dev

5 years agoMerge "Fixed talkback issue with biometric prompt." into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 06:14:21 +0000 (06:14 +0000)]
Merge "Fixed talkback issue with biometric prompt." into qt-r1-dev

5 years agoMerge "Q card." into qt-dev
Daniel Sandler [Thu, 11 Jul 2019 04:21:30 +0000 (21:21 -0700)]
Merge "Q card." into qt-dev
am: 13de667fa6

Change-Id: Ia30df6e52c78381860782b282125d9deef9511b5

5 years agoMerge "Q card." into qt-dev
Daniel Sandler [Thu, 11 Jul 2019 03:45:56 +0000 (03:45 +0000)]
Merge "Q card." into qt-dev

5 years agoMerge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am...
Bryan Ferris [Thu, 11 Jul 2019 01:09:37 +0000 (18:09 -0700)]
Merge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am: 4244190788 am: 61ea78238e am: 61581686b6 am: 8c5f02eddd
am: da0d82c216

Change-Id: Iabe7e6ec7f79886e421df2158417f96ef7a627a6

5 years agoFixed talkback issue with biometric prompt.
joshmccloskey [Thu, 11 Jul 2019 00:15:15 +0000 (17:15 -0700)]
Fixed talkback issue with biometric prompt.

Test: Manual.
Fixes: 137164433
Change-Id: Ie5d241762769b275fc7616e2f5bb8378a064ed98

5 years agoMerge "Fix NullPointerException." into qt-dev
anwarg [Thu, 11 Jul 2019 01:05:47 +0000 (18:05 -0700)]
Merge "Fix NullPointerException." into qt-dev
am: 19bc3c67ab

Change-Id: Iec08afae474994508c1d666938b844a8b2544ee6

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81...
Bryan Ferris [Thu, 11 Jul 2019 00:54:13 +0000 (17:54 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81 am: 4fea890c18 am: f97b567234 am: 3b0124864c
am: ff4ad59458

Change-Id: Id394ac3139fe6a42ac0ac1431e5efe4b88a57e91

5 years agoMerge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am...
Bryan Ferris [Thu, 11 Jul 2019 00:52:54 +0000 (17:52 -0700)]
Merge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am: 4244190788 am: 61ea78238e am: 61581686b6
am: 8c5f02eddd

Change-Id: Ic2236ac466bd86e019b7c004e9498493e16b96b7

5 years agoMerge "Fix NullPointerException." into qt-dev
anwarg [Thu, 11 Jul 2019 00:49:02 +0000 (00:49 +0000)]
Merge "Fix NullPointerException." into qt-dev

5 years agoMerge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am...
Bryan Ferris [Thu, 11 Jul 2019 00:41:49 +0000 (17:41 -0700)]
Merge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am: 4244190788 am: 61ea78238e
am: 61581686b6

Change-Id: I528351af6ed11b2cd486f9fee42ad09b69cd8d56

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81...
Bryan Ferris [Thu, 11 Jul 2019 00:40:59 +0000 (17:40 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81 am: 4fea890c18 am: f97b567234
am: 3b0124864c

Change-Id: Ic6125cb837134ad7027ac763240a0f59534605b4

5 years agoMerge "Check mSetupComplete on initialization to avoid service being disabled." into...
TreeHugger Robot [Thu, 11 Jul 2019 00:29:27 +0000 (00:29 +0000)]
Merge "Check mSetupComplete on initialization to avoid service being disabled." into qt-r1-dev

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81...
Bryan Ferris [Thu, 11 Jul 2019 00:28:45 +0000 (17:28 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81 am: 4fea890c18
am: f97b567234

Change-Id: I3e7a09fa3e1568696b129d28298bbf2836d1d718

5 years agoMerge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am...
Bryan Ferris [Thu, 11 Jul 2019 00:28:34 +0000 (17:28 -0700)]
Merge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev am: 4244190788
am: 61ea78238e

Change-Id: I0b4af47df7862451ba65246b232459d37441c837

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81
Bryan Ferris [Thu, 11 Jul 2019 00:19:27 +0000 (17:19 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev am: 8abe600b81
am: 4fea890c18

Change-Id: Ie296e5c7186739812d8ea2a1bc4806da5e92563a

5 years agoMerge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev
Bryan Ferris [Thu, 11 Jul 2019 00:13:54 +0000 (17:13 -0700)]
Merge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev
am: 4244190788

Change-Id: Id4563c2be11b532bdbd1b504b4a83734eed58708

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev
Bryan Ferris [Wed, 10 Jul 2019 23:52:52 +0000 (16:52 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev
am: 8abe600b81

Change-Id: I6a8ddfc1c5fb771194f9b7d6c5eb335b0ddc70c0

5 years agoMerge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev
Bryan Ferris [Wed, 10 Jul 2019 23:39:53 +0000 (23:39 +0000)]
Merge changes from topic "am-491d8213-3eca-4563-937d-c6f23dd5f887" into oc-dev

* changes:
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: d3e81cd63f
  Fix Layout.primaryIsTrailingPreviousAllLineOffsets

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev
Bryan Ferris [Wed, 10 Jul 2019 23:11:15 +0000 (23:11 +0000)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-dev

5 years agoMerge "Send error if ONS is not available" into qt-r1-dev
Sooraj Sasindran [Wed, 10 Jul 2019 23:05:33 +0000 (23:05 +0000)]
Merge "Send error if ONS is not available" into qt-r1-dev

5 years agoUse a Region when calculating TouchableRegion for cutouts
Evan Laird [Wed, 10 Jul 2019 19:55:45 +0000 (15:55 -0400)]
Use a Region when calculating TouchableRegion for cutouts

HeadsUpManagerPhone handles adding extra touchable region for the
display cutout. When this changed to use Rects, the extra touch region
was applied to the entire phone width because Rect#union() will cause
the resulting Rect to grow in every dimension. The fix is to use a
Region instead so we can properly union only the space under the notch

Fixes: 135487528
Test: manual
Change-Id: I1d39785087cc3378fc42363df170b81b84420a8e

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:55:43 +0000 (15:55 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96 am: f56e704fb5 am: cbac93ac65 am: 137d01def7
am: 9958fb0ba6

Change-Id: I4067e900b10c063109876701c4cb688876a93f80

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:51:11 +0000 (15:51 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57 am: 09bfff78dd am: 36e9a7af7f am: ff4203a42f
am: d6f5dff4ef

Change-Id: Ica4e68210c4dd52e0c5f2d0f0b0fce953aa6dcca

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:43:46 +0000 (15:43 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96 am: f56e704fb5 am: cbac93ac65
am: 137d01def7

Change-Id: I758e4303bf34a82d3e57f800458d34978be5a494

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:39:55 +0000 (15:39 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57 am: 09bfff78dd am: 36e9a7af7f
am: ff4203a42f

Change-Id: I17193c918ac1e11defda8c275ed9d0b69253d763

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:33:21 +0000 (15:33 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96 am: f56e704fb5
am: cbac93ac65

Change-Id: I2067316d6788061b74bd411c83ed5a60f70c3128

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:29:42 +0000 (15:29 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57 am: 09bfff78dd
am: 36e9a7af7f

Change-Id: Iead8dd8c3e4a0e675a86767bae54c2ddd599e65a

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:15:15 +0000 (15:15 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96
am: f56e704fb5

Change-Id: I1f7f271c666fa52be7eef894cf2fc225780113fc

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:10:48 +0000 (15:10 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57
am: 09bfff78dd

Change-Id: I8012a2d94f72d0d57fa3086293d81c0e3c8e6316

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff27...
Bryan Ferris [Wed, 10 Jul 2019 22:02:24 +0000 (15:02 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff278c98 am: 4321d1288e
am: d07f3c8128

Change-Id: I37ad3461ea7973bc2621a7513d86308d51547f31

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev
Bryan Ferris [Wed, 10 Jul 2019 22:01:49 +0000 (15:01 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev
am: ecc48fbc96

Change-Id: Ie784856bd6bdb05921d7a3c6423ab7d103e5133c

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev am: a94d8aed24
Bryan Ferris [Wed, 10 Jul 2019 21:58:30 +0000 (14:58 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev am: a94d8aed24
am: 2c8f7e6ae8

Change-Id: I2375c1b4bc262803ce2846bc1884a85524664189

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 21:56:38 +0000 (14:56 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d
am: 29534f6c57

Change-Id: Id615c055975d251f45ec995c389e4acbe1274cd8

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff278c98
Bryan Ferris [Wed, 10 Jul 2019 21:50:58 +0000 (14:50 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff278c98
am: 4321d1288e

Change-Id: I17542d6120f01e0ba0ae273e73ad37e0de6a2f51

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev
Bryan Ferris [Wed, 10 Jul 2019 21:46:49 +0000 (14:46 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev
am: a94d8aed24

Change-Id: I3ab6bbf65d6b78f5cb5a6a544952afd43b4b2c7b

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev
Bryan Ferris [Wed, 10 Jul 2019 21:37:54 +0000 (14:37 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev
am: 56ff278c98

Change-Id: I5d0aa8799d45d5a75d46691aec2d3487bb27a0a7

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev
Bryan Ferris [Wed, 10 Jul 2019 21:11:06 +0000 (21:11 +0000)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev

* changes:
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7 am: 2f9dd0cc12
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04
  Fix Layout.primaryIsTrailingPreviousAllLineOffsets

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev
Bryan Ferris [Wed, 10 Jul 2019 21:10:22 +0000 (21:10 +0000)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev
Bryan Ferris [Wed, 10 Jul 2019 21:10:18 +0000 (21:10 +0000)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev

5 years agoCheck mSetupComplete on initialization to avoid service being disabled.
Adam He [Tue, 9 Jul 2019 21:19:47 +0000 (14:19 -0700)]
Check mSetupComplete on initialization to avoid service being disabled.

Fixes: 135297073
Test: manual verification && atest CtsContentCaptureServiceTestCases
Change-Id: Ida283990c7800ac6946f7e5905e67ca1b21d8bbc

5 years agoRedact ISOBMFF boxes with 'free'
Andrew Lewis [Wed, 10 Jul 2019 12:14:24 +0000 (13:14 +0100)]
Redact ISOBMFF boxes with 'free'

Test: atest MediaStore_Video_MediaTest android.os.RedactingFileDescriptorTest
Bug: 135499138
Change-Id: Idaa8ad30300d5427f91bb2543be3152881018cf6

5 years agoMerge "Use old API to build NetworkTemplate" into qt-dev
Lei Yu [Wed, 10 Jul 2019 18:07:38 +0000 (11:07 -0700)]
Merge "Use old API to build NetworkTemplate" into qt-dev
am: e5fdc968a0

Change-Id: I35702ae50d5274defd6974245bf1209ad3a0115f

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:55 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7 am: 2f9dd0cc12

Change-Id: I287035dba62fde67b298ef638e2316b36837ee6b

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:52 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7

Change-Id: If8c3c336f3794cab0806a97a7f13d4aec38535c3

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:47 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605

Change-Id: I192651416d07a9adb1897efb7ed4882d94b8a43e

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:43 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c

Change-Id: I7490ff21f3c5183423bcb70f3d08c2879b80e28b

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:40 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04

Change-Id: I7fcc292a58dc297d2725ae3df99d637bbd1a8479

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:37 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d

Change-Id: If52ab20b7cd84d02518bdfcd46987e329b654e2d

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:32 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d

Change-Id: I2a5373fa2ea348adde8e5592a5a9fa489c7fe12b

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:29 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d

Change-Id: I0c15ebaddd8d8edb9ff630ffbe4d855219b06907

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: d3e81cd63f
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:21 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: d3e81cd63f

Change-Id: I6373d3daeb8358316c0ae2757ed745202219e5c2

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years agoAdjust window rounded corners
Beverly [Mon, 8 Jul 2019 19:39:58 +0000 (15:39 -0400)]
Adjust window rounded corners

Test: manual
Fixes: 136652290
Change-Id: I969b00528e269da16021387cb8298e05aeeb63ab

5 years agoMerge "Use old API to build NetworkTemplate" into qt-dev
Lei Yu [Wed, 10 Jul 2019 17:27:58 +0000 (17:27 +0000)]
Merge "Use old API to build NetworkTemplate" into qt-dev

5 years agoQ card.
Dan Sandler [Wed, 26 Jun 2019 05:01:26 +0000 (01:01 -0400)]
Q card.

(Goodbye, hypno-P and your '90s tech magazine color palette.)

Bug: 123903304
Test: adb shell am start -n android/com.android.internal.app.PlatLogoActivity
Test: adb shell am start -c com.android.internal.category.PLATLOGO -a android.intent.action.MAIN
Test: adb shell am start -n com.android.egg/.paint.PaintActivity # still works
Change-Id: I4865024a14b6a78e7a043c56d2330b5f9dd214c6
Merged-In: I4865024a14b6a78e7a043c56d2330b5f9dd214c6

5 years agoMerge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev
Matt Pape [Wed, 10 Jul 2019 16:09:24 +0000 (09:09 -0700)]
Merge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev
am: 54c7c6927c

Change-Id: I24b040f5e4a02abebe929f805fbf4e667b29e92b

5 years agoMerge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev
Matt Pape [Wed, 10 Jul 2019 15:50:56 +0000 (15:50 +0000)]
Merge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev

5 years agoFix NullPointerException.
Richard Uhler [Wed, 10 Jul 2019 14:00:09 +0000 (15:00 +0100)]
Fix NullPointerException.

Fix a NullPointerException that can occur if a package with a recently
created rollback is no longer installed on device when the device boots.

Bug: 137135842
Test: atest CtsRollbackManagerHostTestCases
Change-Id: Ic007e44264647793c6271c3923c13c9e1736a9de

5 years agoMerge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev
Ahan Wu [Wed, 10 Jul 2019 13:05:10 +0000 (06:05 -0700)]
Merge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev
am: 71682ae9c7

Change-Id: Ieb2b576e5178a2885c5c1df0eba41c2c4f6d50ae

5 years agoMerge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev
TreeHugger Robot [Wed, 10 Jul 2019 12:57:14 +0000 (12:57 +0000)]
Merge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Chienyuan [Wed, 10 Jul 2019 05:33:28 +0000 (22:33 -0700)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc am: df484ced0b am: 2a547afdfa am: b36f88020e am: 60aad1a06f
am: 5f70ebf52c

Change-Id: Id4c1a257b04515a03828a33229e5630c75c56ac2

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Chienyuan [Wed, 10 Jul 2019 05:23:46 +0000 (22:23 -0700)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc am: df484ced0b am: 2a547afdfa am: b36f88020e
am: 60aad1a06f

Change-Id: I59696232bedf6bc978f66efd8f5df2ec2fb3336a

5 years agoMerge "skip reading vmallocinfo if not needed" into qt-r1-dev
Minchan Kim [Wed, 10 Jul 2019 05:20:45 +0000 (05:20 +0000)]
Merge "skip reading vmallocinfo if not needed" into qt-r1-dev