Commit Graph

246497 Commits

Author SHA1 Message Date
Nathan Harold
08acd3ce28 Merge "Coerce 8-bit bsic to Integer if Invalid" into nyc-dev 2016-05-06 03:22:23 +00:00
Nathan Harold
5b45c62a1a Merge "CellInfo Parceling for Invalid Values" into nyc-dev 2016-05-06 03:20:46 +00:00
Tyler Gunn
2cbe2b5816 Un-@hide multi-endpoint APIs.
Bug: 28621640
This reverts commit 1bf206b766.
Change-Id: If8c85e4adeb017eec2b7e8199010deae2a920c6a
2016-05-06 03:07:45 +00:00
Guang Zhu
8f4fd67e7c allow optionally skipping of initial launch
Current harness performs one round of app launch as a "warm up", and
does not include that into final app launch time calculation. This
change skips this process so that it can speed up local test run
investigation.

Change-Id: I0b1948b2247d9f7e442e799d537508fba6dfa508
2016-05-05 19:45:22 -07:00
Dirk Dougherty
2111da143a Merge "Add vanity url for bg optimations." into mnc-mr-docs am: d4c3473906 am: 4521e4e605 am: 631316a832
am: 61926ad85f

* commit '61926ad85fdd9b3cb6444f2ac41a14b9680f98c6':
  Add vanity url for bg optimations.

Change-Id: Ieca598b5a6260a9ec6fe03b13d32492230a4207c
2016-05-06 02:29:53 +00:00
Dirk Dougherty
61926ad85f Merge "Add vanity url for bg optimations." into mnc-mr-docs am: d4c3473906 am: 4521e4e605
am: 631316a832

* commit '631316a83231bdd1089261c165b87a9fff08822a':
  Add vanity url for bg optimations.

Change-Id: Iec34ba687fa442be88710e3f918be9fb721a9f11
2016-05-06 02:24:40 +00:00
Dirk Dougherty
631316a832 Merge "Add vanity url for bg optimations." into mnc-mr-docs am: d4c3473906
am: 4521e4e605

* commit '4521e4e60518b9c32948b2027822af8c30de8576':
  Add vanity url for bg optimations.

Change-Id: Ic05784b96e79b0222f59f1f9ee07edf9bce447f6
2016-05-06 02:19:49 +00:00
Dirk Dougherty
4521e4e605 Merge "Add vanity url for bg optimations." into mnc-mr-docs
am: d4c3473906

* commit 'd4c3473906ea86f9b18ffaa3856cb9d97fca139b':
  Add vanity url for bg optimations.

Change-Id: I765f0c558ff2d74c536cbdf4c0fbdf29dd690fdb
2016-05-06 02:15:15 +00:00
Glenn Kasten
15a9a35bee Update MIDI package summary
Bug: 28625060
Change-Id: If552ca8e1a0666d402b5f536699bf3fb09c1e324
(cherry picked from commit 9a279ef267)
2016-05-06 02:03:22 +00:00
Dirk Dougherty
d4c3473906 Merge "Add vanity url for bg optimations." into mnc-mr-docs 2016-05-06 02:02:16 +00:00
Chris Craik
fa050d6355 Merge "Fix status bar background flicker" into nyc-dev
am: d0fa4d3aaf

* commit 'd0fa4d3aafa42da696c006ab96a11ed54deec14c':
  Fix status bar background flicker

Change-Id: I8cb0909f952aa0e8bf7705d753fd1bc0953187ba
2016-05-06 01:56:56 +00:00
Wale Ogunwale
97c1a72c3c Merge "Fixed deadlock between AM and WM when animating pinned stack." into nyc-dev
am: 3a94ec5617

* commit '3a94ec56173170306b2304c858dbbeb99c3c93cc':
  Fixed deadlock between AM and WM when animating pinned stack.

