OSDN Git Service

android-x86/frameworks-base.git
6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:34:33 +0000 (11:34 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: c2db8716e2  -s ours

Change-Id: I514ae888940f66c8ec4895ab06c3b1eed29af41f

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:31:14 +0000 (11:31 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 120e47282f  -s ours

Change-Id: I60e0da3be58cddac61800b8ba07acae50fe33c8f

6 years agoMerge "Show "in parole?" in dumpsys jobscheduler" into pi-dev
Makoto Onuki [Tue, 8 May 2018 18:28:50 +0000 (11:28 -0700)]
Merge "Show "in parole?" in dumpsys jobscheduler" into pi-dev
am: c70d756bf6

Change-Id: Iaa77f4ab265274cba5d906acb2b3d8e61963a66e

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:21:49 +0000 (18:21 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:18:25 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Make android:cantSaveState an optional feature." into pi-dev
Dianne Hackborn [Tue, 8 May 2018 18:16:28 +0000 (11:16 -0700)]
Merge "Make android:cantSaveState an optional feature." into pi-dev
am: 330dd0b244

Change-Id: Id9825ba64e762c1ce32eb5f3721315d724863b5d

6 years agoMerge "EBS: Don't disable vibration when accessibility is on" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:11:13 +0000 (11:11 -0700)]
Merge "EBS: Don't disable vibration when accessibility is on" into pi-dev
am: 9cd0e44482

Change-Id: Ie12393d98af737ed2713059f7d52e4c01edc9576

6 years agoMerge "Show "in parole?" in dumpsys jobscheduler" into pi-dev
Makoto Onuki [Tue, 8 May 2018 18:09:56 +0000 (18:09 +0000)]
Merge "Show "in parole?" in dumpsys jobscheduler" into pi-dev

6 years agoMerge "Make android:cantSaveState an optional feature." into pi-dev
Dianne Hackborn [Tue, 8 May 2018 17:59:32 +0000 (17:59 +0000)]
Merge "Make android:cantSaveState an optional feature." into pi-dev

6 years agoMerge "EBS: Don't disable vibration when accessibility is on" into pi-dev
android-build-team Robot [Tue, 8 May 2018 17:58:24 +0000 (17:58 +0000)]
Merge "EBS: Don't disable vibration when accessibility is on" into pi-dev

6 years agoMerge "Count launching the same app as an app launch for Quickstep onboarding" into...
android-build-team Robot [Tue, 8 May 2018 17:43:32 +0000 (10:43 -0700)]
Merge "Count launching the same app as an app launch for Quickstep onboarding" into pi-dev
am: 1589a43ece

Change-Id: I1eed7766bb579971377feec3ae05aa94751031f7

6 years agoMerge "AAPT: Fixed split resource dumping" into pi-dev
Ryan Mitchell [Tue, 8 May 2018 17:28:36 +0000 (10:28 -0700)]
Merge "AAPT: Fixed split resource dumping" into pi-dev
am: fb07d82086

Change-Id: I66dedae28679c07e0bfa76cfafba97d563356fcb

6 years agoMerge "Count launching the same app as an app launch for Quickstep onboarding" into...
android-build-team Robot [Tue, 8 May 2018 17:26:31 +0000 (17:26 +0000)]
Merge "Count launching the same app as an app launch for Quickstep onboarding" into pi-dev

6 years agoMerge "AAPT: Fixed split resource dumping" into pi-dev
Ryan Mitchell [Tue, 8 May 2018 17:17:17 +0000 (17:17 +0000)]
Merge "AAPT: Fixed split resource dumping" into pi-dev

6 years agoMerge changes I1539580e,I8452e799 into pi-dev
android-build-team Robot [Tue, 8 May 2018 16:56:11 +0000 (09:56 -0700)]
Merge changes I1539580e,I8452e799 into pi-dev
am: 8ea760c815

Change-Id: I4273e08bb50ba9b509171ea65d32bb6757a4a2b7

6 years agoMerge "Fixes a NPE in search manager in CTS tests." into pi-dev
android-build-team Robot [Tue, 8 May 2018 16:46:12 +0000 (09:46 -0700)]
Merge "Fixes a NPE in search manager in CTS tests." into pi-dev
am: 188b642ac0

Change-Id: Ie3a7de65c4b8d06a5b0110a93689ca604bdf858a

6 years agoMerge changes I1539580e,I8452e799 into pi-dev
android-build-team Robot [Tue, 8 May 2018 16:41:47 +0000 (16:41 +0000)]
Merge changes I1539580e,I8452e799 into pi-dev

* changes:
  Volume dialog mulit-streams have 8dp padding
  Check if alarm and now times are in schedule

6 years agoMerge "Fix intercepting touch events for guts" into pi-dev
android-build-team Robot [Tue, 8 May 2018 16:41:04 +0000 (09:41 -0700)]
Merge "Fix intercepting touch events for guts" into pi-dev
am: 87ffd28760

Change-Id: If558d3856e5572e130fc5506e1b9f129828cad63

6 years agoMerge "Add some JobInfo APIs in light grey." into pi-dev
Nicolas Geoffray [Tue, 8 May 2018 16:35:13 +0000 (09:35 -0700)]
Merge "Add some JobInfo APIs in light grey." into pi-dev
am: da801c2a25

Change-Id: I6cad7d446beb7cd0f8bcf0044de27722aa232142

6 years agoMerge "Fixes a NPE in search manager in CTS tests." into pi-dev
android-build-team Robot [Tue, 8 May 2018 16:21:39 +0000 (16:21 +0000)]
Merge "Fixes a NPE in search manager in CTS tests." into pi-dev

6 years agoMerge "Fix intercepting touch events for guts" into pi-dev
android-build-team Robot [Tue, 8 May 2018 16:19:50 +0000 (16:19 +0000)]
Merge "Fix intercepting touch events for guts" into pi-dev

6 years agoMerge "Cancel any recents animation whenever a display's stack order changes" into...
Winson Chung [Tue, 8 May 2018 16:08:01 +0000 (09:08 -0700)]
Merge "Cancel any recents animation whenever a display's stack order changes" into pi-dev
am: 0f3698c88a

Change-Id: Id21b521fe83bc4f7afa922ee540f35fa35201c16

6 years agoMerge "Add some JobInfo APIs in light grey." into pi-dev
Nicolas Geoffray [Tue, 8 May 2018 16:06:04 +0000 (16:06 +0000)]
Merge "Add some JobInfo APIs in light grey." into pi-dev

6 years agoMerge "Cancel any recents animation whenever a display's stack order changes" into...
Winson Chung [Tue, 8 May 2018 15:51:04 +0000 (15:51 +0000)]
Merge "Cancel any recents animation whenever a display's stack order changes" into pi-dev

6 years agoMerge "Remove ticker text for screenshot saving notification." into pi-dev
android-build-team Robot [Tue, 8 May 2018 15:45:11 +0000 (08:45 -0700)]
Merge "Remove ticker text for screenshot saving notification." into pi-dev
am: 70c9a79127

Change-Id: I35594cbfb73048ae2fe7d3757232d193632d1d5a

6 years agoMerge "Remove ticker text for screenshot saving notification." into pi-dev
android-build-team Robot [Tue, 8 May 2018 15:28:31 +0000 (15:28 +0000)]
Merge "Remove ticker text for screenshot saving notification." into pi-dev

6 years agoMerge "Fix "battery saver" notification keeping coming back." into pi-dev
Makoto Onuki [Tue, 8 May 2018 15:17:18 +0000 (08:17 -0700)]
Merge "Fix "battery saver" notification keeping coming back." into pi-dev
am: f450a7266b

Change-Id: Ie3d52e44e04737d07efe8f75e04cae1e5f86b400

6 years agoVolume dialog mulit-streams have 8dp padding
Beverly [Tue, 8 May 2018 15:16:02 +0000 (11:16 -0400)]
Volume dialog mulit-streams have 8dp padding

Change-Id: I1539580e2d848521638b50c10bd51c18ff415268
Fixes: 79353898
Test: visual inspection with multi-stream and dnd

6 years agoMerge "Fix "battery saver" notification keeping coming back." into pi-dev
Makoto Onuki [Tue, 8 May 2018 15:11:57 +0000 (15:11 +0000)]
Merge "Fix "battery saver" notification keeping coming back." into pi-dev

6 years agoMerge "Adding batterystats history to proto dump." into pi-dev
android-build-team Robot [Tue, 8 May 2018 15:11:22 +0000 (08:11 -0700)]
Merge "Adding batterystats history to proto dump." into pi-dev
am: 291b944d89

Change-Id: Ie1766ac31bc048eeba13d540c446372ef56c2da6

6 years agoAdd some JobInfo APIs in light grey.
Nicolas Geoffray [Tue, 8 May 2018 15:04:30 +0000 (16:04 +0100)]
Add some JobInfo APIs in light grey.

bug: 79258941
Test: m
Change-Id: Ief508c5785482a28ee0262cc168b01d3b632fbfa

6 years agoFixes a NPE in search manager in CTS tests.
Steven Wu [Tue, 8 May 2018 15:03:17 +0000 (11:03 -0400)]
Fixes a NPE in search manager in CTS tests.

Test: atest CtsSliceTestCases
Change-Id: I9e9b3bbcf0dc980e5189293abcee95ff374e309f
Fixes: 76211625

6 years agoMerge "Adding batterystats history to proto dump." into pi-dev
android-build-team Robot [Tue, 8 May 2018 14:58:09 +0000 (14:58 +0000)]
Merge "Adding batterystats history to proto dump." into pi-dev

6 years ago[automerger skipped] Merge "Store package restriction settings at shutdown" into...
android-build-team Robot [Tue, 8 May 2018 14:34:57 +0000 (07:34 -0700)]
[automerger skipped] Merge "Store package restriction settings at shutdown" into pi-dev
am: ae4a20c75b  -s ours

Change-Id: Iafb944832459af35cbc1f6df2c7d6a06b3cc51c1

6 years agoMerge "Store package restriction settings at shutdown" into pi-dev
android-build-team Robot [Tue, 8 May 2018 14:22:30 +0000 (14:22 +0000)]
Merge "Store package restriction settings at shutdown" into pi-dev

6 years agoCheck if alarm and now times are in schedule
Beverly [Fri, 4 May 2018 15:21:20 +0000 (11:21 -0400)]
Check if alarm and now times are in schedule

Bug: 77570224
Bug: 79230399
Test: ScheduleCalendarTest
Change-Id: I8452e799189dab0559b49f1e62b18b7106929cd3

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 8 May 2018 12:50:55 +0000 (05:50 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I463ac2560e83ff4f58c588e7b19986870f55bebd

6 years agoMerge "Fix testRegisterUsageCallback" am: d0b9f983d6
Remi NGUYEN VAN [Tue, 8 May 2018 09:13:00 +0000 (02:13 -0700)]
Merge "Fix testRegisterUsageCallback" am: d0b9f983d6
am: 66674ce8fb

Change-Id: If16708b5ce00dc374663e3c3dedd1d96342175f1

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 8 May 2018 09:04:29 +0000 (02:04 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icba148a61ddf79c00763628ac9b3c66f64f29cd2

6 years agoMerge "Fix testRegisterUsageCallback"
Remi NGUYEN VAN [Tue, 8 May 2018 09:00:59 +0000 (02:00 -0700)]
Merge "Fix testRegisterUsageCallback"
am: d0b9f983d6

Change-Id: I7ec1e3a05971e8e0448289e3c3f979fd7dcfe144

6 years agoMerge "Fix testRegisterUsageCallback"
Remi NGUYEN VAN [Tue, 8 May 2018 07:55:42 +0000 (07:55 +0000)]
Merge "Fix testRegisterUsageCallback"

6 years agoCancel any recents animation whenever a display's stack order changes
Winson Chung [Fri, 4 May 2018 01:03:15 +0000 (18:03 -0700)]
Cancel any recents animation whenever a display's stack order changes

- The recents animation holds a reference to the stack that the recents
  stack was previously behind (before the animation started) and should be
  restored behind after the animation ends. Due to the ordering of events,
  it is possible for a call to cancelRecentsAnimation() to come in after
  we have started the transition to home

  ie.
  1) in app A
  2) touch down on home button -> start recents animation, home stack
     saves A stack as the one to restore behind if animation doesn't
     finish
  3) touch up to trigger button -> PWM to start home activity and
     simultaneously proxies the motion even to launcher which happens to
     call cancelRecentsAnimation (as a part of a catch all)
  4) PWM start activity -> move home stack to top
  5) cancelRecentsAnimation from launcher will try to restore the home
     stack behind A, when the rest of the system has already thought
     that the home stack was already moved to the front and focused

  Instead of depending on any particular ordering of events, we can just
  cancel the recents animation (without reordering) whenever the display's
  stacks change so as not to affect any upcoming changes. There is only
  one stack order changed listener (the recents animation, and there can
  only be one animation at a time; the previous animation is always
  canceled and unregisters the listener when cleaning up.
- Revert the old workaround for Beta 1 in PWM as it doesn't catch other
  cases
- Removed confusing code suggesting that we were using a non-default
  display (we are always only ever doing this animation for the default
  display since that's where we resolved the target stack).

Bug: 73188263
Test: Was able to repro by artificially calling cancelRecentsAnimation
      immediately after starting home (and also by swiping up, holding,
      then invoking the home via adb (to trigger start activity) and then
      releasing (to trigger cancelRecentsAnimation)). Ensure that case
      now works.
Test: atest FrameworksServicesTests:RecentsAnimationTest
Test: atest FrameworksServicesTests:ActivityStackTests

Change-Id: Iec1a29b5bb53737b4be3f1a3719c4e7c26313a11

6 years agoMerge "AOD padding animation should match slice" into pi-dev
android-build-team Robot [Tue, 8 May 2018 06:03:51 +0000 (23:03 -0700)]
Merge "AOD padding animation should match slice" into pi-dev
am: 1b5e2d8b3e

Change-Id: I9795fc0a2e780c6b8075ea5f4c5a4d514b1a61b0

6 years agoMerge "AOD padding animation should match slice" into pi-dev
android-build-team Robot [Tue, 8 May 2018 05:52:36 +0000 (05:52 +0000)]
Merge "AOD padding animation should match slice" into pi-dev

6 years agoMerge "Fix testUidPoliciesToString" am: c8613f9965
Remi NGUYEN VAN [Tue, 8 May 2018 05:32:14 +0000 (22:32 -0700)]
Merge "Fix testUidPoliciesToString" am: c8613f9965
am: 717f4e19d8

Change-Id: Ic61bf635c929f3e3e14bb913eba238cd53e955a6

6 years agoMerge "Fix testUidPoliciesToString"
Remi NGUYEN VAN [Tue, 8 May 2018 05:24:56 +0000 (22:24 -0700)]
Merge "Fix testUidPoliciesToString"
am: c8613f9965

Change-Id: I3ec2fd01ca55ef63d0bfe0cec48854f852c736cc

6 years agoMerge "Reload wallpaper after user unlock." into pi-dev
Wei Sheng Shih [Tue, 8 May 2018 04:23:53 +0000 (21:23 -0700)]
Merge "Reload wallpaper after user unlock." into pi-dev
am: f687efc455

Change-Id: Ifa0d5f895999f43a759e7322262f26aa97543d3d

6 years agoMerge "Reload wallpaper after user unlock." into pi-dev
Wei Sheng Shih [Tue, 8 May 2018 04:13:35 +0000 (04:13 +0000)]
Merge "Reload wallpaper after user unlock." into pi-dev

6 years agoMerge "Fix testUidPoliciesToString"
Remi NGUYEN VAN [Tue, 8 May 2018 04:13:07 +0000 (04:13 +0000)]
Merge "Fix testUidPoliciesToString"

6 years agoMerge "Make TelecomManager#endCall a public API." into pi-dev
Tyler Gunn [Tue, 8 May 2018 04:11:14 +0000 (21:11 -0700)]
Merge "Make TelecomManager#endCall a public API." into pi-dev
am: 872a039ab3

Change-Id: Ic52e1705ce497b0a46bb4107ad854a8b939b38b0

6 years agoMerge "Make TelecomManager#endCall a public API." into pi-dev
Tyler Gunn [Tue, 8 May 2018 04:01:35 +0000 (04:01 +0000)]
Merge "Make TelecomManager#endCall a public API." into pi-dev

6 years agoMerge changes from topic "change-shared-user-apk-cert-pi-dev" into pi-dev
Bryan Henry [Tue, 8 May 2018 03:21:47 +0000 (20:21 -0700)]
Merge changes from topic "change-shared-user-apk-cert-pi-dev" into pi-dev
am: 1b93e623be

Change-Id: Ic54d1be1284eb0802aab04b99d835085200fe81b

6 years agoMerge changes from topic "change-shared-user-apk-cert-pi-dev" into pi-dev
Bryan Henry [Tue, 8 May 2018 03:08:19 +0000 (03:08 +0000)]
Merge changes from topic "change-shared-user-apk-cert-pi-dev" into pi-dev

* changes:
  Allow changing signing cert for system apps that use shared users
  Revert "Allow shared users to rotate signing certs in an OTA"

6 years agoMerge "Update text size of overflow number view" into pi-dev
android-build-team Robot [Tue, 8 May 2018 01:58:56 +0000 (18:58 -0700)]
Merge "Update text size of overflow number view" into pi-dev
am: 414be0b1cb

Change-Id: I5c0855a4dddd65afd5ea314d831e0f6e04304bf9

6 years agoFix intercepting touch events for guts
dongwan0605.kim [Sun, 6 May 2018 08:40:23 +0000 (17:40 +0900)]
Fix intercepting touch events for guts

When guts are showing in keyguard, user's touch events
could be intercepted by ActivatableNotificationView
especially in notification header area.
And then, user had to touch buttons in guts twice to operate.
So, fix not to intercept touch events when guts are showing.

Test: Lockscreen > Swipe EXPANDABLE notification and
click snooze button > Try to click UNDO button or
expand button in snooze layout.

Change-Id: I7f36ca8f38c974561ea7585b4560fff8c2d634fb
Fixes: 79354723

6 years agoMerge "Reset the profile when system application change version." into pi-dev
android-build-team Robot [Tue, 8 May 2018 01:49:46 +0000 (18:49 -0700)]
Merge "Reset the profile when system application change version." into pi-dev
am: d24c5de834

Change-Id: I79656d5af6a8358e341c7159cce1b59b7320bf3f

6 years agoMerge "Update text size of overflow number view" into pi-dev
android-build-team Robot [Tue, 8 May 2018 01:47:14 +0000 (01:47 +0000)]
Merge "Update text size of overflow number view" into pi-dev

6 years agoUpdate text size of overflow number view
dongwan0605.kim [Sun, 6 May 2018 09:04:52 +0000 (18:04 +0900)]
Update text size of overflow number view

When density or font size is updated, overflow number view's size
was not updated.

Test: Group notification with overflow number existing
> Change density or font size > Check overflow number view's size

Change-Id: I6f464b12f83b954f7fbfdd5d64153598b5407e08
Fixes: 79350890

6 years agoMerge "Reset the profile when system application change version." into pi-dev
android-build-team Robot [Tue, 8 May 2018 01:31:52 +0000 (01:31 +0000)]
Merge "Reset the profile when system application change version." into pi-dev

6 years agoMerge "Convert android.test.runner.stubs to Soong" am: 6fa8d06c78
android-build-prod (mdb) [Tue, 8 May 2018 01:25:56 +0000 (18:25 -0700)]
Merge "Convert android.test.runner.stubs to Soong" am: 6fa8d06c78
am: c8a0259721

Change-Id: I5c30b9805219d516df9a438b87e28dc775d74557

6 years agoMerge "Convert android.test.runner.stubs to Soong"
android-build-prod (mdb) [Tue, 8 May 2018 01:13:01 +0000 (18:13 -0700)]
Merge "Convert android.test.runner.stubs to Soong"
am: 6fa8d06c78

Change-Id: I35d8b4836e58092a2c9158c493af8653e7ffb021

6 years agoMerge "AudioFocusRequest: fix doc for focus listener dispatch" into pi-dev
Jean-Michel Trivi [Tue, 8 May 2018 01:09:51 +0000 (18:09 -0700)]
Merge "AudioFocusRequest: fix doc for focus listener dispatch" into pi-dev
am: 7d32a1e045

Change-Id: Iddf332ab3169b4c1070bbe1dac3bc8c91e8d6ca5

6 years agoAdding batterystats history to proto dump.
Kweku Adams [Mon, 16 Apr 2018 23:54:24 +0000 (16:54 -0700)]
Adding batterystats history to proto dump.

It will only print out a dump for userdebug or eng builds.

Bug: 77727638
Test: flash device and check output of incident proto and
'dumpsys batterystats -c --history'

Merged-In: Ib74d4c664f23a61e6fc33f700ba6a3c6fad32c74
Change-Id: Ia0c993d1281cc350d93f9c13f5540b349a4bfb84

6 years agoMerge "AudioFocusRequest: fix doc for focus listener dispatch" into pi-dev
Jean-Michel Trivi [Tue, 8 May 2018 00:53:02 +0000 (00:53 +0000)]
Merge "AudioFocusRequest: fix doc for focus listener dispatch" into pi-dev

6 years agoStore package restriction settings at shutdown
Tetsutoki Shiozawa [Wed, 25 Nov 2015 14:02:36 +0000 (23:02 +0900)]
Store package restriction settings at shutdown

Symptom:
Disabled package was re-enabled by restarting a device.

Root cause:
PMS postpones storing the package restriction settings in 10
seconds by design. When a package gets disabled right before
shutdown, PMS fails to store the last changes.

Solution:
Store package restriction settings at shutdown.

Test: Manually:
1. Run "pm suspend <package-name>"
2. Press power and reboot device within 10 seconds
3. Verify that <package-name> remains suspended

BUG: 7344774479209078
Change-Id: I4fe76c1f003e51653304cfaeaa5129d84803ce1e
Merged-In: I4fe76c1f003e51653304cfaeaa5129d84803ce1e

6 years agoMerge "Expose media projection consent UI to instant apps" into pi-dev
Svetoslav Ganov [Tue, 8 May 2018 00:41:11 +0000 (17:41 -0700)]
Merge "Expose media projection consent UI to instant apps" into pi-dev
am: efaec53af9

Change-Id: I581cb12f4a164f21a27b0c18a31fe97ef3dc4320

6 years agoMerge "Expose media projection consent UI to instant apps" into pi-dev
Svetoslav Ganov [Tue, 8 May 2018 00:26:03 +0000 (00:26 +0000)]
Merge "Expose media projection consent UI to instant apps" into pi-dev

6 years agoReset the profile when system application change version.
Hyangseok Chae [Sun, 1 Apr 2018 23:23:31 +0000 (08:23 +0900)]
Reset the profile when system application change version.

Background optimization has flag checkProfiles as true,
performDexOptLI check profile is updated with checkProfiles.
(isProfileUpdated() -> mergeProfiles -> analyze_profiles())
analyze_profiles decides if it is need to compile and clear
the profile or not. But analyze_profiles and profman merge
only based on existing profiles. Eventhough checksum of
application dex was changed, profman only check the profile
can be merge or not.

With below TC, the return value of profman is PROFMAN_BIN_
RETURN_CODE_SKIP_COMPILATION(1). Because current profile
has not enough informations than reference profile.
I think ProcessProfilesInternal should consider change
of dex checksum, If there are mismatch checksum of dex
between profiles and dex, then profman should return with
PROFMAN_BIN_RETURN_CODE_BAD_PROFILES (2).
After that analyze_profiles can reset profiles with
PROFMAN_BIN_RETURN_CODE_BAD_PROFILES.

But profman does not have that implemtation for verify
the profile based on checksum. So, It is need to drop
the profile based on change of application version.

Test: System update
1. Factory Image with system application. (vendor, system app)
2. Use Sample application to generage current profile.
3. BackgroundDexOptService optimize with speed-profile.
4. Use Sample application to generage current profile.
5. There are small size of current profile and large size
    of reference profile.
6. System update with application change.
7. Reboot.
8. Next background optimization would be fail permanently.

Bug: 77839992

Change-Id: Iac575ae5906498a59b750df0b281fab01df57b3e

6 years agoCount launching the same app as an app launch for Quickstep onboarding
Tracy Zhou [Tue, 8 May 2018 00:08:56 +0000 (17:08 -0700)]
Count launching the same app as an app launch for Quickstep onboarding

Bug: 70180942
Test: Manual test
Change-Id: Ib4fafa2697206ef710a4ce975309fb7a8792b4cf

6 years agoMerge "Unsuspending packages on suspending app data clear" into pi-dev
android-build-team Robot [Tue, 8 May 2018 00:09:10 +0000 (17:09 -0700)]
Merge "Unsuspending packages on suspending app data clear" into pi-dev
am: 2ba981c6c3

Change-Id: I9a5ea7f7b5b49ecfb30b32f5ef3043c1f4d2f06b

6 years agoAOD padding animation should match slice
Lucas Dupin [Mon, 7 May 2018 23:00:11 +0000 (16:00 -0700)]
AOD padding animation should match slice

Top padding animates when a new notification arrives and same duration
should be used, otherwise elements would overlap.

Test: visual
Bug: 76110106
Change-Id: I016a796df93fd1b6852922bc646f616c68ec624e

6 years agoRemove ticker text for screenshot saving notification.
Alison Cichowlas [Tue, 1 May 2018 13:56:37 +0000 (09:56 -0400)]
Remove ticker text for screenshot saving notification.

Info here is duplicated in the context text, and was read twice for a11y.

Test: Manual, with TalkBack - trigger several SS notifications.
Bug: 77585533
Change-Id: I369c749df3030536f7118661262228d1882ab1b8

6 years agoMerge "Fixes statsd returning too much data at once." into pi-dev
Yang Lu [Tue, 8 May 2018 00:00:26 +0000 (17:00 -0700)]
Merge "Fixes statsd returning too much data at once." into pi-dev
am: cdb093e080

Change-Id: I64e129a2061c561ddb017067e095ed0e2e9d471b

6 years agoMerge "Unsuspending packages on suspending app data clear" into pi-dev
android-build-team Robot [Mon, 7 May 2018 23:59:15 +0000 (23:59 +0000)]
Merge "Unsuspending packages on suspending app data clear" into pi-dev

6 years agoMerge "Fixes first jump of dividerview when invoking splitscreen" into pi-dev
android-build-team Robot [Mon, 7 May 2018 23:55:20 +0000 (16:55 -0700)]
Merge "Fixes first jump of dividerview when invoking splitscreen" into pi-dev
am: 3542482875

Change-Id: I0122b8962058b5b7d0746904a14fd2e7a5265dac

6 years agoMerge "Convert android.test.runner.stubs to Soong"
android-build-prod (mdb) [Mon, 7 May 2018 23:50:18 +0000 (23:50 +0000)]
Merge "Convert android.test.runner.stubs to Soong"

6 years agoMerge "Fixes statsd returning too much data at once." into pi-dev
Yang Lu [Mon, 7 May 2018 23:49:54 +0000 (23:49 +0000)]
Merge "Fixes statsd returning too much data at once." into pi-dev

6 years agoMerge "Fixes first jump of dividerview when invoking splitscreen" into pi-dev
android-build-team Robot [Mon, 7 May 2018 23:39:05 +0000 (23:39 +0000)]
Merge "Fixes first jump of dividerview when invoking splitscreen" into pi-dev

6 years ago[automerger skipped] Merge "Move SettingsLib tests and EasterEgg to aapt2." am: 846fb...
android-build-prod (mdb) [Mon, 7 May 2018 23:03:17 +0000 (16:03 -0700)]
[automerger skipped] Merge "Move SettingsLib tests and EasterEgg to aapt2." am: 846fbd0806
am: cf93b96726  -s ours

Change-Id: Icb78b81f8e7bc49e2925bf690ce6f0e18f45e955

6 years agoMerge "Fix build break" into pi-dev
Lin Guo [Mon, 7 May 2018 22:59:10 +0000 (15:59 -0700)]
Merge "Fix build break" into pi-dev
am: 49fe27de4b

Change-Id: Ieb83099193d8b758492cf6cbdddad352a858120b

6 years agoMerge "Fix build break" into pi-dev
Lin Guo [Mon, 7 May 2018 22:41:07 +0000 (22:41 +0000)]
Merge "Fix build break" into pi-dev

6 years agoAAPT: Fixed split resource dumping
Ryan Mitchell [Fri, 4 May 2018 21:16:20 +0000 (14:16 -0700)]
AAPT: Fixed split resource dumping

AAPT would not print resource values for splits passed in with the -I
flag. This fix prints out each split separately with the correct type
specs and values.

Bug: 79195967
Test: aapt dump --values -I base-hdpi.apk resources base-master.apk
Change-Id: I223186136e98180fec4a3d96f92f53407db59e2d

6 years agoMerge "Remove the clock view when DISABLE_CLOCK is set" into pi-dev
android-build-team Robot [Mon, 7 May 2018 22:24:14 +0000 (15:24 -0700)]
Merge "Remove the clock view when DISABLE_CLOCK is set" into pi-dev
am: 6d4917b673

Change-Id: I2af9b5a6320f20fcf12b828b4b2bcdba10f2cf90

6 years agoFix build break
Lin Guo [Mon, 7 May 2018 22:01:40 +0000 (15:01 -0700)]
Fix build break

Remove the androidx.annotation.DrawableRes import

BUG:79371277
Test: manual
Change-Id: Ic4c5bf799d2ed9a15ed50a3f8c91bb804ad5cbbb

6 years agoMerge "Simulate handling of event when throttling" into pi-dev
android-build-team Robot [Mon, 7 May 2018 22:20:10 +0000 (15:20 -0700)]
Merge "Simulate handling of event when throttling" into pi-dev
am: 0458578642

Change-Id: I4e806ad2c04307125d90500b9e568ee4fd52b2a2

6 years agoMerge "New FIELD_AUTOFILL_COMPAT_MODE field." into pi-dev
android-build-team Robot [Mon, 7 May 2018 22:14:41 +0000 (15:14 -0700)]
Merge "New FIELD_AUTOFILL_COMPAT_MODE field." into pi-dev
am: 88cc74cd6b

Change-Id: I5127646f7cc27dfc733c6b91ebe73aa367d033dc

6 years agoMerge "WindowManager: Emit windows from forAllWindows closer to Z-order" into pi-dev
Rob Carr [Mon, 7 May 2018 22:06:36 +0000 (15:06 -0700)]
Merge "WindowManager: Emit windows from forAllWindows closer to Z-order" into pi-dev
am: 17f19e4425

Change-Id: I96663aef758da73031f468f58763ab698d13b2ed

6 years agoMerge "Remove the clock view when DISABLE_CLOCK is set" into pi-dev
android-build-team Robot [Mon, 7 May 2018 22:05:40 +0000 (22:05 +0000)]
Merge "Remove the clock view when DISABLE_CLOCK is set" into pi-dev

6 years agoMerge "Update date during time tick event" into pi-dev
Lucas Dupin [Mon, 7 May 2018 22:02:31 +0000 (15:02 -0700)]
Merge "Update date during time tick event" into pi-dev
am: e22a7bc9d4

Change-Id: I843ec43c885efa2e93a9f53e83dd57c45ad6e6ea

6 years agoMake android:cantSaveState an optional feature.
Dianne Hackborn [Fri, 4 May 2018 18:31:09 +0000 (11:31 -0700)]
Make android:cantSaveState an optional feature.

This doesn't make sense on things like watches and appliances,
so make this an optional feature that the device must enable.
If the feature is not set, then the system will ignore
the app's request.

Bug: 76213401
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: I91abf9d86ec14fa632e3bcc83c4a3febade5d2e4

6 years agoMerge "Simulate handling of event when throttling" into pi-dev
android-build-team Robot [Mon, 7 May 2018 21:59:57 +0000 (21:59 +0000)]
Merge "Simulate handling of event when throttling" into pi-dev

6 years agoMerge "New FIELD_AUTOFILL_COMPAT_MODE field." into pi-dev
android-build-team Robot [Mon, 7 May 2018 21:59:24 +0000 (21:59 +0000)]
Merge "New FIELD_AUTOFILL_COMPAT_MODE field." into pi-dev

6 years agoMerge "Re-enable the logging of APP_BREADCRUMB_REPORTED atom" into pi-dev
Howard Ro [Mon, 7 May 2018 21:56:40 +0000 (14:56 -0700)]
Merge "Re-enable the logging of APP_BREADCRUMB_REPORTED atom" into pi-dev
am: 7ca1b03ece

Change-Id: If52d4b0f2b648e118e9cf10705b4eb2068153b75

6 years agoMerge "WindowManager: Emit windows from forAllWindows closer to Z-order" into pi-dev
Rob Carr [Mon, 7 May 2018 21:48:31 +0000 (21:48 +0000)]
Merge "WindowManager: Emit windows from forAllWindows closer to Z-order" into pi-dev

6 years agoUnsuspending packages on suspending app data clear
Suprabh Shukla [Sat, 28 Apr 2018 02:30:30 +0000 (19:30 -0700)]
Unsuspending packages on suspending app data clear

A suspending app loses all app data, jobs, alarms, etc. when its data is
cleared. The packages it suspended should get unsuspended so the device
is not left in an inconsistent state.
Also simplifying the permission check to block any cross user calls not
from system or root.

Test: Manual test by suspending with com.android.frameworks.servicestests
and then clearing data via Settings and also "adb shell pm clear"

Bug: 77801553
Change-Id: I20424322b5917f3b87e2cf48a6444de9f242d311

6 years agoMerge "Update date during time tick event" into pi-dev
Lucas Dupin [Mon, 7 May 2018 21:39:52 +0000 (21:39 +0000)]
Merge "Update date during time tick event" into pi-dev

6 years agoMerge "Re-enable the logging of APP_BREADCRUMB_REPORTED atom" into pi-dev
Howard Ro [Mon, 7 May 2018 21:26:47 +0000 (21:26 +0000)]
Merge "Re-enable the logging of APP_BREADCRUMB_REPORTED atom" into pi-dev

6 years agoMerge "Refactor CarVolumeDialogImpl to use CarAudioManager" into pi-dev
Lin Guo [Mon, 7 May 2018 21:24:43 +0000 (14:24 -0700)]
Merge "Refactor CarVolumeDialogImpl to use CarAudioManager" into pi-dev
am: d9772708ef

Change-Id: I1cdc49a6c8fe22f8b742c555d84847c1bd3b3dbc

6 years agoMerge "Move SettingsLib tests and EasterEgg to aapt2."
android-build-prod (mdb) [Mon, 7 May 2018 21:22:49 +0000 (14:22 -0700)]
Merge "Move SettingsLib tests and EasterEgg to aapt2."
am: 846fbd0806

Change-Id: I4d616697988a569b53d0dec1e4b674e455ae1307

6 years agoMerge "Refactor CarVolumeDialogImpl to use CarAudioManager" into pi-dev
Lin Guo [Mon, 7 May 2018 21:12:19 +0000 (21:12 +0000)]
Merge "Refactor CarVolumeDialogImpl to use CarAudioManager" into pi-dev