Commit Graph

67291 Commits

Author SHA1 Message Date
Chong Zhang
818b7218c5 DO NOT MERGE -- Only use saved surface if started by launcher or moved to front am: 813be138ae am: 9f92bc2602
am: 8673e303a7

Change-Id: I34d205de8f368df05e068548a69448da397d2e41
2016-08-26 23:40:04 +00:00
Chong Zhang
8673e303a7 DO NOT MERGE -- Only use saved surface if started by launcher or moved to front am: 813be138ae
am: 9f92bc2602

Change-Id: I94e29886a23fc829b4608a908df90746a4d794e5
2016-08-26 23:33:27 +00:00
Chong Zhang
9f92bc2602 DO NOT MERGE -- Only use saved surface if started by launcher or moved to front
am: 813be138ae

Change-Id: Id64071882a0b90212b92234a4d0bdc67f2ee5e1a
2016-08-26 23:28:17 +00:00
Todd Kennedy
66db34fbe2 Enable web action apps based on system setting am: efc1c4d501
am: 742f4de6cf

Change-Id: I86aef56f2cf9caf8a7e5b54e78a3ec7de855c796
2016-08-26 22:52:55 +00:00
Todd Kennedy
742f4de6cf Enable web action apps based on system setting
am: efc1c4d501

Change-Id: I2c8c12aebddecb920d1924c4a04f96acdcd3cc02
2016-08-26 22:46:44 +00:00
Chong Zhang
813be138ae DO NOT MERGE -- Only use saved surface if started by launcher or moved to front
Restrict saved surface to launcher start (ACTION_MAIN&CATEGORY_
LAUNCHER), or there is no intent at all (eg. task being brought to
front). If the intent is something else, likely the app is going
to show some specific page or view, instead of what's left last time.

This solves problems like the launcher shortcuts on DeckClock,
each of them is a different intent and will show one specific
view regardless of last states. Another example is Chrome tab
opened directly by action VIEW to open some URL.

(Note that this doesn't solve the problem with Chrome homescreen
shortcuts, it will still start with saved surface (if Chrome
is already open). This is because the shortcut is a trampoline
activity that starts the real chrome tab activity, but when
the trampoline is started, the whole task is already brought
to front, and ChromeTab could become visible with the task
before we actually start it.)

bug: 31055479
bug: 27747315

Change-Id: Id3e61c61ef516b0edc1f174320f02661222f226b
(cherry picked from commit ad24f96def)
2016-08-26 15:41:58 -07:00
Todd Kennedy
efc1c4d501 Enable web action apps based on system setting
Bug: 28140107
Change-Id: I4cff49165be6432404b9a616ca35bee249daab2a
2016-08-26 14:03:37 -07:00
Todd Kennedy
3b0859d6bb Implement new ephemeral resolver design am: fea1b776e9
am: 6485f6eddf

Change-Id: I2bca8e38da973a0a1e7d5d11b5d094dc0188cc40
2016-08-26 20:43:26 +00:00
Todd Kennedy
6485f6eddf Implement new ephemeral resolver design
am: fea1b776e9

Change-Id: Ied8a583de6247a5d826805dfbb5e8edbecdcdb27
2016-08-26 20:32:45 +00:00
TreeHugger Robot
80855e154e Merge "Implement new ephemeral resolver design" into nyc-mr1-dev 2016-08-26 20:28:04 +00:00
Greg Kaiser
7fd9e40381 ContextHubManager: Document InstanceInfo bug am: 3be73d3950
am: 6f155aa4bf

Change-Id: If551002c7b93c9176b46e7ba10f9c0691291d69f
2016-08-26 18:33:11 +00:00
Greg Kaiser
6f155aa4bf ContextHubManager: Document InstanceInfo bug
am: 3be73d3950

Change-Id: I8a1418086d7e9c4f60205234394dd1cc8d1215df
2016-08-26 18:27:50 +00:00
Brian Duddie
73f511e471 Merge "ContextHubManager: Document InstanceInfo bug" into nyc-mr1-dev 2016-08-26 18:20:19 +00:00
Paul Stewart
163a135246 Document correct context for obtaining WifiManager am: 0e164b199e
am: b09557b3cf

Change-Id: I792d164a20e2e98fc58b54bab4f1f43e1eb2fe59
2016-08-26 18:01:53 +00:00
Paul Stewart
b09557b3cf Document correct context for obtaining WifiManager
am: 0e164b199e