Change-Id: I51938073894ec18042a987645a424811213061ad
2016-05-06 01:51:47 +00:00
TreeHugger Robot
d0fa4d3aaf Merge "Fix status bar background flicker" into nyc-dev 2016-05-06 01:49:34 +00:00
TreeHugger Robot
3a94ec5617 Merge "Fixed deadlock between AM and WM when animating pinned stack." into nyc-dev 2016-05-06 01:43:31 +00:00
Svetoslav Ganov
eaca4c5022 Properly map runtime permissions to app ops
The code assumed mapping from a permission to an app op
is one to one but this is not always the case. For example,
READ_SMS is mapped to OP_READ_SMS and OP_READ_ICC_SMS which
resulted mapping the READ_SMS permission to the OP_READ_ICC_SMS
instead of OP_READ_SMS resulting in a failure to find the op
name given the permission.

This breaks the AppOpsManager.permissionToOp() API for READ_SMS
returning null instead of OPST_READ_SMS. The consequence of this
is that the apps that proxy permission protected operations may
let the operations for READ_SMS go through as they would get a
null app op, i.e. no app op while there is one and it can be
disabled for the caller.

bug:28620132

Change-Id: I92f8ef375ae2122b7266c50653ce73f3d90f4b28
2016-05-05 18:21:09 -07:00
Jean-Michel Trivi
3b11892856 Fix javadoc missing possible return value in AudioRecordingConfiguration
Bug 28623134

Change-Id: I342121cc82bbee3e9b3373db0d70a08eb781eedf
2016-05-05 18:12:00 -07:00
Winson
616a2a158a Fix edge case crash with invalid bitmap dimensions.
am: f9e79e0499

* commit 'f9e79e0499a114b184e0d0f4dbd45b3d690a4657':
  Fix edge case crash with invalid bitmap dimensions.

Change-Id: Id8464d81b228ff917226a7088ab9199b885c32c2
2016-05-06 00:46:44 +00:00
Winson
f9e79e0499 Fix edge case crash with invalid bitmap dimensions.
- In these cases, skip returning an animation spec for that task

Bug: 28235453
Change-Id: I611dc4390c0cbd2ca5f16112e4784848b2d6896f
2016-05-06 00:35:10 +00:00
Chris Thornton
d9729d1df8 Fix NPE in KeyphraseEnrollmentInfo.toString()
If there are no enrollment applications on the system, but someone still
makes a KeyphraseEnrollmentInfo and tries to print it, it would generate
a NPE on a map object. Instead of setting the map to null when we don't
find any enrollment applications, we can just set it to an empty map.

Bug:28622866
Change-Id: I023e6fd90effd3143c19817a0d6637a013bebc31
2016-05-05 17:20:44 -07:00
Wale Ogunwale
2ba712905f Fixed deadlock between AM and WM when animating pinned stack.
In Ie18cc04ceeabd94093017f79676253e1189f5249 we delay ending the
pinned stack animation until app transition is done. However, the
signal that app transition is done comes in with the window manager
lock held and the we call into AM to do some additional work which
requires AM lock to be aquired. Since AM depends on WM we shouldn't
be holding the WM lock while calling into AM since AM can call into
WM with its lock held. We now post a runnable to finish the pinned
stack animation without the WM lock held.

Bug: 28564514
Change-Id: I8450123e992e569a74609883de810cdc611ced81
2016-05-05 16:47:45 -07:00
Adam Lesinski
001f8c57a8 Merge "Fix issue where existing Activity Resources references would not update" into nyc-dev
am: c1ff12eccd

* commit 'c1ff12eccd0e48ff7feab62387e60ae4010a3cc9':
  Fix issue where existing Activity Resources references would not update

Change-Id: I91cecfc1b5942d7e1c069e739be72a23472f6d47
2016-05-05 23:35:28 +00:00
Adam Lesinski
c1ff12eccd Merge "Fix issue where existing Activity Resources references would not update" into nyc-dev 2016-05-05 23:23:43 +00:00
Chris Craik
867b812eff Fix status bar background flicker
Fixes: 28533578

Change-Id: I075f49b7d20e0e95e790a9755d104a0a51575054
2016-05-05 16:22:21 -07:00
Vladislav Kaznacheev
f1febf2700 Merge "Add @TestApi to ActivityOptions.setLaunchStackId" into nyc-dev
am: 7d2a0a0571

* commit '7d2a0a05715841b582cbaefa3fd0e0a542064556':
  Add @TestApi to ActivityOptions.setLaunchStackId

