Andreas Gampe
a13e22277c
Merge "Frameworks: Fix system server profiling" am: eed99d8629 am: e8d1374024
...
am: fbd7a82d00
Change-Id: I6dff945eab15bba13d0222840b261bd0008f40f2
2018-03-15 17:38:33 +00:00
Andreas Gampe
fbd7a82d00
Merge "Frameworks: Fix system server profiling" am: eed99d8629
...
am: e8d1374024
Change-Id: I228f91fb48566f541bfd8a84be71968b13992e2d
2018-03-15 17:19:06 +00:00
Andreas Gampe
e8d1374024
Merge "Frameworks: Fix system server profiling"
...
am: eed99d8629
Change-Id: Ia07782e694d066f827e99fffa49c93321444b851
2018-03-15 17:10:15 +00:00
Alan Viverette
359c163db0
Merge "Update packages for 1.0.0-beta1" into pi-dev am: a88c9b558f
...
am: 40f9aff681
Change-Id: If9aff68d7479b3efd246599b62f0e49245b21c8c
2018-03-15 14:12:43 +00:00
Alan Viverette
40f9aff681
Merge "Update packages for 1.0.0-beta1" into pi-dev
...
am: a88c9b558f
Change-Id: I602da6356d0523d7e3164026eb23e75160462a53
2018-03-15 13:59:12 +00:00
Alan Viverette
a88c9b558f
Merge "Update packages for 1.0.0-beta1" into pi-dev
2018-03-15 13:32:16 +00:00
Andreas Gampe
5a8ea8c619
Frameworks: Fix system server profiling
...
Avoid a race to close the profiling file descriptor.
Bug: 74883338
Test: m
Test: am profile start `pid system_server` /data/local/tmp/test.trace && sleep 5s && am profile stop `pid system_server` && adb pull /data/local/tmp/test.trace && [[ $(find test.trace -size +1K) ]] && echo Success
Change-Id: Ib506ce38ac1ac7c0b91079ba9b35aca6ae289d22
2018-03-14 23:19:21 -07:00
Adora Zhang
414250d658
Merge "Add notification category: CATEGORY_NAVIGATION; Add @SystemApi @hide notification categories: CATEGORY_CAR_EMERGENCY, CATEGORY_CAR_WARNING, and CATEGORY_CAR_INFORMATION." into pi-dev am: 5d9617c439
...
am: d8a94c6ae4
Change-Id: I86b7d0c8e72c7b9dcae683c78203931264602171
2018-03-15 04:59:00 +00:00
Adora Zhang
d8a94c6ae4
Merge "Add notification category: CATEGORY_NAVIGATION; Add @SystemApi @hide notification categories: CATEGORY_CAR_EMERGENCY, CATEGORY_CAR_WARNING, and CATEGORY_CAR_INFORMATION." into pi-dev
...
am: 5d9617c439
Change-Id: I9e58a2f71559cbf73b693f1fe808783157fc2f0a
2018-03-15 04:11:28 +00:00
TreeHugger Robot
5d9617c439
Merge "Add notification category: CATEGORY_NAVIGATION; Add @SystemApi @hide notification categories: CATEGORY_CAR_EMERGENCY, CATEGORY_CAR_WARNING, and CATEGORY_CAR_INFORMATION." into pi-dev
2018-03-15 03:00:46 +00:00
Suprabh Shukla
d1003fad76
Merge "Unhiding APIs in UsageEvents for public use" into pi-dev am: b33cef07f2
...
am: 1495de2f15
Change-Id: Ia665dbac4683094e4e43f270ecd9feb40139d92d
2018-03-15 01:51:00 +00:00
Suprabh Shukla
1495de2f15
Merge "Unhiding APIs in UsageEvents for public use" into pi-dev
...
am: b33cef07f2
Change-Id: I6db57115f141dc3e84c89986c04a962d9bfe5b3f
2018-03-15 01:29:50 +00:00
TreeHugger Robot
b33cef07f2
Merge "Unhiding APIs in UsageEvents for public use" into pi-dev
2018-03-15 01:08:33 +00:00
Felipe Leme
6031da66aa
Merge "Improved Application.getAutofillClient()" into pi-dev am: 070db35bfb
...
am: d7901bd0f0
Change-Id: I6bbfbcd4c3514d45e4948353ecaa856241ea3271
2018-03-14 23:11:50 +00:00
Felipe Leme
d7901bd0f0
Merge "Improved Application.getAutofillClient()" into pi-dev
...
am: 070db35bfb
Change-Id: I3deb8585d4901b267d3071d678f0a3cfcb5539f8
2018-03-14 22:36:19 +00:00
TreeHugger Robot
070db35bfb
Merge "Improved Application.getAutofillClient()" into pi-dev
2018-03-14 22:02:10 +00:00
Adora Zhang
aa90e8781f
Add notification category: CATEGORY_NAVIGATION;
...
Add @SystemApi @hide notification categories: CATEGORY_CAR_EMERGENCY, CATEGORY_CAR_WARNING, and CATEGORY_CAR_INFORMATION.
Bug: 74546526
Test: runtest -x tests/app/src/android/app/cts/NotificationTest.java
Change-Id: Ib997992e039d2eddbd9c744816c35e279f9f9682
2018-03-14 14:53:26 -07:00
Suprabh Shukla
4e12de81b8
Unhiding APIs in UsageEvents for public use
...
These apis are needed to interpret standby bucket change history
when using UsageStatsManager#queryEventsForSelf
Test: atest android.app.usage.cts.UsageStatsTest#testQueryEventsForSelf
Bug: 71906213
Change-Id: Ib9f458bf32089ad30c97eca9dd5cc4df5a392191
2018-03-14 14:27:09 -07:00
Jason Monk
9092bdeb30
Merge "Add API to get currently pinned slices" into pi-dev am: 98c1d17cb4
...
am: 241a3a824d
Change-Id: I068f5a58ad82b31fad02209520f4890df5b8faff
2018-03-14 20:54:13 +00:00
Jason Monk
241a3a824d
Merge "Add API to get currently pinned slices" into pi-dev
...
am: 98c1d17cb4
Change-Id: Ie71c82c8cc7734cf123adbc6342ca4154c04ba53
2018-03-14 20:41:12 +00:00
TreeHugger Robot
98c1d17cb4
Merge "Add API to get currently pinned slices" into pi-dev
2018-03-14 20:12:54 +00:00
Felipe Leme
950cc6b42b
Improved Application.getAutofillClient()
...
- Fixed usage of activity instead of record.activity
- Added (optional) verbose logging
Bug: 74793485
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityTest#testAutofill_appContext\
CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest#testAutofill_appContext
Change-Id: I03721cab6428e580b13444bf045f33dc3d787a8d
2018-03-14 13:04:28 -07:00
Dianne Hackborn
8a1330c518
Merge "Fix issue #62342672 : API Review: OPSTR_ACTIVATE_VPN SystemApi" into pi-dev am: bf5387edd8
...
am: a31cb855f0
Change-Id: I0f97a84092e511024bbb55eac9074adc277dda4a
2018-03-14 04:55:21 +00:00
Dianne Hackborn
a31cb855f0
Merge "Fix issue #62342672 : API Review: OPSTR_ACTIVATE_VPN SystemApi" into pi-dev
...
am: bf5387edd8
Change-Id: I713dedd3d5dc0c15031823191939979d3a169ae2
2018-03-14 03:14:45 +00:00
Dianne Hackborn
bf1b57d856
Fix issue #62342672 : API Review: OPSTR_ACTIVATE_VPN SystemApi
...
Add a new platform-only permission for being able to change
app ops mode, so nothing outside of the platform can do this.
Bug: 62342672
Test: Booted, ran, settings works, shell works, apps install
Change-Id: I372e649c019a8f9b95919ff0da6f56612d7061c2
2018-03-13 14:51:30 -07:00
Bryce Lee
b5e1cdf422
Merge "Ignore activity lifecycle requests without matching client records." into pi-dev am: 790c5d04c8
...
am: 0ed5d65234
Change-Id: I18babb3442b3bd03266a0f17a5d87c247520de04
2018-03-13 21:42:20 +00:00
Bryce Lee
0ed5d65234
Merge "Ignore activity lifecycle requests without matching client records." into pi-dev
...
am: 790c5d04c8
Change-Id: I8c8b8799073bc92f0464fa79491db16cc10057ae
2018-03-13 20:40:02 +00:00
Bryce Lee
790c5d04c8
Merge "Ignore activity lifecycle requests without matching client records." into pi-dev
2018-03-13 19:46:03 +00:00
Bryce Lee
c940660bd5
Ignore activity lifecycle requests without matching client records.
...
Previously, changes were made to finish destroyed activities. This
prevented the code sending lifecycle requests to a non-existent
client record. However, there are scenarios where an activity can
be destroyed without being finished. Finishing these activities will
lead to side effects, such as the activity not being in history and
therefore not restored when navigated back to.
This changelist unlinks finishing from setting an activity's state to
destroyed. For now, we will suppress lifecycle requests client side
without matching records.
Fixes: 74403650
Fixes: 74409828
Bug: 71506345
Test: enable don't keep activities. navigate back and forth
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testRestoreFromKill
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenRecreatedFromInNonFocusedStack
Change-Id: I1b76a4758c3be27dc30ecac5ee56949a5b173754
2018-03-13 14:52:35 +00:00
Jason Monk
3107c66114
Merge "Run slice callbacks on thread they come in on" into pi-dev am: a033fa7fdc
...
am: f7af1cb1c6
Change-Id: I8e5d793b8e3614610f0e960729644dcc86a94908
2018-03-13 14:16:02 +00:00
Jason Monk
f7af1cb1c6
Merge "Run slice callbacks on thread they come in on" into pi-dev
...
am: a033fa7fdc
Change-Id: Ibb4ff6fc540f50e585ed0dcbb5e7eb25a472ce69
2018-03-13 14:05:56 +00:00
TreeHugger Robot
a033fa7fdc
Merge "Run slice callbacks on thread they come in on" into pi-dev
2018-03-13 13:54:18 +00:00
Andrii Kulian
d7fa063cf7
Merge "Don't throw exception for duplicate resume" into pi-dev am: ee83dd2cd0
...
am: add9934e68
Change-Id: I8441981c815877c4276426fd8d46d28e6384f577
2018-03-13 04:22:44 +00:00
Andrii Kulian
add9934e68
Merge "Don't throw exception for duplicate resume" into pi-dev
...
am: ee83dd2cd0
Change-Id: I91a3009cd6e81632f203659c21c261b00e417e15
2018-03-13 01:21:25 +00:00
Julia Reynolds
a22a36deb8
Merge "Log interruptive notifications" into pi-dev am: dcf12d4a39
...
am: 318b49c2ab
Change-Id: Ia2d69825a3631e4e821cec0ec97c894d1886b57f
2018-03-13 00:42:55 +00:00
Andrii Kulian
ee83dd2cd0
Merge "Don't throw exception for duplicate resume" into pi-dev
2018-03-13 00:21:26 +00:00
Winson Chung
fc4eb903ca
Merge "Expose whether a snapshot is a real snapshot" into pi-dev am: 4aee38fd01
...
am: 8f819832c0
Change-Id: Id90d6ce58d4c0f105756eb974fd64b5ae2eb002c
2018-03-12 23:27:58 +00:00
Alan Viverette
ad4d866837
Update packages for 1.0.0-beta1
...
Fixes references to changes Slices compat code.
Bug: 74449147
Test: make
Change-Id: I7a7f81d582d12b3813c0581446efec81ed5f6b48
2018-03-12 19:05:44 -04:00
Julia Reynolds
318b49c2ab
Merge "Log interruptive notifications" into pi-dev
...
am: dcf12d4a39
Change-Id: Id22e93e6777b956721425a434adb3c270ddc8b57
2018-03-12 23:05:40 +00:00
Andrew Grieve
a6c2abeecb
Merge "Add Application.getProcessName()" into pi-dev am: 44662a157e
...
am: 60491925d3
Change-Id: I8c9c4f85ac9601ac5b5a1f45a9c7df0f1edc2e3f
2018-03-12 22:17:38 +00:00
Winson Chung
8f819832c0
Merge "Expose whether a snapshot is a real snapshot" into pi-dev
...
am: 4aee38fd01
Change-Id: Ib94f0ca6e741bbb8495c33803516ffb94227ae2b
2018-03-12 21:47:35 +00:00
Bryce Lee
460ec36829
Merge "Update documentation for Activity#onCreate." into pi-dev am: 2b9620cc71
...
am: 95aa518a2c
Change-Id: Id054540d0d1800e490292e6ea229ef63e5b62e3a
2018-03-12 21:44:44 +00:00
Andrew Grieve
60491925d3
Merge "Add Application.getProcessName()" into pi-dev
...
am: 44662a157e
Change-Id: I90a6d1dce5b504e578161e365f9efa74935779c6
2018-03-12 21:25:28 +00:00
Jason Monk
66cffd5ae6
Run slice callbacks on thread they come in on
...
Instead post a runnable that will trigger an ANR+crash if the app
doesn't respond in time.
Test: atest cts/tests/tests/slice
Bug: 74251457
Change-Id: Ieea7a8d8cb08d3bf0735b9f7b385f286839dacd8
2018-03-12 17:20:01 -04:00
Julia Reynolds
dcf12d4a39
Merge "Log interruptive notifications" into pi-dev
2018-03-12 21:10:59 +00:00
Bryce Lee
95aa518a2c
Merge "Update documentation for Activity#onCreate." into pi-dev
...
am: 2b9620cc71
Change-Id: Ida3fd0947d97a6e26547d4182691ae8c66f5705c
2018-03-12 20:50:19 +00:00
Winson Chung
4aee38fd01
Merge "Expose whether a snapshot is a real snapshot" into pi-dev
2018-03-12 20:34:07 +00:00
Andrii Kulian
dfbf971688
Don't throw exception for duplicate resume
...
A double resume request is possible when an activity receives two
consequent transactions with relaunch requests and the second is one
is omitted. We still get two resume requests for the final state.
Fixes: 74074327
Test: FrameworksCoreTests:ActivityThreadTest
Change-Id: I8bb8594948a17b7fbf595a49026ff33b54b66049
2018-03-12 20:32:37 +00:00
Bookatz
041a7599d3
Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev am: 81cacb274c
...
am: fda0144579
Change-Id: Id83996007a5fdbfea78744f77e346decb9ed719e
2018-03-12 20:26:26 +00:00
Bookatz
fda0144579
Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev
...
am: 81cacb274c
Change-Id: I4a74e97d84db573c98d4fbb3645ad0662c153aea
2018-03-12 19:49:31 +00:00