Commit Graph

246497 Commits

Author SHA1 Message Date
Wale Ogunwale
a092aa436e Merge "Don't move stack to front when creating a task for activity to be started" into nyc-dev 2016-05-02 14:46:39 +00:00
Todd Kennedy
4e4fca43b0 Merge "Restrict updates of system packages" into nyc-dev 2016-05-02 14:44:20 +00:00
Nadia Benbernou
700c64200e Merge "Add api to WearableExtender for setting and getting the dismissal id. Bug:27696581" into nyc-dev
am: f4810f5506

* commit 'f4810f5506203ac03439d1ed6e33e021540568f8':
  Add api to WearableExtender for setting and getting the dismissal id. Bug:27696581

Change-Id: Id88f0a6b35750313554ee2e52347ac51c45e88c8
2016-05-02 14:26:44 +00:00
Nadia Benbernou
f4810f5506 Merge "Add api to WearableExtender for setting and getting the dismissal id. Bug:27696581" into nyc-dev 2016-05-02 14:15:46 +00:00
Pierre Imai
3ac235673c Merge changes I86257bc8,I5c2221c5 into nyc-dev
am: 4a992cbde8

* commit '4a992cbde834fdf3770e34b21361b47f4786f65f':
  Use Netd's binder interface to set resolver configuration.
  Add Gservices settings for resolver configuration.

Change-Id: I26969ef34712d12d6e8a2801f2c790a07f710492
2016-05-02 13:00:09 +00:00
Lorenzo Colitti
4a992cbde8 Merge changes I86257bc8,I5c2221c5 into nyc-dev
* changes:
  Use Netd's binder interface to set resolver configuration.
  Add Gservices settings for resolver configuration.
2016-05-02 12:49:19 +00:00
Pierre Imai
bd8759bdd1 Use Netd's binder interface to set resolver configuration.
BUG: 25731675
Change-Id: I86257bc84371832466161e5357ae173c305a7d18
2016-05-02 08:29:21 +00:00
Pierre Imai
8e48e67827 Add Gservices settings for resolver configuration.
BUG: 25731675

Change-Id: I5c2221c5a2478fe2fa0fdf9ceeb13a932d758d33
2016-05-02 08:26:09 +00:00
Janis Danisevskis
390a994f67 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd am: d92fe240b9 am: 38d54f72e3
am: e0e6cf8e87

* commit 'e0e6cf8e877d9b748c5f2b10e5bccdc037e5afa7':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I5220a77379927c680c995b3872dc34ee53d1f54e
2016-05-02 08:16:21 +00:00
Janis Danisevskis
e0e6cf8e87 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd am: d92fe240b9
am: 38d54f72e3

* commit '38d54f72e3795eb67eceacf5325b14a13492b25d':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I12d68857f2fed0bb62b040df4193fc00cc97f500
2016-05-02 08:12:08 +00:00
Janis Danisevskis
38d54f72e3 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd
am: d92fe240b9

* commit 'd92fe240b9811bd1b20af0b744f1aa727c80b97c':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I7371da3bffa54b8904bd18d52b9803fb45afa31e
2016-05-02 08:08:03 +00:00
Janis Danisevskis
d92fe240b9 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs
am: 73813c06cd

* commit '73813c06cd59a94fe53483b657fa58e954c97551':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I92bcad43201a90273af9428a1a0a97e7e66b03bb
2016-05-02 08:03:54 +00:00
Janis Danisevskis
7f7337d675 Clarifies that filesystem permission 0700 is not enforced as an invariant
The 0700 permission on apps' home directories is not
enforced as a invariant. This change to the behavior
changes documentation reflects this.

Change-Id: I2257796b804574f3c6c7d273957625f4458fe81b
(cherry picked from commit b25a17b3ea)
2016-05-02 07:54:25 +00:00
Janis Danisevskis
73813c06cd Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs 2016-05-02 07:53:53 +00:00
Keisuke Kuroyanagi
c6fad96b59 Show drag handles after finishing batch edit if needed.
Drag handles are blocked from being shown if batch edit mode is active
when onPreDraw is called; however, IME can start and end batch edit
mode regardless of onPreDraw timing.
As a result, drag handles are sometimes not shown even if selection is
created and text action mode is started.

