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
Dianne Hackborn
f6f1a7ec99
am 628b4125: am bc2a8843: am b97c5ddd: am 9b36f526: am c1836bb0: Merge "Change MNC codename to just M." into mnc-dev
...
* commit '628b4125843b93dc7f3ed0c9bbea76ff470d2eed':
Change MNC codename to just M.
2015-08-01 17:53:09 +00:00
Dianne Hackborn
628b412584
am bc2a8843: am b97c5ddd: am 9b36f526: am c1836bb0: Merge "Change MNC codename to just M." into mnc-dev
...
* commit 'bc2a88431e3dc51e2245cc28e327f11d0c78bd56':
Change MNC codename to just M.
2015-08-01 17:04:28 +00:00
Dianne Hackborn
9b36f526dd
am c1836bb0: Merge "Change MNC codename to just M." into mnc-dev
...
* commit 'c1836bb0f1bf3e5ef0911719525da0bab3e53507':
Change MNC codename to just M.
2015-07-31 19:42:11 +00:00
Dianne Hackborn
c1836bb0f1
Merge "Change MNC codename to just M." into mnc-dev
2015-07-31 17:11:58 +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
Adam Lesinski
81b80d3ebf
am 59bd2ae1: am c8c3539d: am eec946aa: am ee6046ad: am 00f7cb92: Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
...
* commit '59bd2ae1af5d1236dae14f0539d48acfa08d5e80':
BatteryStats: include mobile radio active count and unknown time in checkin
2015-07-31 00:31:45 +00:00
Adam Lesinski
59bd2ae1af
am c8c3539d: am eec946aa: am ee6046ad: am 00f7cb92: Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
...
* commit 'c8c3539de720449d60b754aabc19bf2693eaa09b':
BatteryStats: include mobile radio active count and unknown time in checkin
2015-07-31 00:20:23 +00:00
Adam Lesinski
ee6046add1
am 00f7cb92: Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
...
* commit '00f7cb924e6964c5403c55ae5e7348aad1c8ec7b':
BatteryStats: include mobile radio active count and unknown time in checkin
2015-07-30 23:58:30 +00:00
Adam Lesinski
00f7cb924e
Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
2015-07-30 23:50:27 +00:00
Adam Lesinski
782327bde7
BatteryStats: include mobile radio active count and unknown time in checkin
...
These are important values to help diagnose modem related wakeup issues.
Bug:22803686
Bug:22857991
Change-Id: Ie0164ebd194567bc10d1165d671a583674a39829
2015-07-30 23:50:10 +00:00
Dianne Hackborn
24982dc19e
am 9820374a: am f228f455: am 17043db8: am 69e7fa8a: am 8d3a67a8: Merge "More maybe fix issue #22765972 : Binder transactions running out..." into mnc-dev
...
* commit '9820374a5facbcde9f49c8cdf10cfd8ab83f0599':
More maybe fix issue #22765972 : Binder transactions running out...
2015-07-30 02:40:07 +00:00
Dianne Hackborn
9820374a5f
am f228f455: am 17043db8: am 69e7fa8a: am 8d3a67a8: Merge "More maybe fix issue #22765972 : Binder transactions running out..." into mnc-dev
...
* commit 'f228f455ea7fbec00f731773e5a51f55e9eb792f':
More maybe fix issue #22765972 : Binder transactions running out...
2015-07-30 02:26:51 +00:00
Dianne Hackborn
69e7fa8a52
am 8d3a67a8: Merge "More maybe fix issue #22765972 : Binder transactions running out..." into mnc-dev
...
* commit '8d3a67a8d475b43cbac50a2a186a19f4a29c7892':
More maybe fix issue #22765972 : Binder transactions running out...
2015-07-30 01:44:38 +00:00
Dianne Hackborn
6b42bc0e21
More maybe fix issue #22765972 : Binder transactions running out...
...
...of address space causing package manager to fail
Make sure to flush binder commands when done with an async task.
Change-Id: I9f171add7051587ab854226b97a12c7e1844ad5d
2015-07-29 17:58:33 -07:00
Dianne Hackborn
0e3de6caca
Change MNC codename to just M.
...
Change-Id: I4281d200ff6560791c47cf9073ceea1cb509361e
2015-07-29 15:20:21 -07:00
Dianne Hackborn
fc15b56bd2
am b003d9a8: am c4ed81af: am cb98228d: am deb28b77: am eda1cc50: Merge "Work on issue #22765972 : Binder transactions running out of address..." into mnc-dev
...
* commit 'b003d9a8032a672dbcb76a9750522953d1c0db5d':
Work on issue #22765972 : Binder transactions running out of address...
2015-07-29 18:42:48 +00:00
Dianne Hackborn
b003d9a803
am c4ed81af: am cb98228d: am deb28b77: am eda1cc50: Merge "Work on issue #22765972 : Binder transactions running out of address..." into mnc-dev
...
* commit 'c4ed81af8a12fac07c797870207e07cf7dc982c7':
Work on issue #22765972 : Binder transactions running out of address...
2015-07-29 18:20:56 +00:00
Dianne Hackborn
deb28b770a
am eda1cc50: Merge "Work on issue #22765972 : Binder transactions running out of address..." into mnc-dev
...
* commit 'eda1cc50cead674287616e6a852f8f281b70b9f5':
Work on issue #22765972 : Binder transactions running out of address...
2015-07-29 17:25:15 +00:00
Dianne Hackborn
eda1cc50ce
Merge "Work on issue #22765972 : Binder transactions running out of address..." into mnc-dev
2015-07-29 17:05:58 +00:00
Jeff Sharkey
4b76c496c6
am 7412dfe9: am 3f6c3849: am 170235a3: am acfaa947: am b8040265: Merge "Give secondary users read-only physical cards." into mnc-dev
...
* commit '7412dfe98daaf76377fc5d08e8b9bf994455b2a3':
Give secondary users read-only physical cards.
2015-07-29 03:41:19 +00:00
Jeff Sharkey
7412dfe98d
am 3f6c3849: am 170235a3: am acfaa947: am b8040265: Merge "Give secondary users read-only physical cards." into mnc-dev
...
* commit '3f6c3849e96692da51c0e8cb22cce92b6ed9b60b':
Give secondary users read-only physical cards.
2015-07-29 03:20:52 +00:00
Jeff Sharkey
acfaa947f4
am b8040265: Merge "Give secondary users read-only physical cards." into mnc-dev
...
* commit 'b8040265dd0d5a2a96e0850623647dad2f528db1':
Give secondary users read-only physical cards.
2015-07-29 01:34:42 +00:00
Dianne Hackborn
86cbc2bf30
Work on issue #22765972 : Binder transactions running out of address...
...
...space causing package manager to fail
Lower the maximum IPC size we use in various places, to keep it
under the threshold of becoming dangerous. Now everything tries
to keep not much more than 64k.
Change-Id: I814013097966a7843179e5d581bfdb254c5ae318
2015-07-28 18:13:21 -07:00
Jeff Sharkey
4634987668
Give secondary users read-only physical cards.
...
Long ago, we mounted secondary physical cards as readable by all
users on the device, which enabled the use-case of loading media on
a card and viewing it from all users.
More recently, we started giving write access to these secondary
physical cards, but this created a one-directional channel for
communication across user boundaries; something that CDD disallows.
This change is designed to give us the best of both worlds: the
package-specific directories are writable for the user that mounted
the card, but access to those "Android" directories are blocked for
all other users. Other users remain able to read content elsewhere
on the card.
Bug: 22787184
Change-Id: Ied8c98995fec1b7b50ff7d930550feabb4398582
2015-07-28 14:42:34 -07: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
Dianne Hackborn
96cc2b3050
am 1d8b0a29: am 14aca8e8: am 63ff4a77: am 419f2177: am 6f64e737: Merge "Fix issue #22612630 : Ensure SMS/Call delivery during Doze" into mnc-dev
...
* commit '1d8b0a29ab369cac21d9f3a643244dc8c6dec0c8':
Fix issue #22612630 : Ensure SMS/Call delivery during Doze
2015-07-24 05:09:39 +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
Dianne Hackborn
1d8b0a29ab
am 14aca8e8: am 63ff4a77: am 419f2177: am 6f64e737: Merge "Fix issue #22612630 : Ensure SMS/Call delivery during Doze" into mnc-dev
...
* commit '14aca8e87a3dc6e8fa783b3c45718a81f9f5e67a':
Fix issue #22612630 : Ensure SMS/Call delivery during Doze
2015-07-24 04:01:24 +00:00
Jeff Sharkey
e87dc6dba5
am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
...
* commit 'f6e9a3ede53ae487838c19714ad62f25a4a6ca4c':
More info to support CTS, fix reconcile bug.
2015-07-23 19:18:25 +00:00
Dianne Hackborn
419f2177c8
am 6f64e737: Merge "Fix issue #22612630 : Ensure SMS/Call delivery during Doze" into mnc-dev
...
* commit '6f64e737f046cd9ae13e260027781acfabaa4cba':
Fix issue #22612630 : Ensure SMS/Call delivery during Doze
2015-07-23 19:18:10 +00:00
Jeff Sharkey
f6e9a3ede5
Merge "More info to support CTS, fix reconcile bug." into mnc-dev
2015-07-22 19:40:44 +00:00
Dianne Hackborn
6f64e737f0
Merge "Fix issue #22612630 : Ensure SMS/Call delivery during Doze" into mnc-dev
2015-07-22 19:04:00 +00:00
Jeff Sharkey
85ced63268
More info to support CTS, fix reconcile bug.
...
Surface more details and commands for storage volumes to support
CTS testing. Fix user reconciliation bug that skipped user setup on
empty volumes.
Bug: 22658804, 22633097
Change-Id: I4221312d1cce24d1f5a2c108095cf3cf471598ed
2015-07-22 11:11:50 -07:00
Dianne Hackborn
451c3468b9
Fix issue #22612630 : Ensure SMS/Call delivery during Doze
...
Add whitelist timeout for SMS.
Change-Id: I3392093000ad177a93b6ef36fb18f0398a671423
2015-07-21 17:39:46 -07:00
Fyodor Kupolov
a48c0304bf
am cc432cc0: am 5211528b: am 67cd2fc5: am cf6500b9: am 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev
...
* commit 'cc432cc08919cec386213f993b36bfdc5adf6ed0':
Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction
2015-07-21 21:49:41 +00:00
Fyodor Kupolov
cc432cc089
am 5211528b: am 67cd2fc5: am cf6500b9: am 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev
...
* commit '5211528b9d1f51dca284d40e8d63dc3bc9527ac7':
Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction
2015-07-21 21:31:44 +00:00
Fyodor Kupolov
cf6500b9ba
am 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev
...
* commit '55a116d00ca3f7b84a6af1c5c3472323ad5bc6ca':
Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction
2015-07-21 20:50:24 +00:00
Fyodor Kupolov
53019287fd
Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction
...
Bug: 21521860
Change-Id: I0c2659f84589a77432317fbc89d49716027577d3
2015-07-21 12:06:14 -07:00
Xiaohui Chen
cfe64c8afa
sys user split: update createUser method
...
After the system user is split out, all users are more or less the same.
We combine the generic user and secondary user create method to reflect
this concept. This also fixes the bug the newly created Primary user
from lock screen contains secondary user restrictions.
Bug: 19913735
Change-Id: Iff8802cd46401081bb444317becaf6ecab934e1e
2015-07-17 09:47:13 -07:00
Xiaohui Chen
dbfb11a9f1
Merge "sys user split: refactor systemui user switcher"
2015-07-16 16:30:21 +00:00
Svetoslav
3e9079c978
am f25f3bd8: am 3c5fe9de: am 1f1f0cee: am eb16e1fb: am 08dda27b: Merge "Make sure we get valid package name or fail." into mnc-dev
...
* commit 'f25f3bd8718df8845c83f96e4f87d6dd3b974d0c':
Make sure we get valid package name or fail.
2015-07-16 00:22:02 +00:00
Svetoslav
f25f3bd871
am 3c5fe9de: am 1f1f0cee: am eb16e1fb: am 08dda27b: Merge "Make sure we get valid package name or fail." into mnc-dev
...
* commit '3c5fe9de7fdbab2db277b8136552d85e809f0d54':
Make sure we get valid package name or fail.
2015-07-16 00:05:12 +00:00
Svetoslav
eb16e1fb22
am 08dda27b: Merge "Make sure we get valid package name or fail." into mnc-dev
...
* commit '08dda27be4678f2ab5bdc7e210d511ec105c158c':
Make sure we get valid package name or fail.
2015-07-15 23:13:03 +00:00
Svetoslav
7395cbf070
Make sure we get valid package name or fail.
...
bug:22492225
Change-Id: I7b7dce9a8e398c4615bcb700de80241e94c4320c
2015-07-15 15:58:44 -07:00
Jim Miller
aa1a35ba27
am 2e56339a: am bcedcde8: am 204c2de8: am c7b0435c: resolved conflicts for merge of 1d4247c4 to mnc-dr-dev
...
* commit '2e56339a4a1133e9aface1c851f1ab67cff72109':
Improve tracking of screen on reasons.
2015-07-15 22:40:32 +00:00
Jim Miller
2e56339a4a
am bcedcde8: am 204c2de8: am c7b0435c: resolved conflicts for merge of 1d4247c4 to mnc-dr-dev
...
* commit 'bcedcde8093b48c3d013cc57dde42bdd17d6dcb9':
Improve tracking of screen on reasons.
2015-07-15 22:26:05 +00:00
Jim Miller
c7b0435cc7
resolved conflicts for merge of 1d4247c4 to mnc-dr-dev
...
Change-Id: I057c529dcd5d48e0dcf256a9d096c5d8b815892a
2015-07-15 14:33:10 -07:00
Dianne Hackborn
280a64e793
Improve tracking of screen on reasons.
...
- New screen on app op to record the last time each app has
caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
is asking to have the screen turned on.
Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on. To
make this better we need a new API where it can specify who it is
calling the API for.
Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
2015-07-15 09:59:07 -07:00