Commit Graph

245370 Commits

Author SHA1 Message Date
Ajay Panicker
2759e429d1 Protect TRANSFER_COMPLETE broadcast
Bug: 28621801
Change-Id: Ia90abd00694ae80000f59ee0a17826592fd2159b
2016-05-06 15:11:30 +00:00
Steve McKay
9a76143ef5 Merge "Fix regression, show internal storage option..." into nyc-dev 2016-05-06 15:07:50 +00:00
Julia Reynolds
892a253432 Autobundle all notifications; don't leave the most recent one free.
Change-Id: I0c30e34d09852673a475392411d0bb8fdc2f7aa3
Fixes: 28615503
2016-05-06 10:24:39 -04:00
Julia Reynolds
20aef8a291 Quicksettings accessibility.
Bug: 15696340
Change-Id: I6887e2dad4822911d3a1642aaec5703174b57330
2016-05-06 10:24:38 -04:00
TreeHugger Robot
b8dd0c3786 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-06 14:15:15 +00:00
TreeHugger Robot
d9a4a6df9a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-06 14:12:22 +00:00
David Brazdil
ee057752cc Hide 'Optimizing apps' dialog if not M->N upgrade
Recent changes reduced the amount of time spent optimizing apps at
post-OTA boot. Instead of briefly showing the 'Optimizing apps'
dialog, we hide it completely.

The dialog is still shown for OTAs from a pre-N version of Android
since they can take a non-negligible amount of time (still much less
than in M).

Bug: 27350503
Change-Id: I5f6dae0c69799e1fc522f36453d2671b333bef0e
2016-05-06 14:49:58 +01:00
Tony Mak
13532bdd2e Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev 2016-05-06 12:06:29 +00:00
Bill Yi
f9eb8282cf Import translations. DO NOT MERGE
Change-Id: I310e4c4effad31d6706d1a3260caa3bc2b6107f6
Auto-generated-cl: translation import
2016-05-06 03:13:32 -07:00
Android Build Merger (Role)
06e066e9e1 Merge "Update MIDI package summary am: 15a9a35bee am: c1b551aba6 am: fad0efcdb9" into nyc-dev 2016-05-06 06:14:52 +00:00
Glenn Kasten
0b6f45ef30 Update MIDI package summary am: 15a9a35bee am: c1b551aba6
am: fad0efcdb9

* commit 'fad0efcdb96f87da9ded7474c4bfa67a6f221a88':
  Update MIDI package summary

Change-Id: I98018736d395487e3e680bef7bbb770e61b54389
2016-05-06 06:14:22 +00:00
Glenn Kasten
9bef3417c9 Update MIDI package summary am: 15a9a35bee am: c1b551aba6
am: fad0efcdb9

* commit 'fad0efcdb96f87da9ded7474c4bfa67a6f221a88':
  Update MIDI package summary

Change-Id: Icb509b232ea816bb6305da6f38677d3cb6bea55e
2016-05-06 06:12:13 +00:00
Glenn Kasten
fad0efcdb9 Update MIDI package summary am: 15a9a35bee
am: c1b551aba6

* commit 'c1b551aba6f760ac41bcaf4391c1ff861803de27':
  Update MIDI package summary

Change-Id: Ic7a9920dc3f4a70f5f4eb718bc9f2dd00c1bbb7c
2016-05-06 06:07:28 +00:00
Glenn Kasten
c1b551aba6 Update MIDI package summary
am: 15a9a35bee

* commit '15a9a35beeebeed42335d9f51663daad932a64b2':
  Update MIDI package summary

Change-Id: I3a86d68c14127e7969d300f77c10e0fe807cad72
2016-05-06 06:02:44 +00:00
TreeHugger Robot
2c7d670933 Merge "allow optionally skipping of initial launch" into nyc-dev 2016-05-06 04:44:19 +00:00
Bill Yi
3b4672d8ae Import translations. DO NOT MERGE
Change-Id: I15055663e1705ae0e64ca3f4242bbad3748461e4
Auto-generated-cl: translation import
2016-05-05 21:28:01 -07:00
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot
ea162c3c79 Merge "Prepare to replace windows across recreate()." into nyc-dev 2016-05-05 19:38:17 +00:00
Chris Tate
e2cdb20cf8 Merge "Ensure that the stream feeder doesn't hang in write..." into nyc-dev 2016-05-05 19:35:39 +00:00