Tim Murray
ef79f35c69
Merge \\"Add a new API to improve VR thread scheduling.\\" into nyc-mr1-dev am: 5e261441d3
...
am: 75c6078c8b
Change-Id: Ic101c2d17e98fcb1cc2d6e3cccebfb6e378f9914
2016-06-30 18:28:14 +00:00
Tim Murray
5e261441d3
Merge "Add a new API to improve VR thread scheduling." into nyc-mr1-dev
2016-06-30 18:05:57 +00:00
Srinath Sridharan
e535a5827b
Add a new API to improve VR thread scheduling.
...
Adds a new API that enables device-specific scheduler optimizations for
latency-sensitive VR threads.
BUG: 29163534
Change-Id: I58d7be0eb266eca452c804cd07004784fb7daf2b
2016-06-30 10:03:46 -07:00
Daniel Nishi
f06f1b8180
Merge \\"Use the Deletion Helper when system storage is low.\\" into nyc-mr1-dev am: 6401217532
...
am: b8a7ddad7e
Change-Id: I3d51bb6934e4a42ec8e9d7f37d460b780a5941fe
2016-06-29 21:54:10 +00:00
Daniel Nishi
6401217532
Merge "Use the Deletion Helper when system storage is low." into nyc-mr1-dev
2016-06-29 21:37:07 +00:00
Amith Yamasani
96c0bc2eb9
Merge \\"An API to check if running in a demo user\\" into nyc-mr1-dev am: b71081e4e9
...
am: b61a5f1d64
Change-Id: I3e4e57997ecf942d0607628529f0bf97f4c1d2ce
2016-06-29 15:29:22 +00:00
Amith Yamasani
1c41dc8ec5
An API to check if running in a demo user
...
Add an API to query if the calling app is running
in a demo user sandbox. This allows apps to customize
the starting experience to a potential customer.
Change-Id: I50e40f9a8c66da4b5672c1dc64606d7bedba3f8c
Fixes: 29833923
2016-06-28 17:05:19 -07:00
Svet Ganov
7f344e4c9c
Merge \\\"Mark app pending intents in notification extras\\\" into nyc-dev am: b2cd9c95bf am: 5f7f3fa7a9
...
am: dc162dde07
Change-Id: I42000bbb614139ee3f0d9a9fcee7f460e52661f8
2016-06-28 00:57:00 +00:00
Svetoslav Ganov
dc162dde07
Merge \\"Mark app pending intents in notification extras\\" into nyc-dev am: b2cd9c95bf
...
am: 5f7f3fa7a9
Change-Id: Id4bc3ae0c1d79174a22d669dccab3391c231357d
2016-06-28 00:52:01 +00:00
Svet Ganov
7878e736f7
Merge \"Mark app pending intents in notification extras\" into nyc-dev
...
am: b2cd9c95bf
Change-Id: Idb515255f224c23d60a513713d9e4f93decd7a9c
2016-06-28 00:46:55 +00:00
Svet Ganov
ddb948896c
Mark app pending intents in notification extras
...
We need to make every peniding intent that went in the notification
system to allow special handling of such intents when fired by a
notification listener. If a pending intent from a notification
is sent from a notification listener, we white-list the source app
to run in data saver mode for a short period of time. The problem is
that actions and the notificaion can have extras which bundles may
contain pending intents but the system cannot look into the bundles
as they may contain custom parcelable objects. To address this we
keep a list of all pending intents in the notification allowing
the system to access them without touching the bundle. Currently
the pending intents are written to the parcel twice, once in the
bundle and once as the explicit list. We can come up with a scheme
to optimize this but since pending itents are just a binder pointer
it is not worth the excecise.
bug:29480440
Change-Id: I7328a47017ca226117adf7054900836619f5679b
2016-06-27 17:32:25 -07:00
Daniel Nishi
690346b145
Use the Deletion Helper when system storage is low.
...
A notification is posted when the system storage gets too low.
Currently, it redirects into the Storage Settings. Instead,
it should redirect into the Deletion Helper to directly let the
user clear out their storage.
Bug: 29437277
Change-Id: I4e35adf300d5e479d4171f1e6f090f2a757400f2
2016-06-27 15:22:35 -07:00
Dianne Hackborn
e0e7f9cbe8
Merge \\\"Reduce race when connecting to an existing content provider.\\\" into nyc-dev am: 5f9afa968d am: 3716762e38
...
am: ee18f5fe68
Change-Id: If032e53cc81ac3863818d98c5284f5b2501c8226
2016-06-21 19:38:50 +00:00
Dianne Hackborn
ee18f5fe68
Merge \\"Reduce race when connecting to an existing content provider.\\" into nyc-dev am: 5f9afa968d
...
am: 3716762e38
Change-Id: Ida00a7b77605d505ed5b32ff84b69c8c9ed7564b
2016-06-21 19:33:15 +00:00
Dianne Hackborn
580f2e159e
Merge \"Reduce race when connecting to an existing content provider.\" into nyc-dev
...
am: 5f9afa968d
Change-Id: I7ca258416372dd251759aa920f51c2486d432f9c
2016-06-21 19:27:31 +00:00
Dianne Hackborn
5f9afa968d
Merge "Reduce race when connecting to an existing content provider." into nyc-dev
2016-06-21 19:18:39 +00:00
Dianne Hackborn
4de5a3ac66
Reduce race when connecting to an existing content provider.
...
We lost the code that checks to see if the target process still
exists and aborts trying to use it if so. To reduce the race
there, we have a new explicit check of the state of the process.
Hopefully fixes some of issue #28737082 .
Change-Id: I37a7a6e9767516d564168ef5e110c4adafe3fb76
2016-06-21 10:04:22 -07:00
Adam Lesinski
8549988a89
Merge \\\"BatteryStats: record best estimated battery capacity\\\" into nyc-dev am: c2e06a55f9 am: a804fae3be
...
am: 0f7b0a8cc6
Change-Id: If2d120974fe4caaf6f204b191bca0b6989757f28
2016-06-20 20:05:22 +00:00
Adam Lesinski
a804fae3be
Merge \"BatteryStats: record best estimated battery capacity\" into nyc-dev
...
am: c2e06a55f9
Change-Id: I4f590635c720ddbb6dfac292753606b9d3fe16e0
2016-06-20 19:55:37 +00:00
TreeHugger Robot
c2e06a55f9
Merge "BatteryStats: record best estimated battery capacity" into nyc-dev
2016-06-20 19:49:46 +00:00
Adam Lesinski
f9b20a9ec4
BatteryStats: record best estimated battery capacity
...
Using the coulomb counter, record the estimated max battery
capacity.
Bug:28743761
Change-Id: I1270b062cf4a1e6fd69ea1da3de11a85a81b3663
2016-06-20 10:58:37 -07:00
Dianne Hackborn
c0359bf7d4
Merge \\\"Fix issue #29371078 : Foreground jobs should not count...\\\" into nyc-dev am: 47cfac6803 am: 403e103eb2
...
am: e022330079
Change-Id: Iadc898f174ffce99e622d272e1699017acb292f8
2016-06-17 18:26:54 +00:00
Dianne Hackborn
e022330079
Merge \\"Fix issue #29371078 : Foreground jobs should not count...\\" into nyc-dev am: 47cfac6803
...
am: 403e103eb2
Change-Id: Ief9539ea61813129a9aa2f122178e084ebd5a010
2016-06-16 18:46:43 +00:00
Dianne Hackborn
b021fca31a
Merge \"Fix issue #29371078 : Foreground jobs should not count...\" into nyc-dev
...
am: 47cfac6803
Change-Id: I94a6674bcb0327bc55fbfc1d18c4a5d6d723a52e
2016-06-16 18:43:57 +00:00
Dianne Hackborn
47cfac6803
Merge "Fix issue #29371078 : Foreground jobs should not count..." into nyc-dev
2016-06-16 18:39:03 +00:00
Amith Yamasani
274ae72b47
Merge \\\"More thorough cleansing of expired users\\\" into nyc-dev am: 4f2b1b455e am: bf1301f542
...
am: 80027e9d93
Change-Id: I9f6040fb97c55aa5e01d00d5221a2c678227dab2
2016-06-16 00:38:28 +00:00
Dianne Hackborn
7ab4025474
Fix issue #29371078 : Foreground jobs should not count...
...
...as active for idle maintenance
Nor jobs of whitelisted apps.
Now they don't.
Also remove the no longer used "active download" tracking code.
Change-Id: I553197801f6eabaf15716f3201dd65257a0d4e94
2016-06-15 17:30:24 -07:00
Amith Yamasani
80027e9d93
Merge \\"More thorough cleansing of expired users\\" into nyc-dev am: 4f2b1b455e
...
am: bf1301f542
Change-Id: Ie4250ddaa0175ff25a85abdbaa59a31b61003752
2016-06-16 00:28:45 +00:00
Amith Yamasani
c5ffdb9ee4
Merge \"More thorough cleansing of expired users\" into nyc-dev
...
am: 4f2b1b455e
Change-Id: I5714f73a9b90c0cb8fee653abf799374acfc6232
2016-06-16 00:24:14 +00:00
Amith Yamasani
4f2b1b455e
Merge "More thorough cleansing of expired users" into nyc-dev
2016-06-16 00:14:59 +00:00
Tianjie Xu
f3d0a4c63b
Merge \\\"Fix a naming typo for source_build\\\" into nyc-dev am: dfa654edfe am: 5b767d1218
...
am: a92b4737c6
Change-Id: I89897592b5425a3601afa47813c6d109c4d85cd9
2016-06-15 23:03:40 +00:00
Tianjie Xu
a92b4737c6
Merge \\"Fix a naming typo for source_build\\" into nyc-dev am: dfa654edfe
...
am: 5b767d1218
Change-Id: Iba0740a38e7f9fd97175542ee5255548470b510c
2016-06-15 21:04:04 +00:00
Tianjie Xu
ab1a5e456e
Merge \"Fix a naming typo for source_build\" into nyc-dev
...
am: dfa654edfe
Change-Id: I3eda6c97b34e6789a7450f737959fb22af9b1be4
2016-06-15 20:55:46 +00:00
Tianjie Xu
5fabe69fc8
Fix a naming typo for source_build
...
When parsing the last_install, the variable name is supposed to be
*source_build* instead of *source_version*.
Bug: 28658632
Change-Id: I1e0ed7150e04885f904b6a3efa18bd5cfe17cc96
2016-06-15 12:34:04 -07:00
Amith Yamasani
d04aaa323c
More thorough cleansing of expired users
...
If any /data/system_[c|d]e folders were not erased
when the user was removed (maybe due to a reboot),
make sure they're cleaned up on restart as well
as when the userId is recycled later.
Mark the users' system folders with the correct
serial number for later verification.
AccountManager shouldn't be querying accounts of
partially created/destroyed users.
Change-Id: I4313756b7464f34cd5ce4fb296d61daa50b41fcb
Fixes: 29285673
2016-06-15 11:32:16 -07:00
Tomasz Mikolajewski
eacd7b9d5c
Merge \\\"Make CotentResolver#openInputStream handle errors from reliable pipes.\\\" into nyc-dev am: ac3fe8fffe am: be6e44cdfa
...
am: 55ab54e33d
Change-Id: Ib073f974518fd01850c9a4be14fe6987658cf1d3
2016-06-14 04:39:25 +00:00
Tomasz Mikolajewski
55ab54e33d
Merge \\"Make CotentResolver#openInputStream handle errors from reliable pipes.\\" into nyc-dev am: ac3fe8fffe
...
am: be6e44cdfa
Change-Id: I0dc45cd8cb5c3e824edf56b4229c7dd752f77371
2016-06-14 04:34:50 +00:00
Tomasz Mikolajewski
499ab43ce3
Merge \"Make CotentResolver#openInputStream handle errors from reliable pipes.\" into nyc-dev
...
am: ac3fe8fffe
Change-Id: Ib09cea9ca5c6bb18dc16ffac70f23fa4b3ffd974
2016-06-14 04:24:39 +00:00
Tomasz Mikolajewski
ac3fe8fffe
Merge "Make CotentResolver#openInputStream handle errors from reliable pipes." into nyc-dev
2016-06-14 04:15:26 +00:00
Tao Bao
3fec7a80fb
Merge \\"Add RecoverySystem.rebootWipeAb() system API.\\" into nyc-mr1-dev am: 9aa66d57c6
...
am: 20f5cd8d9e
Change-Id: Icf1be48feace06ad193a95f70df39ae979036306
2016-06-13 16:54:50 +00:00
Tao Bao
9aa66d57c6
Merge "Add RecoverySystem.rebootWipeAb() system API." into nyc-mr1-dev
2016-06-13 16:43:46 +00:00
Adam Lesinski
03c3edabaa
Merge \\\"BatteryStats: Fix read/write parcel order\\\" into nyc-dev am: e8a442ccd6 am: 860e09ddce
...
am: e9fdfb6334
Change-Id: I5cdf50d4c89fd135571d97ab3c4072a6b56bc76c
2016-06-10 22:52:19 +00:00
Adam Lesinski
860e09ddce
Merge \"BatteryStats: Fix read/write parcel order\" into nyc-dev
...
am: e8a442ccd6
Change-Id: I08f02adc6014ff9bcae60f60a091bba74695488d
2016-06-10 22:43:45 +00:00
Adam Lesinski
e8a442ccd6
Merge "BatteryStats: Fix read/write parcel order" into nyc-dev
2016-06-10 22:29:15 +00:00
Adam Lesinski
67c134f849
BatteryStats: Fix read/write parcel order
...
Also moves discharge coulomb data to BATTERY_DISCHARGE_DATA checkin line.
Bug:29264326
Bug:28743761
Change-Id: I78881e166c11f40b2397e04d2cab8d5200c71eea
2016-06-10 15:24:16 -07:00
Tianjie Xu
5563e82911
Merge \\\"Collect statistics of source build version\\\" into nyc-dev am: 8872a604b9 am: 3287c5f380
...
am: 0578d40bca
Change-Id: I9cb43b1851448badb4d46ae5be40627dc6034790
2016-06-10 17:37:28 +00:00
Tianjie Xu
0578d40bca
Merge \\"Collect statistics of source build version\\" into nyc-dev am: 8872a604b9
...
am: 3287c5f380
Change-Id: I830db9c215867f5943dce75bd09583742916ae6b
2016-06-10 17:27:06 +00:00
Tianjie Xu
9331178a6d
Merge \"Collect statistics of source build version\" into nyc-dev
...
am: 8872a604b9
Change-Id: Ic920aced4f17c31a09bea55480f92252f20d728d
2016-06-10 17:23:25 +00:00
Tianjie Xu
8872a604b9
Merge "Collect statistics of source build version" into nyc-dev
2016-06-10 17:13:54 +00:00
Adam Lesinski
ea4a9168ac
Merge \\\"BatteryStats: Record fine grained battery discharge\\\" into nyc-dev am: 094c40b2cc am: ae903e100f
...
am: 334d6f35b5
Change-Id: I791fbb20a02713b728314960fffd6e6392854b94
2016-06-10 02:29:26 +00:00