With this CL, drag handles are shown after finishing batch edit mode
if the handles were blocked from being shown in the above case.

Bug: 28366507
Change-Id: I7f099d0626bee70a63bb14bc75eefc2551a52d53
2016-05-02 15:11:41 +09:00
Daichi Hirono
07f48ad0df Do not terminate AppFuse message loop when FUSE_FORGET.
Currently AppFuse tries to terminate its message loop when it receives
FUSE_FORGET. But kernel continues to dispatch messages after FUSE_FORGET
and it should not terminate AppFuse meesage loop.

Change-Id: I070a71c35a8d80bcaaf7603305d219e65be97bc9
Fixes: 28508169
2016-05-02 12:55:35 +09:00
Seigo Nonaka
1ce1db7d4b Merge "Add missing theme entries to Holo.Light" into nyc-dev
am: 9d430f5189

* commit '9d430f5189c4060b308f59b871d7dcc2ee38b986':
  Add missing theme entries to Holo.Light

Change-Id: I1c57fd46aa65756a44af06f9b1c2a21f301d597d
2016-05-02 03:02:01 +00:00
Seigo Nonaka
9d430f5189 Merge "Add missing theme entries to Holo.Light" into nyc-dev 2016-05-02 02:55:13 +00:00
Wale Ogunwale
a4d92a0152 Don’t relaunch activity in fullscreen stack when entering split screen mode
When entering split-screen mode by long pressing the recents button, the
top task in the fullscreen stack is moved to the docked stack and the new
top task is the fullscreen stack is considered visible for a short amount
of time until sys-ui launches the recents activity. This causes the new
top activity in the fullscreen stack to be relaunched due to configuration
change.
To fix this sys-ui now sends an hint to activity manager to move the home
stack forward so that it can be on-top of the fullscreen stack and makes
it invisible before recent is launched and animated in.

Bug: 28470261
Change-Id: Icfd85e932fe913dfb498752b5878cc7c690fd559
2016-05-01 16:02:16 -07:00
Wale Ogunwale
efef374ccf Don't move stack to front when creating a task for activity to be started
This causes foucs to move to the current activity in the stack which isn't
needed. Focus will be moved when the new activity is started in the stack.

Bug: 26381750
Change-Id: Ia76962dc5ba3ce336d2a4e074d14db06eebbe78c
2016-05-01 10:39:41 -07:00
Chris Thornton
56056038f7 Keep STH state in sync with HAL
During stopAllRecognitions(), the internal state of a sound model was
being cleared (which made it look like the model was being unloaded).
However, the model was still loaded, so subsequent calls to load a 'new'
model would break.

Bug:28432002

Change-Id: I7090bf52704c6e46e3bb6d495d8fe4b8a1d9e2ad
2016-04-30 12:06:49 -07:00
Lorenzo Colitti
21f19f3d64 Merge "Address review comments on ag/962875." into nyc-dev
am: 6d1a776c26

* commit '6d1a776c26206ea44339f19e13b413aa7d25bd6d':
  Address review comments on ag/962875.

Change-Id: I201ec9b9d3d687f9b8aaba71a7e0a75cb5019319
2016-04-30 09:23:53 +00:00
TreeHugger Robot
6d1a776c26 Merge "Address review comments on ag/962875." into nyc-dev 2016-04-30 09:19:51 +00:00
Wale Ogunwale
1616125d53 Merge "Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default" into nyc-dev
am: e7fefcb565

* commit 'e7fefcb5650afddff544c008bc06ce748f635727':
  Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default

Change-Id: I8755b8cae62fe4fb86a9015ffefd04d009b5eb58
2016-04-30 03:34:56 +00:00
Adam Lesinski
5b57ee8f5a Merge "BatteryStats: Reset per-User Bluetooth and Modem controller activity" into nyc-dev
am: 4f928358d2

