Adam Lesinski
6ea208d059
Merge "Add ResourceId validation helper method" into oc-dev am: 24c18af14a
...
am: 01b95f9067
Change-Id: I7097af67601496f56741a5f5e43f953ba8134ce0
2017-05-26 19:01:00 +00:00
Adam Lesinski
01b95f9067
Merge "Add ResourceId validation helper method" into oc-dev
...
am: 24c18af14a
Change-Id: I18dc41c220d3cd91c8ce78d93de860064c5f2294
2017-05-26 18:55:15 +00:00
Adam Lesinski
24c18af14a
Merge "Add ResourceId validation helper method" into oc-dev
2017-05-26 18:45:28 +00:00
Felipe Leme
2b0181a16a
Merge "Removed deprecated setAutofill() method for virtual children." into oc-dev am: 25ae29dfd5
...
am: 7dca2f6c74
Change-Id: Id3c55fac5286f9c77d09698711ca9467a3c43bae
2017-05-26 15:21:21 +00:00
Felipe Leme
7dca2f6c74
Merge "Removed deprecated setAutofill() method for virtual children." into oc-dev
...
am: 25ae29dfd5
Change-Id: If14315daa807243828d0c386638fad38811d99e0
2017-05-26 15:15:50 +00:00
TreeHugger Robot
25ae29dfd5
Merge "Removed deprecated setAutofill() method for virtual children." into oc-dev
2017-05-26 15:08:20 +00:00
Julia Reynolds
17a136f69c
Merge "Allow some system notifications to be blocked." into oc-dev am: 3a2ac3e11b
...
am: a98bdea2c5
Change-Id: Iec706994f0c7af34ba38b01fffaccdf6ee1bbe84
2017-05-26 15:02:28 +00:00
Julia Reynolds
a98bdea2c5
Merge "Allow some system notifications to be blocked." into oc-dev
...
am: 3a2ac3e11b
Change-Id: I356dcf376002d95238509235389d260e179fea26
2017-05-26 14:53:53 +00:00
Julia Reynolds
3a2ac3e11b
Merge "Allow some system notifications to be blocked." into oc-dev
2017-05-26 14:39:30 +00:00
Tony Mak
4128499373
Merge "Remove the old version of setAffiliationIds" into oc-dev am: 8d902a9e28
...
am: 754f6e22b0
Change-Id: I95a4b13ed76b6ce38c50047c9c6c923bf2ef7778
2017-05-26 13:12:48 +00:00
Tony Mak
754f6e22b0
Merge "Remove the old version of setAffiliationIds" into oc-dev
...
am: 8d902a9e28
Change-Id: I219958d5f9d74845b0ec03f88903ea6b9ec345c6
2017-05-26 13:06:23 +00:00
TreeHugger Robot
8d902a9e28
Merge "Remove the old version of setAffiliationIds" into oc-dev
2017-05-26 13:00:40 +00:00
Julia Reynolds
f732159cf8
Allow some system notifications to be blocked.
...
- Happens at a channel level, and system services have to opt in
Bug: 38428796
Test: runtest systemui-notification, manual
Change-Id: I5592b4e32c177844583aee25379390199eef0a58
2017-05-25 20:42:59 +00:00
Felipe Leme
5f3dbb30fc
Removed deprecated setAutofill() method for virtual children.
...
Test: CtsAutoFillServiceTestCases pass
Bug: 37563972
Change-Id: Icbffb89d86ee65831b7c78effd2522ac7891e1be
2017-05-25 11:51:50 -07:00
TreeHugger Robot
6a06c98cb6
Merge "Fix warnings surfaced by error-prone."
2017-05-25 16:44:42 +00:00
Adam Lesinski
9553fb3240
Add ResourceId validation helper method
...
An invalid, 'null' resource ID is defined as 0. Apps often use -1.
Add a helper method that makes checking valid IDs easy and more
centralized.
Eventually make it public API.
Bug: 38393777
Test: manual
Change-Id: I969ec4a45e86bdab3d7f57d357d475b77c7f8a78
2017-05-24 15:39:23 -07:00
Sergey Vasilinets
54f1ac523c
Merge "Correctly save retained fragments in the backstack" into oc-dev am: ce8a4b89c8
...
am: 67cbbfe092
Change-Id: I8821126025eebc553d82c80018a8d2aefe57bf57
2017-05-24 21:27:39 +00:00
Sergey Vasilinets
67cbbfe092
Merge "Correctly save retained fragments in the backstack" into oc-dev
...
am: ce8a4b89c8
Change-Id: I755b0f38c907d1ae7bf12df67f4b10590a9016bf
2017-05-24 21:12:12 +00:00
Sergey Vasilinets
ce8a4b89c8
Merge "Correctly save retained fragments in the backstack" into oc-dev
2017-05-24 21:05:38 +00:00
George Mount
7cdd49abe9
Fix warnings surfaced by error-prone.
...
Bug 36033775
Error-prone discovered that mAdded is created after usage, but
can be accessed on any thread. This makes mAdded a final value
so that it cannot be created on one thread and accessed on another.
Test: ran cts fragment tests
Change-Id: I4e655a6cef9d924f392c021d9d2a9ae2d0dc0519
2017-05-24 20:14:18 +00:00
Amith Yamasani
b9cebc2597
Merge "Don't keep a reference to Service object" into oc-dev am: 6c6d37d416
...
am: 1684ae9ba5
Change-Id: I7fac5ab76fac59386185612516cefaa90932662b
2017-05-24 00:47:12 +00:00
Amith Yamasani
1684ae9ba5
Merge "Don't keep a reference to Service object" into oc-dev
...
am: 6c6d37d416
Change-Id: If9ba5155f62607fa744aa0892c50d26a9ab9f69b
2017-05-24 00:40:26 +00:00
TreeHugger Robot
6c6d37d416
Merge "Don't keep a reference to Service object" into oc-dev
2017-05-24 00:31:40 +00:00
Felipe Leme
b9a8486b51
Merge "Hide Autofill UI when non-savable id is gone." into oc-dev am: eee1dd26fa
...
am: 8f3455c59c
Change-Id: I71fb0e6f4e6befb0d94fcd2b3a04aeaac83c6654
2017-05-23 23:55:59 +00:00
Felipe Leme
8f3455c59c
Merge "Hide Autofill UI when non-savable id is gone." into oc-dev
...
am: eee1dd26fa
Change-Id: Ifd88b9950acc09e82038ee1929c7932b4fd4261f
2017-05-23 23:42:31 +00:00
TreeHugger Robot
eee1dd26fa
Merge "Hide Autofill UI when non-savable id is gone." into oc-dev
2017-05-23 23:28:38 +00:00
sergeyv
be6f50424a
Correctly save retained fragments in the backstack
...
Test: FragmentLifecycleTest#retainedFragmentsInBackstack
bug:62027280
Change-Id: I4ba20c5138f957107422c46d67095c7c8db2c608
2017-05-23 15:24:37 -07:00
Bryce Lee
8892511099
Merge "Revert "Disallow starting activities without new task from non-activity context."" into oc-dev am: 367b880c02
...
am: 272b3903ef
Change-Id: Ib094291d6ea26947687477f9e3cec35f6cfd97a8
2017-05-23 20:03:45 +00:00
Bryce Lee
272b3903ef
Merge "Revert "Disallow starting activities without new task from non-activity context."" into oc-dev
...
am: 367b880c02
Change-Id: I0a0d96048c0b3dd504d0c90dbf80a8299c4b96a4
2017-05-23 19:56:04 +00:00
Bryce Lee
367b880c02
Merge "Revert "Disallow starting activities without new task from non-activity context."" into oc-dev
2017-05-23 19:50:24 +00:00
Bryce Lee
25ae100cb0
Revert "Disallow starting activities without new task from non-activity context."
...
This reverts commit 8b49a5c0aa .
Change-Id: I7d2da4ac72ca578942b38fccf8b151f3a2ed081f
2017-05-23 19:46:59 +00:00
Felipe Leme
27e202208b
Hide Autofill UI when non-savable id is gone.
...
AutofillManager keeps track of which views the AutofillServiec is interested to
save, so when these views are gone, the session is finished.
But when the AutofillService returns a dataset whose views it can not save,
the FillUi for these views are not hiding when the views are gone. This CL
fixes this issue by:
- Keeping track which non-savable views should be tracked.
- Pass the view (instead of it's id) when the UI on such views should be hid.
This CL also optimized some AIDL and internal calls by avoiding the creating of
unnecessary Lists.
Test: manual verification with Snapchat
Test: existing CtsAutoFillServiceTestCases pass
Test: new tests on MultipleFragmentLoginTest pass
Fixes: 38199452
Change-Id: I78fa357962dbc6667146d8e08cd6bacb63e0f337
2017-05-23 10:46:24 -07:00
Amith Yamasani
7592825084
Don't keep a reference to Service object
...
This is a potential fix for a global reference leak in the
system process by a JobService in an app.
Bug: 38467796
Test: manual
Change-Id: I8756c39ac77bead068c88fce750c4024f9ac1c03
2017-05-23 10:37:09 -07:00
Dianne Hackborn
f0268b0bb7
Merge "Fix issue #38393543 : Not allowed to start service Intent" into oc-dev am: ad6dde65ff
...
am: 7fdeb9ff3f
Change-Id: Ie6cfe023f733079d3fb685b841bc0e90506c0ab3
2017-05-22 20:20:38 +00:00
Dianne Hackborn
7fdeb9ff3f
Merge "Fix issue #38393543 : Not allowed to start service Intent" into oc-dev
...
am: ad6dde65ff
Change-Id: Ife26f513fa6d04771148a3965171822874854828
2017-05-22 20:09:29 +00:00
Dianne Hackborn
ad6dde65ff
Merge "Fix issue #38393543 : Not allowed to start service Intent" into oc-dev
2017-05-22 20:03:33 +00:00
Bryce Lee
e18c3ba506
Merge "Disallow starting activities without new task from non-activity context." into oc-dev am: 3ebe54b3e6
...
am: b8bcdf50e4
Change-Id: Ib3a056213274cd3d7b86859be43893777f4230cb
2017-05-22 14:58:30 +00:00
Bryce Lee
b8bcdf50e4
Merge "Disallow starting activities without new task from non-activity context." into oc-dev
...
am: 3ebe54b3e6
Change-Id: I4a89ce60dad32f41f4e77b81a6af56c89845987a
2017-05-22 14:43:32 +00:00
Bryce Lee
3ebe54b3e6
Merge "Disallow starting activities without new task from non-activity context." into oc-dev
2017-05-22 14:31:07 +00:00
Dianne Hackborn
3e6e3855ea
Fix issue #38393543 : Not allowed to start service Intent
...
Turns out there was another path in to the activity manager
to trigger a PendingIntent, which needs to be modified to
now also pass in the whitelist token of that pending intent.
Test: manual
Change-Id: I755ff87db1b782fa6974d404dcb490786053c5e0
2017-05-19 16:12:08 -07:00
Dianne Hackborn
21095637e6
Merge "Work on issue #36891897 : Need to ensure foreground services..." into oc-dev am: e4f484915f
...
am: 4d208f2ec6
Change-Id: Idc57b2a5953b0525d7c51999bcefdba868c68e16
2017-05-18 18:04:17 +00:00
Dianne Hackborn
4d208f2ec6
Merge "Work on issue #36891897 : Need to ensure foreground services..." into oc-dev
...
am: e4f484915f
Change-Id: I644cf3173134c0aeb2cddcb8add85803aa76b362
2017-05-18 17:50:56 +00:00
Dianne Hackborn
e4f484915f
Merge "Work on issue #36891897 : Need to ensure foreground services..." into oc-dev
2017-05-18 17:35:15 +00:00
Marc Hittinger
bbc06abe37
Merge "Update defaults for isHighEndGfx settings."
2017-05-17 18:52:01 +00:00
Tony Mak
8c6969b69b
Remove the old version of setAffiliationIds
...
Test: Can build
Build: 37622682
Change-Id: I07e630e96f5aed5d450652c465e00ffed13a2a2c
2017-05-17 15:20:04 +00:00
Dianne Hackborn
fb5d4b598c
Work on issue #36891897 : Need to ensure foreground services...
...
...can't hide themselves
Propagate to notification manager the apps that are causing
the "running in background" notification to be shown.
Also hopefully this time fix the problem with the notification
being stuck. (We were mixing elapsed time in the state management
with uptime in the message scheduling.)
Test: manual
Change-Id: I9e38bff5fe69fa75b418e34c84d4e704ef70f460
2017-05-16 17:05:02 -07:00
Winson Chung
d691cc14c8
Merge "Updating Overview to work with PiP" into oc-dev am: 0553cbcf36
...
am: fbdd98ef69
Change-Id: I54bac22c4c5963773d886e9f18da8f90b4aac2a6
2017-05-16 23:59:37 +00:00
Winson Chung
fbdd98ef69
Merge "Updating Overview to work with PiP" into oc-dev
...
am: 0553cbcf36
Change-Id: I57d2f76567c0a92d9a282c6c8cdd0732be06873d
2017-05-16 23:50:04 +00:00
Winson Chung
0553cbcf36
Merge "Updating Overview to work with PiP" into oc-dev
2017-05-16 23:41:17 +00:00
Makoto Onuki
98c1555da3
Merge "Restrict access to instant app data in usage stats" into oc-dev am: f38a1d3d2a
...
am: fd1dd05815
Change-Id: I9e06dfc17f934210bcfddb44fc7be7056c9b054c
2017-05-16 22:18:32 +00:00