Deepanshu Gupta
8d38e7c905
Merge "Add StyleableRes annotation to TypedArray."
2015-08-13 00:25:54 +00:00
Filip Gruszczynski
2349332f9f
Only relaunch activity on significant size configuration changes.
...
Currently if the configuration width/height/smallest width changes, we
relaunch the activity or invoke onConfigurationChanged callback. When it
comes to size based configuration changes it might not be necessary: if
the size change doesn't pass one of the threshold defined by the
resources, it means there is no need to relaunch the activity.
In this CL the ActivityManager will receive the thresholds from the
application and use them to decide, whether to relaunch the activity.
The application reads the thresholds from the resources, specifically
from resource qualifiers used by the app.
Change-Id: Ie3cf0a172dc1ba0b865cf30c2962e7cfd9ad8436
2015-08-10 13:47:31 -07:00
Svetoslav Ganov
64b9b9ad9e
am 618e065c: am 546a3449: am e12a685c: am 02d6c013: am 90b030ba: Merge "Do not show removed permissions in the UI - framework" into mnc-dev
...
* commit '618e065cc14b9069954e462fc25cdc934ee3300f':
Do not show removed permissions in the UI - framework
2015-08-08 07:22:34 +00:00
Svetoslav Ganov
618e065cc1
am 546a3449: am e12a685c: am 02d6c013: am 90b030ba: Merge "Do not show removed permissions in the UI - framework" into mnc-dev
...
* commit '546a34490fbb31e40199e325473c5a510b61b55b':
Do not show removed permissions in the UI - framework
2015-08-08 07:15:24 +00:00
Svet Ganov
3e0be7440b
Do not show removed permissions in the UI - framework
...
bug:23043018
Change-Id: Ia5cf49f299eda627d9fde2b34498812afcb3a6d5
2015-08-07 23:06:04 -07:00
Deepanshu Gupta
d7bb3f8029
Add StyleableRes annotation to TypedArray.
...
Change-Id: Ice79b7791f72485aa3a6c2777334946316e72ff5
2015-08-07 21:59:53 +00:00
Filip Gruszczynski
101d93bfb8
am 42969008: am 94858568: am c3080d78: am 841d7b75: am 52d3312a: Merge "Make ResourceKey always use non-null configuration override." into mnc-dev
...
* commit '42969008ef898f204fc9f3504f85bb82ffc810c3':
Make ResourceKey always use non-null configuration override.
2015-08-04 23:47:21 +00:00
Filip Gruszczynski
42969008ef
am 94858568: am c3080d78: am 841d7b75: am 52d3312a: Merge "Make ResourceKey always use non-null configuration override." into mnc-dev
...
* commit '94858568a1ee6af7b40ae0fcc5c4453dffca1cb8':
Make ResourceKey always use non-null configuration override.
2015-08-04 23:39:08 +00:00
Filip Gruszczynski
52d3312abe
Merge "Make ResourceKey always use non-null configuration override." into mnc-dev
2015-08-04 23:02:19 +00:00
Filip Gruszczynski
a01f48681c
Make ResourceKey always use non-null configuration override.
...
We don't differentiate between null conifguration and
Configuration.EMPTY, but if ResourceKey uses both, it will produce
different hashes and won't be equal. This CL makes ResourceKey always
hold a non null reference to the Configuration object.
We started delivering the configuration overrides in
Ib2c7be0b427f5ce05e7a362bcdd496ddbc9164f0, which changed behavior from
using always null, to using both null and Conifguration.EMPTY for empty
confgiuration. Now we will switch to using only one value, which is
Configuration.EMPTY.
Bug: 22620824
Change-Id: I090fd90ac21a6b3ebc7f2974a91dd7c861af10d7
2015-08-04 15:26:14 -07:00
Steve McKay
371d458838
Merge "Populate quick view intent w/ file uris."
2015-08-04 22:07:18 +00:00
Steve McKay
6eaf3863c8
Populate quick view intent w/ file uris.
...
Change-Id: Ie4f15b11be1939f8b71752505caa9d74ab9f9680
2015-08-04 15:06:40 -07:00
Matthew Williams
da7526b4be
am 7667fa48: am 1dee8d41: am c62598bc: am d5fe5a8f: am fad3c663: Merge "Remove spurious syncmanager wake-ups" into mnc-dev
...
* commit '7667fa48224133adfbd4b1234c592988c0133713':
Remove spurious syncmanager wake-ups
2015-08-04 18:29:05 +00:00
Matthew Williams
7667fa4822
am 1dee8d41: am c62598bc: am d5fe5a8f: am fad3c663: Merge "Remove spurious syncmanager wake-ups" into mnc-dev
...
* commit '1dee8d4164553082c392b236d30144b4bad16f22':
Remove spurious syncmanager wake-ups
2015-08-04 18:18:52 +00:00
Steve McKay
2909598322
Merge "Use an explicit intent for "Quick View"..."
2015-08-04 16:40:37 +00:00
Steve McKay
c78bcb8c7f
Use an explicit intent for "Quick View"...
...
Define Intent.ACTION_QUICK_VIEW.
Change-Id: Iae85a2a6fe35cfd135ff1af6672d37cc6b33dce4
2015-08-04 09:36:29 -07:00
Dianne Hackborn
3fa5609d83
am aa860fd8: am 35c68de9: am 5dd9ef04: am b0bc8368: am 3011f645: Merge "Fix issue #22912704 : "android.process.acore has stopped" dialog keeps popping up" into mnc-dev
...
* commit 'aa860fd83ab3d3096c4bdf86297b7d8f36f5eec8':
Fix issue #22912704 : "android.process.acore has stopped" dialog keeps popping up
2015-08-04 01:40:48 +00:00
Dianne Hackborn
aa860fd83a
am 35c68de9: am 5dd9ef04: am b0bc8368: am 3011f645: Merge "Fix issue #22912704 : "android.process.acore has stopped" dialog keeps popping up" into mnc-dev
...
* commit '35c68de93dfec0a237642cca56ade0ba3a6aff92':
Fix issue #22912704 : "android.process.acore has stopped" dialog keeps popping up
2015-08-04 01:30:52 +00:00
Matthew Williams
665d0140ef
Remove spurious syncmanager wake-ups
...
BUG: 22287469
1) Fix SyncManager waking up every 2 hrs if there is nothing
to do.
2) Fix sync wake-up alarm not being properly updated if the new
alarm was in the future.
2a) Due to staus bar sync signal that were removed post-K
one of the wake-ups was for 30s in the future, removed this
@hide intent completely.
3) The SyncManager will still set a timeout alarm for 5mins after
the start of a sync. Leaving this in as to post to a handler is
less expensive but more complex, and the alarm update is
correctly working now.
Change-Id: If51c9dd68391ccaeb480a17eb5a1364c4afe4c2a
2015-08-03 18:15:12 -07:00
Dianne Hackborn
28ec27cbfa
Fix issue #22912704 : "android.process.acore has stopped" dialog keeps popping up
...
Slice 'em up!
Change-Id: Ibba3af7ec5b7f92e6d5e55a57aa838a7f7f936e1
2015-08-03 15:28:28 -07:00
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
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
Dianne Hackborn
0e3de6caca
Change MNC codename to just M.
...
Change-Id: I4281d200ff6560791c47cf9073ceea1cb509361e
2015-07-29 15:20:21 -07:00
Svetoslav Ganov
fdf59bf82f
am c875ad14: am 56de6167: am f6c2d8a9: am 6da43a83: am 9352af2a: Merge "Remove dependencies on the package installer\'s package name" into mnc-dev
...
* commit 'c875ad14ddc09d0d3a3bde58f71845123110f9f2':
Remove dependencies on the package installer's package name
2015-07-29 22:03:19 +00:00
Sailesh Nepal
6672c8ba3b
am 33ec1710: am 2830a139: am 2084291d: am 33763760: am 6b96de8d: Merge "Default permissions for sim call manager" into mnc-dev
...
* commit '33ec1710b0404f36019688ea8e285b687f81109c':
Default permissions for sim call manager
2015-07-29 22:03:03 +00:00
Svetoslav Ganov
c875ad14dd
am 56de6167: am f6c2d8a9: am 6da43a83: am 9352af2a: Merge "Remove dependencies on the package installer\'s package name" into mnc-dev
...
* commit '56de616725aca7d875fafc2a94e00ae9874fedf9':
Remove dependencies on the package installer's package name
2015-07-29 19:23:52 +00:00
Sailesh Nepal
33ec1710b0
am 2830a139: am 2084291d: am 33763760: am 6b96de8d: Merge "Default permissions for sim call manager" into mnc-dev
...
* commit '2830a13991dbd9e054aafa6b1b2b8da2a1d30681':
Default permissions for sim call manager
2015-07-29 19:03:05 +00: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
Svetoslav Ganov
9352af2a9e
Merge "Remove dependencies on the package installer's package name" into mnc-dev
2015-07-29 17:54:23 +00:00
Sailesh Nepal
6b96de8dae
Merge "Default permissions for sim call manager" into mnc-dev
2015-07-29 17:39:37 +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
Svet Ganov
f1b7f20bb8
Remove dependencies on the package installer's package name
...
bug:22700053
Change-Id: I8540eb8577fbec84e1a67e31e1c31ba654c828a4
2015-07-29 08:33:46 -07:00
Sailesh Nepal
cf85562bc9
Default permissions for sim call manager
...
This CL adds the following permissions by default to the
SIM call manager:
- microphone
- phone
BUG: 22790160
Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f
2015-07-28 22:16:25 -07:00
Dianne Hackborn
bfdaab5fda
am 578d21fd: am e319841d: am 05e4e78d: am 1b391d64: am b492ced8: Merge "Fix issue #22802782 : APR: NPE in package manager with bad intent data" into mnc-dev
...
* commit '578d21fddc2e15441d3404e6ee5c5813d95165d6':
Fix issue #22802782 : APR: NPE in package manager with bad intent data
2015-07-29 02:31:14 +00:00
Dianne Hackborn
578d21fddc
am e319841d: am 05e4e78d: am 1b391d64: am b492ced8: Merge "Fix issue #22802782 : APR: NPE in package manager with bad intent data" into mnc-dev
...
* commit 'e319841da95a22152bfc4c519a2ab99478b7f68c':
Fix issue #22802782 : APR: NPE in package manager with bad intent data
2015-07-29 02:12:17 +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
Dianne Hackborn
9dc6c61a80
Fix issue #22802782 : APR: NPE in package manager with bad intent data
...
If they pass in a null data for the intent matching, don't throw up
on it, just consider it to not match.
Change-Id: I30b6af49989eb8b5c2e585ce5d96416f0daff3a8
2015-07-28 17:30:59 -07:00
Jeff Sharkey
f3230a7e69
am 43b379e7: am 43ff3afe: am 4c864be1: am 35f4b6a2: am 8be305dd: Merge "Also check app-ops on path-permissions." into mnc-dev
...
* commit '43b379e72be58fca50af64092f5c99463d76d65b':
Also check app-ops on path-permissions.
2015-07-25 16:48:14 +00:00
Jeff Sharkey
43b379e72b
am 43ff3afe: am 4c864be1: am 35f4b6a2: am 8be305dd: Merge "Also check app-ops on path-permissions." into mnc-dev
...
* commit '43ff3afe1371cc8ec56754a1c06e7ed7573b770b':
Also check app-ops on path-permissions.
2015-07-25 16:36:43 +00:00
Jeff Sharkey
0e621c3921
Also check app-ops on path-permissions.
...
Any place that we check permissions we also need to check any
app-ops associated with those permissions. In the case of providers
with both <provider> and <path-permission> permissions, track and
report the strongest app-ops denial.
Bug: 22718722
Change-Id: I45e62de39b04d16d071558ad980b701667cfcb9a
2015-07-24 15:16:11 -07:00
Tor Norbye
585307a36c
Merge "Annotate Intent and ContentResolver params with @RequiresPermission"
2015-07-24 18:23:01 +00:00
Jim Miller
225c8f9913
am 5703cd54: am 72d9a4df: am 56e1be70: am ecfbd588: am abd35bfc: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
...
* commit '5703cd5448e0f7efb0a164ca971b6ca0cc117173':
Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 05:17:10 +00:00
Svetoslav Ganov
5cdca2a812
am cb731204: am ce4668b6: am 3fce45b6: am 54f1db79: am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev
...
* commit 'cb731204c47034b6ce3e6a96b127fafc322a3625':
Reset permissions and app links when clearing app preferences - framework
2015-07-24 05:15:36 +00:00
Jim Miller
5703cd5448
am 72d9a4df: am 56e1be70: am ecfbd588: am abd35bfc: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
...
* commit '72d9a4dfc70973f83a5d6d005dac7f83e1d5640b':
Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 04:07:27 +00:00
Svetoslav Ganov
cb731204c4
am ce4668b6: am 3fce45b6: am 54f1db79: am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev
...
* commit 'ce4668b6be8f66625fcea4331baf5cc8e7d6dee1':
Reset permissions and app links when clearing app preferences - framework
2015-07-24 04:06:03 +00:00