This is so we can record more specific times in PackageUsage.
If file with only one timestamp per package is found, the value is
copied to all usage slots.
Bug: 27902702
Change-Id: I8affe43c735e54620a9204433aad367cfddfded7
am: c93f4b6707
* commit 'c93f4b67076b683c463ab949d6087b41303bc06c':
Fixed a bug where notification header could become empty
Change-Id: Ifb5e38f663973c62211249edcccdd0d72c754f1c
am: 57e4a67be1
* commit '57e4a67be13eede636608f789d1b88d0889683ec':
Fixed a bug where notification header could become empty
Change-Id: I5c22f22e67ed60ae441adccf852fc3850c400ad5
am: 5e2a3e5872
* commit '5e2a3e5872e8439ad836b5b281e6393ecefb50f4':
Changed the name of chronometer countdown
Change-Id: Ibce68e45c56e90ee66b7a7d2fbfc0350178885fa
am: ba26bf8a47
* commit 'ba26bf8a471275520c8a6d97dccd19e6e6993388':
Changed the name of chronometer countdown
Change-Id: I8c4970cfd2f0f2c8c56647737e1993de65dc1ec7
am: 8f32cd4306
* commit '8f32cd4306a201c2167c20fc636fe613f1fabd4c':
Changed the name of chronometer countdown
Change-Id: I2e7040b43c2f46dfc8159d98862e865343df221d
am: 1fb59e587f
* commit '1fb59e587f95e0235ec7c0827a1d2e163bc8bd44':
Don't worry about an extra weak indirection with callback alarms
Change-Id: I0e0d4b03f2a15b12e9bcfc6906e949137e3a380c
am: 0a7ec886c3
* commit '0a7ec886c35107c1f8d2d1ff3977ac5dd91fddd1':
Don't worry about an extra weak indirection with callback alarms
Change-Id: Ifd44a119263b68ff6b67679931c579dcef622d0e
Also fixed a few more issues with the header util that could
lead to wrong states.
Change-Id: I95c3479f5d9e5221ee9e91120271e7957b887607
Fixes: 28295743
Some apps out there do some creative things in terms of calling their
own onDetach methods from elsewhere. Perform the child FragmentManager
shutdown for retained fragments in a package-level perform method
instead of in onDetach itself.
Also mark all existing fragment methods with @CallSuper.
Bug 28293847
Change-Id: I343b610f8d427fe5cabd523a78fbf0e6f3b34c57
PendingIntent.FLAG_ONE_SHOT is needed to prevent the PendingIntent being
reused.
Also, flag and activity option of credential intent in BaseStatusBar
is not same as the one in ActivityStarter. Added a new
function startConfirmDeviceCredentialIntent in AM to centralize it.
Change-Id: I2d9e5923ad5d4d012f10057c409c666c8ca299a3
Fix: 28309964
am: cdfe208a99
* commit 'cdfe208a99906b4157305ea0c4af06d2e303d830':
Don't back up wallpapers that we've been told not to
Change-Id: I45e4c3c47e371c3808e5669e2c7af6d8405edb7a
Print interval clamp message
only for periodic jobs having
period/flex less than the minimum value.
Bug: 28296128
Change-Id: Id0d7c3b56048582a490bb8214eca491ec2bbdc93
am: 665189f
* commit '665189f92646d34bf02082120cba3c62aa718770':
Don't back up wallpapers that we've been told not to
Change-Id: I45d037436e349445f091a7dad5abad4b7421ad8e
In addition, now that the full uncropped wallpaper image is being
backed up, we now handle that via the full-data backup path instead
of key/value. Restore still knows about legacy data that gets
delivered via the older key/value mechanism.
This change also has the effect of removing the size limitations
around wallpaper restore acceptance. Any size source imagery is
valid, as crop & scale are rerun in a device-appropriate way
after the restore.
Bug 25453848
Bug 25727875
Change-Id: Idc64a2eaab97a8ecc9d2b8ca5dc011f29cab324d
am: e1b5670
* commit 'e1b56701fd219227adae615fe81f03d5db4ae433':
Remove links to createAndInitializeUser() and createUser()
Resolve merge conflicts of a5060ee to nyc-dev
Change-Id: I8cf43f9ad491c6f23eb5fe0051293267ab2d03bf
am: 254f1b8
* commit '254f1b8a43480749b7061129289d34bc15d345a5':
Remove links to createAndInitializeUser() and createUser()
Resolve merge conflicts of a5060ee to nyc-dev
Change-Id: I32a3081af9ca5533785c90b7239ffd5b5e69d5bf
am: 59c9a93
* commit '59c9a93fc268e226495d4ee8cf7c507c2ea2c433':
Remove links to createAndInitializeUser() and createUser()
Resolve merge conflicts of a5060ee to nyc-dev
Change-Id: Iddc9419069d8f5d555baf0c1ef4b2f2ebf75c370
Previously if we failed to load an asset path, we would return a
null AssetManager which would lead to an immediate NPE.
Throw a proper exception instead, detailing which path failed to load.
Bug:28216288
Change-Id: I491b9316b837bf333b5ae78d4eb1ee31741617ec
am: 512ab59
* commit '512ab599fc903da21b67c0c4d01ce9ffb8e6d68f':
Kill foreground apps when turning off work
Change-Id: I83e0e9792225416c6a0c9de4a8201dcb2e37666f
am: 49425d6
* commit '49425d612cee3864a316e9ecb6ec3faeae519b1e':
Kill foreground apps when turning off work
Change-Id: Ie8ea1ec98232437623c83f7d32c1f05c47580b35