Guang Zhu
4f3a2d47a1
am 8bc9238f: am 9e4a4606: am fe74fb95: extend svc command to control NFC state
...
* commit '8bc9238f1438c1c9359b3c8959399c0168dbfc74':
extend svc command to control NFC state
2015-09-15 21:38:05 +00:00
Guang Zhu
fe74fb95b9
extend svc command to control NFC state
...
Change-Id: I599e4000fa17384089410e63b3150f25aa9458f7
2015-09-15 13:43:22 -07:00
Filip Gruszczynski
a59ac9cd64
Preserve window during resize triggered relaunches.
...
This changes application code behavior when the activity relaunches due
to configuration change. It only applies to scenarios, where the
configuration change was triggered by a user generated resize of an
activity (i.e. user drags a corner of an activity and thus changes its
size).
Preserving a window means that we will keep the decor view and non
client decor view around, but remove all children views when the
activity gets destroyed. When the activity gets created again, it will
attach its new content to the preserved view hierarchy. Mind, we
actually recreate application side Window object, since some of its
features might changed, but we retain its elevation (to not trigger
relayout with new layout params).
Preserving the window also means that we don't call the window manager
service to remove and later add the window. Instead, we continue using a
single window state throughout the resize operation.
Change-Id: Ie3d2878ed09c99ff343044bfe7a29a0ba07a265e
2015-09-14 15:59:32 -07:00
Makoto Onuki
58b684f1cd
[split system] Tentatively support running DO on meat user
...
- setDeviceOwner() now takes a user ID. (We can infer it from Binder, but
we still need it for the dpm command.)
- Change broadcast target UID for DO to the DO user
- Start the DO user on boot complete.
TODO Investigate whether this is actually the good timing.
TODO Prevent the DO user from being killed
Bug 23827706
Change-Id: I227dbd444f1f4e94d98c317489d151554fe79d91
2015-09-08 11:24:58 -07:00
Xiaohui Chen
cc791bc47c
More cleanup USER_OWNER
...
Bug: 19913735
Change-Id: I7fe1bb2a66231b7d1ae0670dff5e2ec736b2e541
2015-08-27 18:05:21 +00:00
Chris Tate
dcaf0eccb2
am 748dd873: am 8d662a07: am e49dcfed: am 9b7a4ac5: am e62421f1: Merge "Teach Pm about the "always ask" link-handling state" into mnc-dev
...
* commit '748dd8736fa15f426a5accb265141a6046aa2636':
Teach Pm about the "always ask" link-handling state
2015-08-26 00:47:50 +00:00
Chris Tate
748dd8736f
am 8d662a07: am e49dcfed: am 9b7a4ac5: am e62421f1: Merge "Teach Pm about the "always ask" link-handling state" into mnc-dev
...
* commit '8d662a074296923d417f833e9c12b2b0bd50cfa3':
Teach Pm about the "always ask" link-handling state
2015-08-26 00:40:19 +00:00
Chris Tate
9b7a4ac584
am e62421f1: Merge "Teach Pm about the "always ask" link-handling state" into mnc-dev
...
* commit 'e62421f1fbc1ea44e7737989e134fdf9fc1ec4cc':
Teach Pm about the "always ask" link-handling state
2015-08-26 00:20:50 +00:00
Chris Tate
555f91db7c
am e62421f1: Merge "Teach Pm about the "always ask" link-handling state" into mnc-dev
...
* commit 'e62421f1fbc1ea44e7737989e134fdf9fc1ec4cc':
Teach Pm about the "always ask" link-handling state
2015-08-26 00:20:03 +00:00
Christopher Tate
47dd08d7fb
Teach Pm about the "always ask" link-handling state
...
Bug 23511867
Change-Id: I74b3c8222a7d22541a96b698edd1a175d378e48f
2015-08-25 12:39:04 -07:00
Xiaohui Chen
2a5c3e59c8
pm: translate incoming user id for installation
...
Currently the pm install commands will not take virtual user id like
-2. Adding this feature will make it easier to install packages in a
multi-user environment.
Bug: 19913735
Change-Id: I68b13cf8f2290158f0f4ec5c0966853719c2e80f
2015-08-24 11:00:14 -07:00
Xiaohui Chen
bd0e03bb76
More USER_OWNER cleanup.
...
Bug: 19913735
Change-Id: I408a92d9dbab2a096407efccb91e2a8bdc22714d
2015-08-24 16:42:37 +00:00
Tom Cherry
bbb74906be
am fe0fcf5c: am b9ac485a: am 49948146: Merge "bundle init.rc contents with its service"
...
* commit 'fe0fcf5cad75c6ba717a3d0a4ddb7c6bc656135d':
bundle init.rc contents with its service
2015-08-21 18:32:07 +00:00
Tom Cherry
fe0fcf5cad
am b9ac485a: am 49948146: Merge "bundle init.rc contents with its service"
...
* commit 'b9ac485a8e49a4db080bab8ea684a9b262215563':
bundle init.rc contents with its service
2015-08-21 18:24:35 +00:00
Tom Cherry
9f5e9ec76a
am b9ac485a: am 49948146: Merge "bundle init.rc contents with its service"
...
* commit 'b9ac485a8e49a4db080bab8ea684a9b262215563':
bundle init.rc contents with its service
2015-08-21 18:20:32 +00:00
Tom Cherry
c2de7a7e87
bundle init.rc contents with its service
...
Bug: 23186545
Change-Id: I080e73d6a124873c2ddd0fba85315d7082faf3f5
2015-08-19 17:24:47 -07:00
Jorim Jaggi
2af1b3caaa
am fc010d00: am 1d9a8c58: am 2591d6ff: am 358fcc79: Do not start with a black frame in bootanimation
...
* commit 'fc010d00f3d98e0fa35e9dc32f8c07354b12cbb7':
Do not start with a black frame in bootanimation
2015-08-19 02:21:52 +00:00
Jorim Jaggi
fc010d00f3
am 1d9a8c58: am 2591d6ff: am 358fcc79: Do not start with a black frame in bootanimation
...
* commit '1d9a8c58d8a68027eec950875700550600e3e46b':
Do not start with a black frame in bootanimation
2015-08-19 01:43:06 +00:00
Wale Ogunwale
a6281745b4
Merge "Added am command for test docked stack resizing."
2015-08-18 21:38:00 +00:00
Jorim Jaggi
358fcc795e
Do not start with a black frame in bootanimation
...
Bug: 23128307
Change-Id: I0ec044f983c1c30960be046e43a882c63205dc5f
2015-08-18 20:26:47 +00:00
Wale Ogunwale
fc4662c185
Added am command for test docked stack resizing.
...
Change-Id: I79f88d4dea4ed87336f9859b9d655cbf5466dbe0
2015-08-18 11:31:21 -07:00
Sebastien Hertz
5fa6c7424a
am 60a2716f: am 3244dc22: am 677cd087: am e9de1b4c: am 9a010d0a: Merge "Allow debugging only for apps forked from zygote" into mnc-dev
...
* commit '60a2716f720e843a7de6e7209c2021d95538711e':
Allow debugging only for apps forked from zygote
2015-08-18 09:59:11 +00:00
Sebastien Hertz
60a2716f72
am 3244dc22: am 677cd087: am e9de1b4c: am 9a010d0a: Merge "Allow debugging only for apps forked from zygote" into mnc-dev
...
* commit '3244dc229af4d4c8b764bf9ca1e108b5cd933d90':
Allow debugging only for apps forked from zygote
2015-08-18 09:52:46 +00:00
Sebastien Hertz
e95386852e
am 9a010d0a: Merge "Allow debugging only for apps forked from zygote" into mnc-dev
...
* commit '9a010d0a4157f97870bc38bd3dd0a8f4fd18a172':
Allow debugging only for apps forked from zygote
2015-08-18 07:50:27 +00:00
Sebastien Hertz
9a010d0a41
Merge "Allow debugging only for apps forked from zygote" into mnc-dev
2015-08-18 07:41:50 +00:00
Wale Ogunwale
fc0ac9bdcb
Added am commands for testing task positioning/resizing
...
Change-Id: Id506ea740029fd6faee4fc311a97c034c883a3fc
2015-08-14 15:47:53 -07:00
Chris Tate
848dd4bfc9
am 14e12258: am 13845aea: am b2d4c550: am b47890c4: am 7e7d79ef: Merge "Make "Ask every time" actually work that way" into mnc-dev
...
* commit '14e122582c45e236bf2e4c59d10438816f2eed09':
Make "Ask every time" actually work that way
2015-08-14 17:44:39 +00:00
Chris Tate
14e122582c
am 13845aea: am b2d4c550: am b47890c4: am 7e7d79ef: Merge "Make "Ask every time" actually work that way" into mnc-dev
...
* commit '13845aeae3fc3044f3fc279ca421df6d4f78ee35':
Make "Ask every time" actually work that way
2015-08-14 17:35:28 +00:00
Chris Tate
d7a164bf3f
am 7e7d79ef: Merge "Make "Ask every time" actually work that way" into mnc-dev
...
* commit '7e7d79ef2f4aa6a8da86af459d419bd24c47b440':
Make "Ask every time" actually work that way
2015-08-14 17:15:18 +00:00
Christopher Tate
56f0ff3c48
Make "Ask every time" actually work that way
...
..in link-opening behavior. If a candidate is marked as "ask
every time," then the user is guaranteed to get a disambiguation
prompt including that candidate even when some other candidate
app is in the "always prefer this over a browser" state.
Bug 23147746
Change-Id: I904d8697a992b3f16f32b1c1b49c2bf9424c7137
2015-08-13 18:56:05 -07:00
Sebastien Hertz
7a09b8322c
Allow debugging only for apps forked from zygote
...
When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.
Bug: 23050463
Change-Id: If8ea719063a65db4cdeed69a838b52e87b078b08
2015-08-10 20:39:13 +02:00
Xiaohui Chen
b52c7330d9
Clean up USER_OWNER reference in cmds.
...
Again, the easy ones.
Bug: 19913735
Change-Id: Ib9519cb8309b332258b20dee54a38007eaba3b1d
2015-08-06 14:05:35 -07:00
Xiaohui Chen
2ccf49e7f4
Clean up USER_OWNER references in am/pm commands.
...
Bug: 19913735
Change-Id: I9cd27dc037048f4e5e312c769fc59669a4abf3e3
2015-08-04 15:28:29 -07:00
Yusuke Sato
22350a8c2c
am 82e78074: am b98e2353: am 158560ad: Merge "Distinguish user-requested shutdown from power-related ones"
...
* commit '82e780743046e620b724c28023b580e0e624bb15':
Distinguish user-requested shutdown from power-related ones
2015-08-03 18:14:37 +00:00
Yusuke Sato
82e7807430
am b98e2353: am 158560ad: Merge "Distinguish user-requested shutdown from power-related ones"
...
* commit 'b98e235364c2b221521f622c546733b2862e4677':
Distinguish user-requested shutdown from power-related ones
2015-08-03 17:56:37 +00:00
Wale Ogunwale
ddc1cb2c15
Added support for static vs. dynamic stacks
...
Now that stacks represent workspaces we can define static
stacks which help shape the characteristics of the tasks
they contain. For example, fullscreen tasks/activities will
normally be launched in the stack with id
FULLSCREEN_WORKSPACE_STACK_ID, while freeform tasks/activities
will normally be launched in the stack with id
FREEFORM_WORKSPACE_STACK_ID.
Also, added ability to position a task at any index in a stack.
Bug: 22068114
Change-Id: Ib6c62a84b5f204fbf072755264c5c5eda6184f97
2015-08-01 10:50:18 -07:00
Yusuke Sato
c2369c5301
am b98e2353: am 158560ad: Merge "Distinguish user-requested shutdown from power-related ones"
...
* commit 'b98e235364c2b221521f622c546733b2862e4677':
Distinguish user-requested shutdown from power-related ones
2015-07-31 23:34:06 +00:00
Yusuke Sato
705ffd1efe
Distinguish user-requested shutdown from power-related ones
...
With this patch, when the user requested shutdown,
PowerManagerService sets sys.powerctl is set to
"shutdown,userrequested", and init runs fsck on shutdown.
When shutdown is triggered due to a low power state etc.,
the service sets the property to "shutdown,", and init
immediately shuts down the system without running the
command.
This is a follow-up CL for http://r.android.com/158525 .
Bug: 21853106
Change-Id: Iae72990130fe9aa479c802f77301438190dbbfb3
2015-07-30 23:47:13 -07:00
Roshan Pius
d1501fd046
am 231efff5: am bc25174b: am 51a193a3: am 5d573ed8: am 944b6362: Merge "Add a command to register SIM Phone account." into mnc-dev
...
* commit '231efff579bac18bc8073558f97add44a2215842':
Add a command to register SIM Phone account.
2015-07-29 22:04:07 +00:00
Roshan Pius
231efff579
am bc25174b: am 51a193a3: am 5d573ed8: am 944b6362: Merge "Add a command to register SIM Phone account." into mnc-dev
...
* commit 'bc25174bd1ce3191ff05e29298e60d79a1a53518':
Add a command to register SIM Phone account.
2015-07-29 20:04:36 +00:00
Roshan Pius
d26bc1c0b4
am 944b6362: Merge "Add a command to register SIM Phone account." into mnc-dev
...
* commit '944b63624b40c96f4a31af750e1678c0b9c88ad1':
Add a command to register SIM Phone account.
2015-07-29 19:16:16 +00:00
Roshan Pius
d3586e174f
Add a command to register SIM Phone account.
...
Phone accounts with SIM_SUBSCRIPTION capabiltiy needs system permission.
Hence adding a command to add sunc phone accounts for CTS testing of
remote connections.
BUG: 20303674
Change-Id: Ieb7349f906ec8209776ffbe39ed3633f01ba1e7c
2015-07-28 15:49:42 -07:00
John Reck
66a3675013
am 0e5a5161: am d79117c4: am 9ba771bb: am c2db381e: am 6b66a4a8: use findProcess instead of getProcess
...
* commit '0e5a5161e6999a58a86acd404ee1a229e180647d':
use findProcess instead of getProcess
2015-07-24 05:16:55 +00:00
Tim Kilbourn
f9327433a5
am 4d2c2583: am a714a4a7: am 2f778da1: am 46638832: am a2bf7616: Merge "Add a wm command to dismiss the keyguard." into mnc-dev
...
* commit '4d2c2583df96a85ab409b223686d9b77c64eb2a8':
Add a wm command to dismiss the keyguard.
2015-07-24 05:15:44 +00:00
Jeff Sharkey
5b98249e67
am 5080e90a: am aebcf3b7: am 23fdb635: am e87dc6db: am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
...
* commit '5080e90a62445f3ddf2dcff4adabe2d251d25932':
More info to support CTS, fix reconcile bug.
2015-07-24 05:10:15 +00:00
John Reck
0e5a5161e6
am d79117c4: am 9ba771bb: am c2db381e: am 6b66a4a8: use findProcess instead of getProcess
...
* commit 'd79117c405fab2c7a64d7307a941df05a713814d':
use findProcess instead of getProcess
2015-07-24 04:07:12 +00:00
Tim Kilbourn
4d2c2583df
am a714a4a7: am 2f778da1: am 46638832: am a2bf7616: Merge "Add a wm command to dismiss the keyguard." into mnc-dev
...
* commit 'a714a4a77020303c5ab9464781464bd050110525':
Add a wm command to dismiss the keyguard.
2015-07-24 04:06:09 +00:00
Jeff Sharkey
5080e90a62
am aebcf3b7: am 23fdb635: am e87dc6db: am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
...
* commit 'aebcf3b7efadca1fb5eedbf2cf9f0895d93ba8e8':
More info to support CTS, fix reconcile bug.
2015-07-24 04:01:46 +00:00
John Reck
549dfccc35
am 6b66a4a8: use findProcess instead of getProcess
...
* commit '6b66a4a8a342b8156f73d83771caa1db2f866529':
use findProcess instead of getProcess
2015-07-24 01:02:41 +00:00
John Reck
6b66a4a8a3
use findProcess instead of getProcess
...
Bug: 22701182
Change-Id: I2ec56c55c49401f2f213bbd318e867fd73b37672
2015-07-24 00:37:23 +00:00