am: ad2b44c8c7
* commit 'ad2b44c8c7907a971e7437c5ccd0f823caec53fd':
Move the 'pretend idle jobs can run now' broadcast into AMS
Change-Id: I50b6ca257b7995d6a50fe938f8d4c788f739001a
am: 0588954071
* commit '058895407140de0e513b82150c3acb6131e971a2':
Move the 'pretend idle jobs can run now' broadcast into AMS
Change-Id: Id8bd50f0a5f6d46cf60dea690803081515cb21c3
am: 94d93dd38f
* commit '94d93dd38fbab0ff8f9a9ce397a522cf2fcd6429':
Dismiss docked stack if an activity is shown on top of the lock screen
Change-Id: Iaaf1dc4cd6f4008bf4bc571bb70365d431ea30ed
am: 5d6a218d9e
* commit '5d6a218d9e0d21367f6365d4de51532ca7e14dc9':
Dismiss docked stack if an activity is shown on top of the lock screen
Change-Id: I4bf1ef48aef928e12d7dbb9faa6c4e0d489acadb
It's a protected broadcast, so sending it directly from 'am' is
no longer an option. This is needed for CTS as well as being
generally useful during app development.
Bug 28406044
Change-Id: I101915a8c6f19454330a8db2079a75023c112582
It is risky/complicated to try to put the activity showing on-top of
the lock screen in the right fullscreen configuration with the current
architecture. So, we just dismiss for now.
Bug: 28195260
Change-Id: I29a0350993ce8fe548d4a465b06d877cde151c78
The code assumed mapping from a permission to an app op
is one to one but this is not always the case. For example,
READ_SMS is mapped to OP_READ_SMS and OP_READ_ICC_SMS which
resulted mapping the READ_SMS permission to the OP_READ_ICC_SMS
instead of OP_READ_SMS resulting in a failure to find the op
name given the permission.
This breaks the AppOpsManager.permissionToOp() API for READ_SMS
returning null instead of OPST_READ_SMS. The consequence of this
is that the apps that proxy permission protected operations may
let the operations for READ_SMS go through as they would get a
null app op, i.e. no app op while there is one and it can be
disabled for the caller.
bug:28620132
Change-Id: I92f8ef375ae2122b7266c50653ce73f3d90f4b28
When relaunching an Activity, the DecorView and ViewRootImpl is re-used,
along with the IBinder activity token. This means that when we create
new resources, we end up just updating the base Activity resources.
However, we would set the configuration to the new requested override
config and then proceed to update existing Resources references, which
would return immediately due to the equality check for configuration
updates.
This change pushes the setting of the new override config to the
updateResourcesForActivity method, which will properly update Resources
references that are held in the re-used DecorView.
Bug:27915587
Change-Id: I113007a40fa464b8a234b073dcf851e16fee0177
am: fb74b50b19
* commit 'fb74b50b1997123332f8d29bb4ec4487c9bcaab8':
Correct docs about what is ignored in full-data backup
Change-Id: I5ce7df7cf12f60948739525b36ef8047a669fd70
am: 3f0db943c5
* commit '3f0db943c589738fc09e7bb45c10a319b41955fa':
Correct docs about what is ignored in full-data backup
Change-Id: I00bb2ffdb52af988d9b7c231864b629fb2e27dbd
am: c5be8f8a4b
* commit 'c5be8f8a4b9946f26f43201a06e7ec3f9b34857e':
Correct docs about what is ignored in full-data backup
Change-Id: Id1618de0e4027135a320cd133c244ba33d2960aa
You can't back up content in e.g. getNoBackupFilesDir() even if your
app explicitly tries to.
Bug 28321431
Change-Id: Ifa2a4bc518de03aba4c8809e60d8bb90fce767f8
am: 45c6eb2164
* commit '45c6eb21648f9977057471d1f41beb275512a449':
Prepare to replace windows across recreate().
Change-Id: I08c6f599d36fabb4f52ba23e9794c28203cc65b5
am: ea162c3c79
* commit 'ea162c3c7992b01d8d56766a94e56a0cee3fe3b2':
Prepare to replace windows across recreate().
Change-Id: I3f78aa81d76e0a71f616037c531e7755760b41cf
am: c2bef7c6e2
* commit 'c2bef7c6e2eade011a73db1abd4acf2ab8b3aca7':
Make sure to pause activity before stopping
Change-Id: I4ae725d3d331cf834da1456d6aebcc702e4ad8d6
am: 75179ada54
* commit '75179ada546393cb8929ca9703d39e1151d95ed9':
Make sure to pause activity before stopping
Change-Id: I5020b92b2edbe0ff749d019fbeb81abf2ae49fe9
am: 5f81a3f84c
* commit '5f81a3f84c97999f9eb19291c7b4f67ad8576c7c':
Make sure to pause activity before stopping
Change-Id: I24e550abc72f78904d04d1c0bd2c3a004328555f
When the activity locally recreates itself, nothing
on the server side is able to prepare preserving windows,
or replacing windows. The activity was trying to defer
removing the old window, but it was just waiting
until the new one was created, not until it was drawn,
thus resulting in a flicker. It's easy to backpack on the
existing replacement infrastructure.
Bug: 28221875
Change-Id: I55fc4ca78e9e11809473fedd8b30b6a6350cf852
In some cases it is possible for activity manager to request
a resumed activity to stop when it's visibility changes. This
is a valid transition, however we need to make sure to pause
the activity on the client side before stopping it so lifecycle
transition works as expected.
Bug: 28574036
Change-Id: I759b38bbd1c9c3bb0475759bcb638d8223fa504d
When voice interactor goes null or changes, cancel all existing
active requests and clear them so that they can be re-submitted.
Bug: 28487567
Change-Id: Ibcf024efcc81ff18ef3babfa9a169292207bc816
am: d66b0b16fa
* commit 'd66b0b16fa89da38a697953308517cf0560ba04b':
Allow apps to load libraries from under /data
Change-Id: I577ab4f344c5f20e427eb644bfe0c7de224c54e3
am: a31657911c
* commit 'a31657911c96fb735bf4a34610638c9f95e5c99d':
Allow apps to load libraries from under /data
Change-Id: I2bfbd50d911857825f9b8060a3ebdb335ff7cfad