Commit Graph

52216 Commits

Author SHA1 Message Date
Selim Cinek
7957a3331c am 912696e7: Merge "Fixed logspam and handling subwindows with the input consumer" into mnc-dev
* commit '912696e79785ad26bb2f27354bedce1739f311e3':
  Fixed logspam and handling subwindows with the input consumer
2015-05-26 07:41:06 +00:00
Selim Cinek
912696e797 Merge "Fixed logspam and handling subwindows with the input consumer" into mnc-dev 2015-05-26 07:34:18 +00:00
Svet Ganov
62e609eeb7 am a7590243: Merge "Hide pakcage installer system APIs." into mnc-dev
* commit 'a75902439403966b9308d38fcf5e51c20e43a583':
  Hide pakcage installer system APIs.
2015-05-23 20:43:39 +00:00
Svet Ganov
a759024394 Merge "Hide pakcage installer system APIs." into mnc-dev 2015-05-23 20:31:55 +00:00
Svet Ganov
0b316706b1 Hide pakcage installer system APIs.
Change-Id: If5245ed2be7a3ebb50a7af924be85894314f6f47
2015-05-23 13:25:11 -07:00
Selim Cinek
d6623618b2 Fixed logspam and handling subwindows with the input consumer
Bug: 21402648
Change-Id: I4c1c73487dfd19ba452ff2077d8541547f149c3b
2015-05-23 01:57:41 +00:00
Dianne Hackborn
9f61a3c56b am dd5ee4b8: Merge "Revert "resolved conflicts for merge of 47249f2a to mnc-dev"" into mnc-dev
* commit 'dd5ee4b89083ec9b50b8c9739274136b0c74abb5':
  Revert "resolved conflicts for merge of 47249f2a to mnc-dev"
2015-05-23 00:45:25 +00:00
Dianne Hackborn
dd5ee4b890 Merge "Revert "resolved conflicts for merge of 47249f2a to mnc-dev"" into mnc-dev 2015-05-23 00:34:35 +00:00
Simranjit Singh Kohli
1fc89f0c66 am aefdaa5c: Merge "[ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]" into mnc-dev
* commit 'aefdaa5cbd2a68aa6c8e7d229b897237562cebcb':
  [ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]
2015-05-23 00:33:10 +00:00
Simranjit Singh Kohli
aefdaa5cbd Merge "[ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]" into mnc-dev 2015-05-23 00:20:40 +00:00
Simranjit Singh Kohli
734f8fb69d [ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]
Fixing lots of bugs related to the ChooseAccount Activities.
1. Fix jank which is seen when no accounts are present on the device.
2. After addition of the account, return to the user.
3. Don't crash when the user provides null to allowableAccountTypes.
4. Updated documentation of AccountManager#newChooseAccountIntent.
5. Fix NPE.

Bug: 13104800
Bug: 17926560
Bug: 9626001

Change-Id: I0d1913e46560cfb458526a7c930a38049602d8f1
2015-05-22 17:19:21 -07:00
Amith Yamasani
bbc1724c56 am 7870550a: Merge "Add getPermissionGrantState method in device policy" into mnc-dev
* commit '7870550a1b6e1110bf461633970e439d0243a868':
  Add getPermissionGrantState method in device policy
2015-05-23 00:13:46 +00:00
Amith Yamasani
7870550a1b Merge "Add getPermissionGrantState method in device policy" into mnc-dev 2015-05-23 00:05:47 +00:00
Yin-Chia Yeh
930c47429a am 5cf9d8ac: Merge "Camera: update available LSC map mode key type" into mnc-dev
* commit '5cf9d8ac94f4a3e00ef32c382950a9cd5e8fd4a7':
  Camera: update available LSC map mode key type
2015-05-22 23:48:13 +00:00
Yin-Chia Yeh
5cf9d8ac94 Merge "Camera: update available LSC map mode key type" into mnc-dev 2015-05-22 23:40:33 +00:00
Yin-Chia Yeh
656931d36d Camera: update available LSC map mode key type
Bug: 21403373
Change-Id: I37101e2d0ef5cb8d66676dcdb16938ac8fe85c64
2015-05-22 16:37:27 -07:00
Dianne Hackborn
4bb6b751fb Revert "resolved conflicts for merge of 47249f2a to mnc-dev"
This reverts commit c7becb7ee7, reversing
changes made to 8562b08f04.
2015-05-22 16:34:44 -07:00
Yin-Chia Yeh
9a582ad990 am 9fbdc874: Merge "Camera2: update FpsRange requirement" into mnc-dev
* commit '9fbdc87422efe54f075ce8c40d460a3a56449ed6':
  Camera2: update FpsRange requirement