* commit '4f928358d2a4023dc6ba5a0bbdb1a63a3e1bfa7a':
  BatteryStats: Reset per-User Bluetooth and Modem controller activity

Change-Id: I56cdc77ad57aceb8e60f7d0f834a2064d7bcd57a
2016-04-30 03:30:28 +00:00
TreeHugger Robot
e7fefcb565 Merge "Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default" into nyc-dev 2016-04-30 03:29:27 +00:00
TreeHugger Robot
4f928358d2 Merge "BatteryStats: Reset per-User Bluetooth and Modem controller activity" into nyc-dev 2016-04-30 03:26:38 +00:00
Adam Lesinski
132d565eac Merge "BatteryStats: Keep track of coulomb counter" into nyc-dev
am: 3cb7f6bdcd

* commit '3cb7f6bdcda2697eff10853360396d8635d66120':
  BatteryStats: Keep track of coulomb counter

Change-Id: I6d7bbadd79fcc42752eaff74b6a2b6b405f3fe2a
2016-04-30 02:27:06 +00:00
TreeHugger Robot
3cb7f6bdcd Merge "BatteryStats: Keep track of coulomb counter" into nyc-dev 2016-04-30 02:21:38 +00:00
Adam Lesinski
458b877488 AAPT2: Add diff command
Adds the diff command and various small fixes to issues
discovered when diffing old AAPT built APKs with new AAPT2
built APKS.

Bug:22775504
Change-Id: I682a7fe1cf4b3efa7cbd5d18b333cf2d1046fe1b
2016-04-30 01:36:12 +00:00
Dirk Dougherty
dfa366dccf Pass -yaml to ds builds to generate _book.yaml version of reference TOC.
Change-Id: I1eced1670eb9d7892672b59f3b92833448b9949a
2016-04-29 18:06:11 -07:00
Adam Lesinski
1a2b39e61c BatteryStats: Reset per-User Bluetooth and Modem controller activity
Bug:28469956
Change-Id: I4db68ecc5b7bde8dd552caadee489b7bad3d6cbc
2016-04-29 17:56:58 -07:00
Lajos Molnar
832449800e Merge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev
am: 3c6736b078

* commit '3c6736b0785d3cf6c7a8cd687b9c63f9c7dea542':
  VideoCapabilities: account for block size for getAchievableRates

Change-Id: I69018ca03558a0dded94cf49508c3db042b4f12f
2016-04-30 00:40:46 +00:00
Adam Lesinski
926969b411 BatteryStats: Keep track of coulomb counter
Bug:27174034
Change-Id: Ica66817faa20b9788536f28f0e593483f033904b
2016-04-29 17:40:11 -07:00
TreeHugger Robot
3c6736b078 Merge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev 2016-04-30 00:36:53 +00:00
Chong Zhang
93873e4985 Do not update surface for dummy animation as long as transition is set
Transition is not set to ready until it's executed, which could happen
a bit later after the setAppVisibility where we set up the dummy.
It is rare, but an animation pass could still slip in between, and
since the transition is not ready, it modifies the scale and show a
bad wrong frame.

bug: 27742244
Change-Id: I97fb1955e810c7c4f01dc55a28d2e4ce4f47d5eb
2016-04-29 17:34:45 -07:00
Fyodor Kupolov
4d01f61e7b Do not enforce unlocked state when there is no caller
Do not enforce unlocked state when running on the background thread. User can
be in the stopping state or removed by the time the message is being processed.

Bug: 28471878
Change-Id: I1862849661d93b424a07ea94e80563bea7a94ce5
2016-04-29 17:27:16 -07:00
Wale Ogunwale
8f6c925ae7 Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default
Previous assumption was ActivityInfo was completely initialized in
PackageParser, but that isn't the case with the ResolverActivity
whose ActivityInfo in populated in PackageManagerService.
This was causing the device to exist multi-window mode since
the default ActivityInfo.resizeMode was 0 (RESIZE_MODE_UNRESIZEABLE).