Change-Id: I22ca3647430252345bb7b14e5da693fb9c616789
2016-08-26 17:56:03 +00:00
Paul Stewart
0e164b199e Document correct context for obtaining WifiManager
Added comments to both WifiManager WIFI_SERVICE.

Bug: 25015174
Change-Id: Ibd1e21d860ef2b7cc432b3da76671d22c02ef7cb
2016-08-26 09:27:04 -07:00
Jason Monk
d70ed997cd Backup system QS tiles am: baade7573f am: 9813cb61dd
am: 8ed8f1e6a1

Change-Id: I74b572422c0e3b3b90c85df036c8593e49db58f7
2016-08-26 13:34:51 +00:00
Jason Monk
8ed8f1e6a1 Backup system QS tiles am: baade7573f
am: 9813cb61dd

Change-Id: Ia0ba996f6b0a889ba7469a2272a6fe0c235b15d5
2016-08-26 13:29:46 +00:00
Jason Monk
9813cb61dd Backup system QS tiles
am: baade7573f

Change-Id: Ie601a706cbdcfdb1e836117d02fec914b4acbab1
2016-08-26 13:24:14 +00:00
Jason Monk
baade7573f Backup system QS tiles
Add QS tiles to the backup list.  Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938
2016-08-26 13:15:49 +00:00
Greg Kaiser
d20ed26dff NanoAppFilter: Workaround HubId issues am: 3907049080
am: 41ef2a038d

Change-Id: I176e4a4698052d61fd5e9b29a2670a65dfb3643a
2016-08-26 03:53:38 +00:00
Greg Kaiser
fce14d1808 ContextHubManager: Fix API documentation. am: fac5be2ace
am: 921e7ef350

Change-Id: Ib9e190657238ac5663ba96e87b27615e4ea085a6
2016-08-26 03:53:20 +00:00
Greg Kaiser
8c94f54e0f ContextHubService: Don't double report app loads am: fe6d4f518a
am: ca627a8cc3

Change-Id: Ief0783ce04972f00e7ed3637bf3bf54b78e5c55e
2016-08-26 03:46:56 +00:00
Greg Kaiser
41ef2a038d NanoAppFilter: Workaround HubId issues
am: 3907049080

Change-Id: I0b9b272e05bc2ff4ecbc74b5570eda066dedede1
2016-08-26 03:44:47 +00:00
Greg Kaiser
921e7ef350 ContextHubManager: Fix API documentation.
am: fac5be2ace

Change-Id: I220af0f42791d1210acf9e88da670994f3c6ae45
2016-08-26 03:37:12 +00:00
Greg Kaiser
ca627a8cc3 ContextHubService: Don't double report app loads
am: fe6d4f518a

Change-Id: I00d7537e70ea97c57d4a8e05a05000418c64339e
2016-08-26 03:36:37 +00:00
Greg Kaiser
f8d61675ac Merge "NanoAppFilter: Workaround HubId issues" into nyc-mr1-dev 2016-08-26 03:34:39 +00:00
Greg Kaiser
1e07e392c3 Merge "ContextHubManager: Fix API documentation." into nyc-mr1-dev 2016-08-26 03:30:19 +00:00
Greg Kaiser
6ef2cee605 Merge changes I896af608,I2e2a65bc,I8d9ae8b9,Ibb07666a into nyc-mr1-dev
* changes:
  ContextHubService: Fix app query
  ContextHubService: Don't double report app loads
  ContextHubService: Make app handle size match Java
  ContextHubService: Update caches on nanoapp unload
2016-08-26 03:29:21 +00:00
Mark Lu
f9537d2a05 docs: Fix typo and broken link in AsyncTask.java am: 53415ff24e
am: fc68813e5c

Change-Id: I1be966d00de19afcef968093e0583e6da1eaff98
2016-08-26 01:15:54 +00:00
Mark Lu
2721e7db4a docs: fix link in Loader reference page am: 9f52b7a4a8
am: c6612637bb

Change-Id: I0472093b0019a421319c2acf29a4e36b87e75cd6
2016-08-26 01:15:49 +00:00
Mark Lu
b48098f836 docs: Fix typo and broken link in AsyncTask.java am: 53415ff24e am: bae52ec98c
am: 86caa4aebf

Change-Id: Ib44ae881aefaac87625dc86c14f6144f0f7d2fbc
2016-08-26 01:12:09 +00:00
Mark Lu
bfe0c86461 docs: fix link in Loader reference page am: 9f52b7a4a8 am: f496b9a981
am: e16c82d224