2015-05-22 21:11:05 +00:00
Yin-Chia Yeh
9fbdc87422 Merge "Camera2: update FpsRange requirement" into mnc-dev 2015-05-22 20:57:08 +00:00
Amith Yamasani
184b3753de Add getPermissionGrantState method in device policy
This is to have a way to query what permission state was set by
the profile owner.

Bug: 21356830
Change-Id: Ie396e946b4285267c1d95f82b9d9765b43697d3c
2015-05-22 13:55:57 -07:00
Yin-Chia Yeh
5855162f80 Camera2: update FpsRange requirement
Codegen doc update only.

Bug:13639914
Change-Id: Id8a4a237c409725831a65b4f134422cd261cad52
2015-05-22 13:50:10 -07:00
Adam Powell
79691ac498 am 94518a4c: Merge "Restore app expectations around drawable visibility change timing" into mnc-dev
* commit '94518a4c35801fb0b4c0c8bdf2975225fce14d78':
  Restore app expectations around drawable visibility change timing
2015-05-22 20:04:01 +00:00
Adam Powell
94518a4c35 Merge "Restore app expectations around drawable visibility change timing" into mnc-dev 2015-05-22 19:48:54 +00:00
Dianne Hackborn
dc9cd47c58 am fa4d547d: Merge "Improve reporting to apps of transaction too large failures." into mnc-dev
* commit 'fa4d547d5813a8f5c298efd089890b5b502df76d':
  Improve reporting to apps of transaction too large failures.
2015-05-22 19:03:57 +00:00
Dianne Hackborn
fa4d547d58 Merge "Improve reporting to apps of transaction too large failures." into mnc-dev 2015-05-22 18:52:41 +00:00
Adam Powell
eb2b0af22c Restore app expectations around drawable visibility change timing
When we update drawable visibility has changed to be part of
View.onVisibilityChanged instead of an overload of
setVisibility. While this covers more cases that we were previously
missing, it also means that we now set drawable visibility from the
View constructor via the call chain view.setFlags to
view.onVisibilityChanged to drawable.setVisibility, resulting in us
passing a 'this' pointer all over before the object is fully
initialized. (i.e. a Bad Thing.)

In general we've gotten away with playing fast and loose with this
sort of thing as a part of view inflation - calling various non-final
setters that may invoke callbacks as needed rather than initializing
view fields directly. Unfortunately it also means that we can cause a
lot of hard to trace bugs and in the long run we should try to clean
up as much of it as we can.

In this case, some apps were expecting inflation to have finished
completely before any drawable visibility changed. If a view's
visibility changes but it's not attached to a window, does it make a
callback?

The fix: no. We won't dispatch onVisibilityChanged to detached views,
but we will dispatch it when a view becomes attached.

Also fix a bug where we could end up telling a view its visibility
changed to (INVISIBLE | GONE), which just doesn't make any sense.

Bug 20103422

Change-Id: Ifba54c36114e85cf64869afcca766c30d601a16c
2015-05-22 11:21:17 -07:00
Chien-Yu Chen
a54ca62a1e am f5b1e39c: Merge "Camera2: Implement toString() for camera2 params" into mnc-dev
* commit 'f5b1e39c2e47a09e5df7d1cfbf05abcca0d429c9':
  Camera2: Implement toString() for camera2 params
2015-05-22 18:19:58 +00:00
Chien-Yu Chen
f5b1e39c2e Merge "Camera2: Implement toString() for camera2 params" into mnc-dev 2015-05-22 18:15:05 +00:00
Chris Craik
0b9c3abbe3 am 33416a93: Merge "Disable density scaling for HW canvas" into mnc-dev
* commit '33416a9363a8d78bf10818d40806085a4d1ba311':
  Disable density scaling for HW canvas
2015-05-22 18:07:14 +00:00
Chris Craik
33416a9363 Merge "Disable density scaling for HW canvas" into mnc-dev 2015-05-22 17:57:08 +00:00
Chris Craik
9c08ee0f6c Disable density scaling for HW canvas
bug:20692121

Change-Id: Ief4514ba55857e183fa281f28e5aceac08d51990
2015-05-22 10:49:48 -07:00
Chien-Yu Chen
310f381eac Camera2: Implement toString() for camera2 params
Implement toString() for BlackLevelPattern, InputConfiguration, and
StreamConfigurationMap.