Bug: 28378995
Change-Id: I46e58d434f2a0274c461a8ff00b59ed3d2a1dd52
2016-04-29 16:46:47 -07:00
Dianne Hackborn
0d3c578a80 Work on issue #28200735: AcitvityManagerService lock held for...
...300mS in bindService

Make the "slow proc start" debugging more aggressive, so it will
catch cases where it is taking more than 50ms to start.

Change-Id: I6f6eb749cf205f9890946b3ec562b7653674c3d9
2016-04-29 16:43:53 -07:00
Tianjie Xu
ac75f1effa Set security update label in framework
GmsCore will use different filenames to distinguish a security update
from a normal update. (update.zip for normal update and update_s.zip for
security update.) So, if framework observes the filename as
"update_s.zip", write command "--security" to BCB. This cmd ask the
recovery image to choose the right background string for update.

Bug: 27837319
Change-Id: I2ef12267a6be57d8a81f7f9f34c09aea54530c1f
2016-04-29 16:19:30 -07:00
Philip P. Moltmann
f24285d7b3 Visibility of pageRangeTitle =!= pageRangeText
Before if we had only a single page we showed the title, but not the
text

Change-Id: Ie2c178eaf19885e0b1dcc803b9da23ed687764a7
2016-04-29 16:16:08 -07:00
Carlos Valdivia
e04dbdfcbe Merge "Insulate the account.db from updates." into nyc-dev
am: 4ba55dc462

* commit '4ba55dc462b4e43086bef24b064d069df27e7670':
  Insulate the account.db from updates.

Change-Id: Idd9fbfd18cb893f89b68a177033bfa921397ade2
2016-04-29 23:08:50 +00:00
Carlos Valdivia
4ba55dc462 Merge "Insulate the account.db from updates." into nyc-dev 2016-04-29 23:02:39 +00:00
Jeff Sharkey
0c5c67f743 Merge "Flag to mark foreground jobs, fix data saver." into nyc-dev
am: 9a977b7d45

* commit '9a977b7d45df0d3d59c5eec7f9534c3bd5fcd91d':
  Flag to mark foreground jobs, fix data saver.

Change-Id: I358ac7296a4409c2ee1ca3e53bfbdc0af57693bf
2016-04-29 22:59:26 +00:00
Jeff Sharkey
9a977b7d45 Merge "Flag to mark foreground jobs, fix data saver." into nyc-dev 2016-04-29 22:53:22 +00:00
Philip P. Moltmann
172d840cd1 Handle more config changes and handle onDestroy
- The PrintActivity has to handle all config changes to not loose track
  close the connection to the printing app
- In the case where onDestroy is called we need to make sure to
  - not do any more UI operation
  - on async calls after destroy is already called, handle failure to
    unbind services.

Change-Id: If21335543fbfa16ecfe77d1965b2e8a13dfa14b8
2016-04-29 15:40:23 -07:00
Chris Wren
9d13633148 Merge "touch less, tap more." into nyc-dev
am: 8e060d31d1

* commit '8e060d31d14163858e55b412f0490b19b2f44dd1':
  touch less, tap more.

Change-Id: I3ed3436fd0f45d34a914bfebba39c4d274d198e9
2016-04-29 22:15:52 +00:00
TreeHugger Robot
8e060d31d1 Merge "touch less, tap more." into nyc-dev 2016-04-29 22:07:50 +00:00
Pavel Zhamaitsiak
4b4c31de80 Connectivity Metrics service: dump throttling states to dumpsys
Print throttling counters per each component and time remaining before
counters will be reset.

Also adjust estimate of space needed for events serialization.

Bug: 28204408
Change-Id: Ib57a24db554645e9f933126da00ef74c23097d1c
2016-04-29 14:57:22 -07:00
Svet Ganov
ec15777e78 Merge "Only platform defined permissions need a review." into nyc-dev
am: 0e9e5ea586

* commit '0e9e5ea58600a7b6aed1b307affdc400bfa9b33b':
  Only platform defined permissions need a review.

Change-Id: I3a70903e01ab16e3ba3d2e56017570c91d4af4c3
2016-04-29 21:46:36 +00:00