Change-Id: I5d3c04608f9a3cbf216d3a6c9ef2ac7bad1ebec8
2016-08-26 01:11:55 +00:00
Mark Lu
86caa4aebf docs: Fix typo and broken link in AsyncTask.java am: 53415ff24e
am: bae52ec98c

Change-Id: Idb695142488874d52dd406bede0fb4848f7663a9
2016-08-26 01:03:59 +00:00
Mark Lu
e16c82d224 docs: fix link in Loader reference page am: 9f52b7a4a8
am: f496b9a981

Change-Id: I7a7ee695fadb2e0774ef84724a4320fc73b45a88
2016-08-26 01:03:56 +00:00
Mark Lu
fc68813e5c docs: Fix typo and broken link in AsyncTask.java
am: 53415ff24e

Change-Id: Ib4fadd74bcf640bd28cb19e757e2cc7b605a69dd
2016-08-26 01:03:17 +00:00
Mark Lu
c6612637bb docs: fix link in Loader reference page
am: 9f52b7a4a8

Change-Id: I98f4ca957005ffc795e41be321b6b4995c6242f0
2016-08-26 01:02:36 +00:00
Mark Lu
bae52ec98c docs: Fix typo and broken link in AsyncTask.java
am: 53415ff24e

Change-Id: I1fd10e79a2af2db5bc175dcc4126d3f88c35f4b1
2016-08-26 00:53:59 +00:00
Mark Lu
f496b9a981 docs: fix link in Loader reference page
am: 9f52b7a4a8

Change-Id: I32164f55f9b42dc50f13756c942644350a7d643e
2016-08-26 00:53:53 +00:00
Mark Lu
b49a7f8602 docs: fix broken links in Activity reference am: fa43485910 am: 497c2907fd am: eab610d0a6
am: b03a1b8b25

Change-Id: Iadf3e62a1e8b93ead2e341644a7b0f6f0ee0e17d
2016-08-26 00:50:13 +00:00
Hemal Patel
ac0b242755 resolve merge conflicts of a544221 to nyc-dev-plus-aosp
am: 309813c8af

Change-Id: Ia316e53bf0fd163da67676acfd52d3e31d9e2149
2016-08-26 00:42:38 +00:00
Dianne Hackborn
ccc9f7a59e Try to mitigate issue #31016187: system_server crash in ArraySet.
am: dd28b7b5f3

Change-Id: Id493898997e0745ac2f3c65c0dfb3e4ab5ea03ae
2016-08-26 00:42:22 +00:00
Mark Lu
c4e81b64f1 docs: fix broken links in Activity reference
am: fa43485910

Change-Id: I67134251790b12d53d31c6854073884f498ef1e5
2016-08-26 00:42:01 +00:00
Hemal Patel
309813c8af resolve merge conflicts of a544221 to nyc-dev-plus-aosp
Change-Id: Ie7a3a85fdd2e59eea4f74760010190ce9f5f9b02
2016-08-25 17:30:34 -07:00
Mark Lu
b03a1b8b25 docs: fix broken links in Activity reference am: fa43485910 am: 497c2907fd
am: eab610d0a6

Change-Id: Idfc3c5edf2afd5f5b7c60b43a719dad943bcc61c
2016-08-25 22:34:20 +00:00
Hemal Patel
ac438b21ba Docs: Fixed the Bluetooth guide link am: 65813dff14 am: a544221abd am: d6a64d788b
am: 42708fa473

Change-Id: I90c2d41cda51f1e95d84cbfce641085fed533b79
2016-08-25 22:31:14 +00:00
Mark Lu
eab610d0a6 docs: fix broken links in Activity reference am: fa43485910
am: 497c2907fd

Change-Id: I35f07a633757dc83970accbe78b3173090e71099
2016-08-25 22:14:14 +00:00
Hemal Patel
42708fa473 Docs: Fixed the Bluetooth guide link am: 65813dff14 am: a544221abd
am: d6a64d788b

Change-Id: I52619fde80addd87e0ef18b48bc93184ddf347f1
2016-08-25 22:10:49 +00:00
Dianne Hackborn
05775d71e6 Try to mitigate issue #31016187: system_server crash in ArraySet.
am: dd28b7b5f3

Change-Id: I5526e96aa56d3a845f4989f08d30fd07d7a1d70b
2016-08-25 21:55:01 +00:00
Mark Lu
497c2907fd docs: fix broken links in Activity reference
am: fa43485910

Change-Id: I72cebe96e1ea0c1950ca316bc80c337bfdde9002
2016-08-25 21:54:49 +00:00