Bug: 16899576
Change-Id: Ide1cf103f3282750653ce7bdc29c0b74920d4855
2015-05-22 10:40:21 -07:00
Fyodor Kupolov
12c62ee284 am 96616a57: Merge "Use factory methods for RestrictionEntry" into mnc-dev
* commit '96616a57f3af05d4808fb5b84e758000f6ab5372':
  Use factory methods for RestrictionEntry
2015-05-22 16:37:49 +00:00
Fyodor Kupolov
96616a57f3 Merge "Use factory methods for RestrictionEntry" into mnc-dev 2015-05-22 16:21:20 +00:00
Clara Bayarri
b2eb4ddaa1 am ae0940fe: Merge "Update the PROCESS_TEXT action javadoc to include types" into mnc-dev
* commit 'ae0940fe754b7aba552b4a5cd616df052606ccd1':
  Update the PROCESS_TEXT action javadoc to include types
2015-05-22 10:33:55 +00:00
Clara Bayarri
ae0940fe75 Merge "Update the PROCESS_TEXT action javadoc to include types" into mnc-dev 2015-05-22 10:24:57 +00:00
Erik Kline
bfb01502b1 am 2dcba49c: Merge "Notify only on loss of provisioning." into mnc-dev
* commit '2dcba49caf114dd24ffc1c26a11683c5cb21e3ff':
  Notify only on loss of provisioning.
2015-05-22 04:29:43 +00:00
Erik Kline
2dcba49caf Merge "Notify only on loss of provisioning." into mnc-dev 2015-05-22 04:22:04 +00:00
Erik Kline
b1eebaeb92 Notify only on loss of provisioning.
Lots of code refactoring, include:
    - no longer watch for on-link proxies (only routers and DNS servers)
    - keep track of NUD state of neighbors of interest

Bug: 18581716
Change-Id: Ia7dbef0690daf54f69ffecefc14e1224fd402397
2015-05-22 13:03:08 +09:00
Keisuke Kuroyanagi
30dadafe67 am 1733bd3d: Merge "Fix: Insertion handle can be moved just by tapping." into mnc-dev
* commit '1733bd3defde7818940d72dac95bb18fb8d70b22':
  Fix: Insertion handle can be moved just by tapping.
2015-05-22 02:41:20 +00:00
Keisuke Kuroyanagi
1733bd3def Merge "Fix: Insertion handle can be moved just by tapping." into mnc-dev 2015-05-22 02:28:26 +00:00
Dianne Hackborn
c890f25a45 am 8b20cdb2: Merge "Add API to track usage time of apps." into mnc-dev
* commit '8b20cdb27bc5b4c433c4fc650203be9a25842bbd':
  Add API to track usage time of apps.
2015-05-22 01:24:58 +00:00
Dianne Hackborn
e5c4262109 Improve reporting to apps of transaction too large failures.
If the app tried to do various things with too much data --
starting an activity, starting a service, sending a broadcast --
this would fairly silently fail with little indication of what
was going on.  Fix this in two ways:

- Now when the native code generates a TransactionTooLargeException,
  it may include an additional message in it telling you how much
  data was in the parcel being sent, to help you understand why
  this happening.

- In all the framework code paths where we call to the system and
  may fail, convert these failures into a a runtime exception and
  rethrow them back to the app so that it will clearly get the
  above message.

Change-Id: I745159b97d3edb6fca86aa09cbc40c1f15a7d128
2015-05-21 18:19:50 -07:00
Dianne Hackborn
8b20cdb27b Merge "Add API to track usage time of apps." into mnc-dev 2015-05-22 01:12:44 +00:00
Selim Gurun
aa69c80f89 am 95821eea: Merge "Clean remaining API related issues." into mnc-dev
* commit '95821eeabc1d6ae07ed2c3e6763f17473fb32ae3':
  Clean remaining API related issues.
2015-05-22 01:11:58 +00:00
Selim Gurun
95821eeabc Merge "Clean remaining API related issues." into mnc-dev 2015-05-22 01:02:14 +00:00
Etan Cohen
109e9c449d Merge commit '93bbf27' into merge 2015-05-21 17:59:49 -07:00
Etan Cohen
6cb5fcaad1 Merge commit '35105ee7' into merge 2015-05-21 17:58:25 -07:00
Selim Gurun
98fe09cba0 Clean remaining API related issues.
Bug:21063767
Change-Id: Ifb6936699367b4cc1641b74c890856c0b51978d2
2015-05-21 17:56:58 -07:00
Filip Gruszczynski
91e5b0f598 Merge "resolved conflicts for merge of 47249f2a to mnc-dev" into mnc-dev 2015-05-22 00:02:48 +00:00