Change-Id: I7996b43fa80b5965feb69028be2526faa379a134
2016-05-05 23:16:07 +00:00
Youhan Wang
2da9b2b8bf Add getAidForApptype().
To TelephonyManager and ITelephony.aidl.

Bug:27612001
Change-Id: Icb9dc5e29f3a635b2d807e8abcd15a5e1a85b02d
2016-05-05 16:12:58 -07:00
Adam Lesinski
8ce4e12c73 Fix issue where existing Activity Resources references would not update
When relaunching an Activity, the DecorView and ViewRootImpl is re-used,
along with the IBinder activity token. This means that when we create
new resources, we end up just updating the base Activity resources.

However, we would set the configuration to the new requested override
config and then proceed to update existing Resources references, which
would return immediately due to the equality check for configuration
updates.

This change pushes the setting of the new override config to the
updateResourcesForActivity method, which will properly update Resources
references that are held in the re-used DecorView.

Bug:27915587
Change-Id: I113007a40fa464b8a234b073dcf851e16fee0177
2016-05-05 23:08:09 +00:00
Nathan Harold
a326a4827e Coerce 8-bit bsic to Integer if Invalid
Bug: 28299027
Change-Id: I1ff3314844991cf49cab6099a7a4c436980d52c9
2016-05-05 16:04:56 -07:00
Nathan Harold
efbb8f3376 CellInfo Parceling for Invalid Values
Within CellInfo Fields, Integer.MAX_VALUE should indicate
that a field is not present in a report. This change makes the
invalid value consistent, and also ensures that it is checked
in the calculation of power levels / asu.

-Update parcel/unparcel functions to avoid -MAX_VALUE
-Update LTE and CDMA asuLevel() and level() functions to be
 consistently aware of the possibility of incomplete information

Bug: 27946114
Change-Id: Iacdc85db894e4a7809da8b5dc759488a1b6321ea
2016-05-05 16:04:56 -07:00
Vladislav Kaznacheev
7d2a0a0571 Merge "Add @TestApi to ActivityOptions.setLaunchStackId" into nyc-dev 2016-05-05 23:04:49 +00:00
Christopher Tate
3f0db943c5 Correct docs about what is ignored in full-data backup
am: c5be8f8a4b

* commit 'c5be8f8a4b9946f26f43201a06e7ec3f9b34857e':
  Correct docs about what is ignored in full-data backup

Change-Id: If70b6d247126758dcc82ec7780060ad99253a32d
2016-05-05 22:31:54 +00:00
Joe Onorato
cad814b9bf Merge "Add the individual wakeup alarm counts to the batterystats checkin." into nyc-dev
am: 47384f90b4

* commit '47384f90b4adb6dc4a005a7870e0ec6841042151':
  Add the individual wakeup alarm counts to the batterystats checkin.

Change-Id: I86640737d6f188b6b00901937d498ce1148ec10f
2016-05-05 22:21:49 +00:00
Christopher Tate
c5be8f8a4b Correct docs about what is ignored in full-data backup
You can't back up content in e.g. getNoBackupFilesDir() even if your
app explicitly tries to.

Bug 28321431

Change-Id: Ifa2a4bc518de03aba4c8809e60d8bb90fce767f8
2016-05-05 22:20:46 +00:00
Joe Onorato
47384f90b4 Merge "Add the individual wakeup alarm counts to the batterystats checkin." into nyc-dev 2016-05-05 22:11:57 +00:00
Yohei Yukawa
117facb300 Merge "Fix stale InputMethodManager#mFullscreenMode." into nyc-dev
am: 9f76abc8ab

* commit '9f76abc8ab9db3306c8061e9719dbe2a998031f3':
  Fix stale InputMethodManager#mFullscreenMode.

Change-Id: I09eb284cb9a9b0dea96e3092a5f81ab894ee902b
2016-05-05 22:02:22 +00:00
Amith Yamasani
e8f013fcdd Merge "Fix a regression in registering for package_removed" into nyc-dev
am: 7be089b74e

* commit '7be089b74e4c8be473caa6fc2c2b0268c5e9d83c':
  Fix a regression in registering for package_removed

Change-Id: Ic98eeddf9b1754b444a11531b2f762614751b111
2016-05-05 22:02:20 +00:00
Dianne Hackborn
1f1291cbe3 Merge "Fix issue #28602068: Add count to job scheduler stats" into nyc-dev
am: d90be6cccc

* commit 'd90be6cccca683e34566f5550ebb34f1c8e75b69':
  Fix issue #28602068: Add count to job scheduler stats

Change-Id: I60628c4c2150b51b34ad192bbca29bfd420e4b2f
2016-05-05 22:02:18 +00:00
Yohei Yukawa
9f76abc8ab Merge "Fix stale InputMethodManager#mFullscreenMode." into nyc-dev 2016-05-05 21:55:50 +00:00
TreeHugger Robot
7be089b74e Merge "Fix a regression in registering for package_removed" into nyc-dev 2016-05-05 21:54:18 +00:00
Joe Onorato
1476d32b87 Add the individual wakeup alarm counts to the batterystats checkin.
Bug: 28601365
Change-Id: I94ad69eeb575f75d62bd45076184f521bd11052d
2016-05-05 14:53:25 -07:00
Dianne Hackborn
d90be6cccc Merge "Fix issue #28602068: Add count to job scheduler stats" into nyc-dev 2016-05-05 21:53:23 +00:00
Steve McKay
5acf1ac2ab Fix regression, show internal storage option...
...for non "Downloads" scenarios like "Copy to".
Bug: 28552420

Change-Id: If317e3f575a40cac69628c1b6eecfc6be1dfcbce
2016-05-05 14:38:55 -07:00
Jack Yu
597be61652 Merge "Added additional cbs channels support" into nyc-mr1-dev 2016-05-05 21:00:49 +00:00
Chris Craik
1ce612012f Merge "Add layer tracing tags in new pipeline" into nyc-dev
am: f8892359b0

* commit 'f8892359b0ae07031160a71cf3f7e3a86604c2b1':
  Add layer tracing tags in new pipeline

Change-Id: I04a15d55b50f67dc808b63b4c95843bc38b48262
2016-05-05 20:10:38 +00:00
Jason Monk
97b48fdc6b Merge "QS Edit: fix some move logic" into nyc-dev
am: 8e788d015c

* commit '8e788d015cdb23077a9778e812f7de35819f8ed5':
  QS Edit: fix some move logic

Change-Id: Ie32e34379d6bd2764ad523dab8bc6d25a251e670
2016-05-05 20:01:56 +00:00
Selim Cinek
50e7467eb6 Fixed a bug where the statusbar could become empty
Because fullscreen intent notifications could suddenly
become children.

Change-Id: I2eb8f2bf671b5d039ac3493f281debbe730dc828
Fixes: 28166429
2016-05-05 15:58:10 -04:00
TreeHugger Robot
f8892359b0 Merge "Add layer tracing tags in new pipeline" into nyc-dev 2016-05-05 19:57:08 +00:00
Jason Monk
8e788d015c Merge "QS Edit: fix some move logic" into nyc-dev 2016-05-05 19:51:55 +00:00
Robert Carr
0bca8d3508 Merge "Prepare to replace windows across recreate()." into nyc-dev
am: ea162c3c79

* commit 'ea162c3c7992b01d8d56766a94e56a0cee3fe3b2':
  Prepare to replace windows across recreate().

Change-Id: If97dc53f59b5dbc7cb06c29e6aec9ff0fe52db76
2016-05-05 19:47:31 +00:00
Christopher Tate
156b1ab6a0 Merge "Ensure that the stream feeder doesn\'t hang in write..." into nyc-dev
am: e2cdb20cf8

* commit 'e2cdb20cf895b15acac5acaa43e2e6ffb13655b8':
  Ensure that the stream feeder doesn't hang in write...

Change-Id: I21efc9758b78df3092117ad30a044c1bf8d6a055
2016-05-05 19:47:29 +00:00
Amith Yamasani
ac59f75e80 Fix a regression in registering for package_removed
Change-Id: I5d8bcc682f482d965cc9b76b5598a6521539272f
Fixes: 28616418  App is not removed from power whitelist when uninstalled
2016-05-05 12:38:17 -07:00